Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestCylinderUnitOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(MEV.Test.TestCylinderUnitOnOff,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinderUnitOnOff,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitOnOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.008622/0.008622, allocations: 171.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01388/0.01388, allocations: 1.932 MB / 17.78 MB, free: 4.168 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.4 MB / 224.4 MB, free: 11.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00107/0.001069, allocations: 90.19 kB / 273.3 MB, free: 11.01 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003413, allocations: 8.219 kB / 331.9 MB, free: 10.8 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1027, allocations: 48.09 MB / 380 MB, free: 10.62 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3562/0.459, allocations: 79.95 MB / 460 MB, free: 7.516 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/0.4593, allocations: 71.97 kB / 460 MB, free: 7.445 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo:395:7-396:74:writable] Warning: connect(inlet, inlet) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.01972/0.4791, allocations: 6.879 MB / 466.9 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.688e-06/0.4791, allocations: 0 / 466.9 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.558e-05/0.4791, allocations: 16.77 kB / 466.9 MB, free: 0.543 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001283/0.4804, allocations: 0.6809 MB / 467.6 MB, free: 15.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.4805, allocations: 8.031 kB / 467.6 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.828e-05/0.4806, allocations: 70.53 kB / 467.7 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.403e-05/0.4807, allocations: 47.53 kB / 467.7 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.4811, allocations: 306.1 kB / 468 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.4812, allocations: 28.66 kB / 468.1 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-05/0.4812, allocations: 28 kB / 468.1 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.4818, allocations: 290 kB / 468.4 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.4819, allocations: 4 kB / 468.4 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.4819, allocations: 12 kB / 468.4 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4819, allocations: 15.98 kB / 468.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005392/0.4825, allocations: 246.4 kB / 468.7 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.4841, allocations: 0.9559 MB / 469.6 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005913/0.4847, allocations: 271.2 kB / 469.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.4847, allocations: 8.109 kB / 469.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004332/0.4852, allocations: 195.4 kB / 470.1 MB, free: 13.22 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 2.064e-06/0.4852, allocations: 0 / 470.1 MB, free: 13.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.002475/0.4877, allocations: 1.255 MB / 471.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.4877, allocations: 63.33 kB / 471.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.488, allocations: 259.8 kB / 471.6 MB, free: 11.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.4881, allocations: 33.7 kB / 471.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.4882, allocations: 192.2 kB / 471.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.428e-05/0.4883, allocations: 118.3 kB / 472 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/0.4884, allocations: 4 kB / 472 MB, free: 11.19 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4885, allocations: 346.8 kB / 472.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.4888, allocations: 112.8 kB / 472.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.4891, allocations: 151.4 kB / 472.6 MB, free: 10.58 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/0.4894, allocations: 151.1 kB / 472.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4894, allocations: 0 / 472.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006866/0.4901, allocations: 383.9 kB / 473.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.4902, allocations: 311.8 kB / 473.4 MB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.4902, allocations: 0 / 473.4 MB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.4903, allocations: 0 / 473.4 MB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.4906, allocations: 75.91 kB / 473.5 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.4906, allocations: 3.984 kB / 473.5 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.4909, allocations: 31.98 kB / 473.5 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.4909, allocations: 12 kB / 473.5 MB, free: 9.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/0.4909, allocations: 4 kB / 473.5 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006202/0.4916, allocations: 341 kB / 473.9 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4916, allocations: 8 kB / 473.9 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.589e-06/0.4916, allocations: 3.953 kB / 473.9 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.4919, allocations: 79.89 kB / 474 MB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.4919, allocations: 0 / 474 MB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.4921, allocations: 32.05 kB / 474 MB, free: 9.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/0.4922, allocations: 15.94 kB / 474 MB, free: 9.109 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition3,$whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count,$PRE.controller.on,controller.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002241/0.4924, allocations: 237 kB / 474.2 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/0.4925, allocations: 35.62 kB / 474.3 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006785/0.4932, allocations: 344.1 kB / 474.6 MB, free: 8.488 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.4932, allocations: 7.953 kB / 474.6 MB, free: 8.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4932, allocations: 0 / 474.6 MB, free: 8.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4932, allocations: 0 / 474.6 MB, free: 8.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.4945, allocations: 0.8965 MB / 475.5 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4945, allocations: 3.938 kB / 475.5 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003846/0.4949, allocations: 84.05 kB / 475.6 MB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.4949, allocations: 7.938 kB / 475.6 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.495, allocations: 11.98 kB / 475.6 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.495, allocations: 4 kB / 475.6 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.495, allocations: 0 / 475.6 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.496, allocations: 0.6451 MB / 476.3 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.4962, allocations: 144.6 kB / 476.4 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.555e-05/0.4962, allocations: 11.98 kB / 476.4 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.4965, allocations: 31.98 kB / 476.4 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.697e-05/0.4966, allocations: 35.94 kB / 476.5 MB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.4967, allocations: 15.94 kB / 476.5 MB, free: 6.438 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002405/0.4969, allocations: 207.1 kB / 476.7 MB, free: 6.234 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4969, allocations: 0 / 476.7 MB, free: 6.234 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005516/0.4975, allocations: 159.9 kB / 476.9 MB, free: 6.078 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 6 ($whenCondition2,$whenCondition3,$whenCondition1,opening.T_start,opening.count,controller.on) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001562/0.499, allocations: 1.553 MB / 478.4 MB, free: 4.465 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.5001, allocations: 0.5578 MB / 479 MB, free: 3.883 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.5001, allocations: 0 / 479 MB, free: 3.883 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003701/0.5005, allocations: 159.8 kB / 479.1 MB, free: 3.727 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.5009, allocations: 56.84 kB / 479.2 MB, free: 3.672 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004436/0.5054, allocations: 2.611 MB / 481.8 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.5058, allocations: 0.8079 MB / 482.6 MB, free: 152 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000225/0.5061, allocations: 46.88 kB / 482.6 MB, free: 104 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.5063, allocations: 111.4 kB / 482.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5063, allocations: 0 / 482.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.5274, allocations: 6.844 MB / 489.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/0.5277, allocations: 153.1 kB / 489.7 MB, free: 8.906 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.226/2.753, allocations: 0 / 489.7 MB, free: 8.906 MB / 362.7 MB (rm -f MEV_MEV.Test.TestCylinderUnitOnOff.pipe ; mkfifo MEV_MEV.Test.TestCylinderUnitOnOff.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinderUnitOnOff.pipe >> ../files/MEV_MEV.Test.TestCylinderUnitOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestCylinderUnitOnOff_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinderUnitOnOff.fmu > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1)