Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestRandomRealSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestRandomRealSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 110.7 kB / 16.46 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 189.5 kB / 17.39 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.0645/0.0645, allocations: 12.05 MB / 303.3 MB, free: 3.121 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 67.89 kB / 419.6 MB, free: 17.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08025/0.08202, allocations: 52.32 MB / 471.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.003577/0.08563, allocations: 2.234 MB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003106/0.08596, allocations: 143.5 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.289e-05/0.08604, allocations: 7.875 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.0862, allocations: 19.86 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.168e-05/0.08629, allocations: 7.938 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.08652, allocations: 59.8 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.08668, allocations: 63.84 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.971e-05/0.08679, allocations: 23.97 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.045e-05/0.08685, allocations: 23.88 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.026e-05/0.08692, allocations: 39.83 kB / 474.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.08695, allocations: 4 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-05/0.08703, allocations: 24 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.655e-05/0.08707, allocations: 15.92 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.08713, allocations: 27.86 kB / 474.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.08732, allocations: 99.8 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.08733, allocations: 0 / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.08734, allocations: 0 / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.08735, allocations: 0 / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004717/0.08783, allocations: 434.5 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.08788, allocations: 12.03 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.014e-05/0.08792, allocations: 38.73 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.08796, allocations: 16.84 kB / 475.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.08822, allocations: 196.2 kB / 475.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.08824, allocations: 8.375 kB / 475.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.08826, allocations: 4.375 kB / 475.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.08858, allocations: 168.8 kB / 475.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.0886, allocations: 3.938 kB / 475.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.08862, allocations: 4 kB / 475.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.08864, allocations: 3.984 kB / 475.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.382e-05/0.08872, allocations: 27.94 kB / 475.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.08909, allocations: 285.8 kB / 475.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.08935, allocations: 162.2 kB / 476 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.295e-05/0.08944, allocations: 37.78 kB / 476 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.08956, allocations: 85.09 kB / 476.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.0896, allocations: 38.55 kB / 476.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.08961, allocations: 4 kB / 476.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003451/0.08996, allocations: 173 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.337e-05/0.09006, allocations: 132.5 kB / 476.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.09019, allocations: 133.7 kB / 476.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.09021, allocations: 25.7 kB / 476.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.09028, allocations: 96.14 kB / 476.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.09031, allocations: 15.89 kB / 476.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/0.09037, allocations: 25.75 kB / 476.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.09051, allocations: 322.8 kB / 477.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.56e-05/0.09057, allocations: 12 kB / 477.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.637e-05/0.09066, allocations: 61.94 kB / 477.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.09083, allocations: 184.8 kB / 477.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.09084, allocations: 0 / 477.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002191/0.09107, allocations: 161 kB / 477.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.763e-05/0.09112, allocations: 59.41 kB / 477.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.09113, allocations: 4 kB / 477.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.09116, allocations: 3.984 kB / 477.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.225e-05/0.09121, allocations: 11.94 kB / 477.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.09123, allocations: 4 kB / 477.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.593e-05/0.09128, allocations: 15.89 kB / 477.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.09129, allocations: 4 kB / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (synchronizeRealtime.initialized) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.09144, allocations: 185.3 kB / 477.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.09156, allocations: 69.78 kB / 477.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.0916, allocations: 11.95 kB / 477.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.09161, allocations: 96 / 477.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.09162, allocations: 7.938 kB / 477.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.09163, allocations: 0 / 477.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.09183, allocations: 181.6 kB / 478 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.09184, allocations: 0 / 478 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.468e-05/0.09188, allocations: 8 kB / 478 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.09189, allocations: 0 / 478 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.0919, allocations: 0 / 478 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.09191, allocations: 8 kB / 478 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.09192, allocations: 320 / 478 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.0922, allocations: 267.6 kB / 478.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.09227, allocations: 85.06 kB / 478.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.09229, allocations: 8 kB / 478.4 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.831e-05/0.09235, allocations: 0 / 478.4 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.09238, allocations: 4 kB / 478.4 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.0924, allocations: 8 kB / 478.4 MB, free: 6.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.011e-05/0.09246, allocations: 95.27 kB / 478.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09247, allocations: 0 / 478.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.09274, allocations: 27.92 kB / 478.5 MB, free: 6.172 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (synchronizeRealtime.initialized) * Number of discrete states: 1 (synchronizeRealtime.initialized) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001078/0.09382, allocations: 0.9363 MB / 479.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.09408, allocations: 174.7 kB / 479.6 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.0941, allocations: 0 / 479.6 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.325e-05/0.09419, allocations: 126.8 kB / 479.8 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.09448, allocations: 34.95 kB / 479.8 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.09608, allocations: 1.545 MB / 481.3 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.09642, allocations: 0.6962 MB / 482 MB, free: 2.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.607e-05/0.09649, allocations: 11.98 kB / 482 MB, free: 2.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.09654, allocations: 19.42 kB / 482.1 MB, free: 2.449 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.09654, allocations: 0 / 482.1 MB, free: 2.449 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.1197, allocations: 2.526 MB / 484.6 MB, free: 68 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/7.99, allocations: 11.64 kB / 484.6 MB, free: 56 kB / 350.1 MB (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.sim & python3 -m fmpy simulate --output-file Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestRandomRealSource.fmu > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe 2>&1)