Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestCylinder.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(MEV.Test.TestCylinder,fileNamePrefix="MEV_MEV_Test_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinder,fileNamePrefix="MEV_MEV_Test_TestCylinder",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.0007772/0.0007774, allocations: 95.92 kB / 15.36 MB, free: 0.7344 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.00474/0.00474, allocations: 170.1 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.218/1.218, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007291/0.007291, allocations: 1.924 MB / 272.7 MB, free: 3.293 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004605/0.0004606, allocations: 12.22 kB / 331.6 MB, free: 32.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06214/0.06261, allocations: 48.1 MB / 379.7 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.002513/0.06517, allocations: 2.446 MB / 382.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009483/0.06614, allocations: 0.6166 MB / 382.8 MB, free: 13.65 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.06629, allocations: 0 / 382.8 MB, free: 13.65 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.0664, allocations: 27.77 kB / 382.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.06656, allocations: 59.53 kB / 382.8 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.06669, allocations: 39.95 kB / 382.9 MB, free: 13.53 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.06694, allocations: 230.8 kB / 383.1 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.06707, allocations: 48.78 kB / 383.2 MB, free: 13.26 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.06717, allocations: 79.61 kB / 383.2 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.06731, allocations: 75.62 kB / 383.3 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.06734, allocations: 8 kB / 383.3 MB, free: 13.1 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.568e-05/0.06737, allocations: 8 kB / 383.3 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.976e-05/0.06741, allocations: 35.84 kB / 383.4 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.753e-05/0.06751, allocations: 117.1 kB / 383.5 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.06769, allocations: 183.2 kB / 383.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.0677, allocations: 0 / 383.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.0677, allocations: 0 / 383.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.06771, allocations: 3.938 kB / 383.7 MB, free: 12.75 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006028/0.06832, allocations: 483 kB / 384.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.06836, allocations: 8.031 kB / 384.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/0.06841, allocations: 50.73 kB / 384.2 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.06846, allocations: 24.66 kB / 384.2 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.06867, allocations: 216 kB / 384.4 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.06869, allocations: 20.7 kB / 384.4 MB, free: 11.87 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.06872, allocations: 15.94 kB / 384.5 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.06903, allocations: 160.2 kB / 384.6 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.06905, allocations: 0 / 384.6 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.06907, allocations: 4 kB / 384.6 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.06908, allocations: 4 kB / 384.6 MB, free: 11.68 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002655/0.06935, allocations: 136.4 kB / 384.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008139/0.07017, allocations: 0.5467 MB / 385.3 MB, free: 10.95 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.07038, allocations: 102.5 kB / 385.4 MB, free: 10.84 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.07051, allocations: 60.83 kB / 385.5 MB, free: 10.78 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.07053, allocations: 4 kB / 385.5 MB, free: 10.78 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.07056, allocations: 30.56 kB / 385.5 MB, free: 10.74 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.07057, allocations: 0 / 385.5 MB, free: 10.74 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001696/0.07227, allocations: 0.6525 MB / 386.1 MB, free: 10.04 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.07232, allocations: 55.41 kB / 386.2 MB, free: 9.969 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.07251, allocations: 194.8 kB / 386.4 MB, free: 9.77 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.07253, allocations: 25.7 kB / 386.4 MB, free: 9.738 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.07264, allocations: 132.3 kB / 386.5 MB, free: 9.605 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.07269, allocations: 59.11 kB / 386.6 MB, free: 9.547 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.07273, allocations: 25.64 kB / 386.6 MB, free: 9.516 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.07285, allocations: 330.8 kB / 387 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.07297, allocations: 47.97 kB / 387 MB, free: 9.137 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.07311, allocations: 73.69 kB / 387.1 MB, free: 9.059 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.07336, allocations: 137.9 kB / 387.2 MB, free: 8.918 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.07336, allocations: 0 / 387.2 MB, free: 8.918 MB / 286.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003145/0.07368, allocations: 181.4 kB / 387.4 MB, free: 8.734 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.0737, allocations: 4 kB / 387.4 MB, free: 8.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.07371, allocations: 0 / 387.4 MB, free: 8.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.07373, allocations: 7.938 kB / 387.4 MB, free: 8.723 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.07392, allocations: 43.91 kB / 387.4 MB, free: 8.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.07393, allocations: 4 kB / 387.4 MB, free: 8.676 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.854e-05/0.07404, allocations: 11.98 kB / 387.5 MB, free: 8.664 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.07405, allocations: 4 kB / 387.5 MB, free: 8.66 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 9.74e-05/0.07416, allocations: 129.8 kB / 387.6 MB, free: 8.523 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.0742, allocations: 19.81 kB / 387.6 MB, free: 8.504 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.457e-05/0.07426, allocations: 37.73 kB / 387.6 MB, free: 8.465 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.07427, allocations: 0 / 387.6 MB, free: 8.465 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.07428, allocations: 0 / 387.6 MB, free: 8.465 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.07428, allocations: 0 / 387.6 MB, free: 8.465 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007293/0.07502, allocations: 0.5985 MB / 388.2 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.07503, allocations: 256 / 388.2 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.07522, allocations: 51.91 kB / 388.3 MB, free: 7.734 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.07523, allocations: 0 / 388.3 MB, free: 7.734 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.07525, allocations: 8 kB / 388.3 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.07526, allocations: 7.984 kB / 388.3 MB, free: 7.719 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.07526, allocations: 4 kB / 388.3 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004805/0.07575, allocations: 382 kB / 388.7 MB, free: 7.301 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.858e-05/0.07584, allocations: 116.8 kB / 388.8 MB, free: 7.168 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.07587, allocations: 8 kB / 388.8 MB, free: 7.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.07604, allocations: 19.98 kB / 388.8 MB, free: 7.141 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.07609, allocations: 23.92 kB / 388.8 MB, free: 7.117 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.07611, allocations: 4 kB / 388.8 MB, free: 7.113 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.921e-05/0.07621, allocations: 144.6 kB / 389 MB, free: 6.973 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07622, allocations: 0 / 389 MB, free: 6.973 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.07649, allocations: 44 kB / 389 MB, free: 6.93 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 (cylinder.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0007034/0.0772, allocations: 0.9084 MB / 389.9 MB, free: 5.973 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002852/0.0775, allocations: 139.8 kB / 390.1 MB, free: 5.836 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.07751, allocations: 0 / 390.1 MB, free: 5.836 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.07765, allocations: 71.84 kB / 390.1 MB, free: 5.766 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.07806, allocations: 36.77 kB / 390.2 MB, free: 5.73 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.08038, allocations: 2.349 MB / 392.5 MB, free: 3.246 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.08065, allocations: 0.7322 MB / 393.3 MB, free: 2.488 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.289e-05/0.08074, allocations: 17.41 kB / 393.3 MB, free: 2.469 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.249e-05/0.08083, allocations: 55.42 kB / 393.3 MB, free: 2.418 MB / 286.1 MB Notification: Performance of SimCode: time 1.603e-06/0.08084, allocations: 0 / 393.3 MB, free: 2.418 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6413/0.7221, allocations: 3.15 MB / 396.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.7223, allocations: 151.2 kB / 396.6 MB, free: 15 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/2.417, allocations: 0 / 396.6 MB, free: 15 MB / 302.1 MB (rm -f MEV_MEV.Test.TestCylinder.pipe ; mkfifo MEV_MEV.Test.TestCylinder.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinder.pipe >> ../files/MEV_MEV.Test.TestCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestCylinder_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinder.fmu > MEV_MEV.Test.TestCylinder.pipe 2>&1)