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/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: translateModel(MEV.Test.TestCylinderUnitOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitOnOff") translateModel(MEV.Test.TestCylinderUnitOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 195.6 kB / 16.79 MB, free: 6.809 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.36/1.36, allocations: 205.1 MB / 222.6 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008364/0.008364, allocations: 1.935 MB / 271.9 MB, free: 3.555 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.001405/0.001405, allocations: 68.5 kB / 329.8 MB, free: 33.28 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07329/0.07471, allocations: 47.15 MB / 376.9 MB, free: 2.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.004794/0.07954, allocations: 3.996 MB / 380.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.08113, allocations: 0.9516 MB / 381.9 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.08133, allocations: 8 kB / 381.9 MB, free: 13.1 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.08154, allocations: 47.61 kB / 381.9 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002641/0.08181, allocations: 123 kB / 382.1 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.08212, allocations: 107.8 kB / 382.2 MB, free: 12.83 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004476/0.08258, allocations: 497.7 kB / 382.7 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002578/0.08284, allocations: 128.4 kB / 382.8 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.08306, allocations: 171.2 kB / 383 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.08329, allocations: 195 kB / 383.1 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.97e-05/0.08335, allocations: 24 kB / 383.2 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.08346, allocations: 28 kB / 383.2 MB, free: 11.8 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.838e-05/0.08353, allocations: 71.69 kB / 383.3 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.08375, allocations: 210.9 kB / 383.5 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.08409, allocations: 351.2 kB / 383.8 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.08411, allocations: 0 / 383.8 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.08411, allocations: 0 / 383.8 MB, free: 11.18 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.08413, allocations: 0 / 383.8 MB, free: 11.18 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001338/0.08547, allocations: 0.7401 MB / 384.6 MB, free: 10.38 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.08551, allocations: 12.02 kB / 384.6 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.686e-05/0.0856, allocations: 44.47 kB / 384.6 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.08596, allocations: 311.4 kB / 384.9 MB, free: 9.98 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.086, allocations: 25.03 kB / 384.9 MB, free: 9.957 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.759e-05/0.08606, allocations: 35.94 kB / 385 MB, free: 9.922 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005984/0.08666, allocations: 294 kB / 385.3 MB, free: 9.625 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.0867, allocations: 3.906 kB / 385.3 MB, free: 9.621 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.08674, allocations: 23.92 kB / 385.3 MB, free: 9.598 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.08675, allocations: 8 kB / 385.3 MB, free: 9.59 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000567/0.08733, allocations: 238.4 kB / 385.5 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.08884, allocations: 0.9324 MB / 386.5 MB, free: 8.375 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005747/0.08943, allocations: 263.2 kB / 386.7 MB, free: 8.109 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.0897, allocations: 121.3 kB / 386.8 MB, free: 7.988 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.08974, allocations: 4.234 kB / 386.8 MB, free: 7.984 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000403/0.09015, allocations: 187.4 kB / 387 MB, free: 7.789 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.823e-06/0.09016, allocations: 0 / 387 MB, free: 7.789 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.002522/0.09269, allocations: 1.227 MB / 388.2 MB, free: 6.473 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.09274, allocations: 63.39 kB / 388.3 MB, free: 6.398 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.09308, allocations: 300.6 kB / 388.6 MB, free: 6.098 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.09312, allocations: 29.7 kB / 388.6 MB, free: 6.062 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.09326, allocations: 196.5 kB / 388.8 MB, free: 5.867 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.664e-05/0.09336, allocations: 114.4 kB / 388.9 MB, free: 5.754 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.09348, allocations: 78.06 kB / 389 MB, free: 5.672 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.09363, allocations: 342.8 kB / 389.3 MB, free: 5.328 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.0939, allocations: 110.4 kB / 389.5 MB, free: 5.219 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.09421, allocations: 153.6 kB / 389.6 MB, free: 5.059 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005239/0.09474, allocations: 281.8 kB / 389.9 MB, free: 4.766 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.09475, allocations: 0 / 389.9 MB, free: 4.766 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007233/0.09548, allocations: 389.7 kB / 390.3 MB, free: 4.375 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.09553, allocations: 33.7 kB / 390.3 MB, free: 4.336 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.09554, allocations: 0 / 390.3 MB, free: 4.336 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.09556, allocations: 8.062 kB / 390.3 MB, free: 4.328 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.09592, allocations: 71.89 kB / 390.4 MB, free: 4.258 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.09594, allocations: 4 kB / 390.4 MB, free: 4.254 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.09619, allocations: 23.98 kB / 390.4 MB, free: 4.23 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.09623, allocations: 8 kB / 390.4 MB, free: 4.223 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003544/0.09659, allocations: 224.5 kB / 390.6 MB, free: 4 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002667/0.09687, allocations: 153.1 kB / 390.8 MB, free: 3.844 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004988/0.09738, allocations: 276 kB / 391 MB, free: 3.559 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.09739, allocations: 0 / 391 MB, free: 3.559 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006692/0.09806, allocations: 374.4 kB / 391.4 MB, free: 3.18 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.0981, allocations: 37.64 kB / 391.4 MB, free: 3.137 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.09811, allocations: 0 / 391.4 MB, free: 3.137 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-06/0.09811, allocations: 0 / 391.4 MB, free: 3.137 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/0.09843, allocations: 79.83 kB / 391.5 MB, free: 3.059 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.09844, allocations: 4 kB / 391.5 MB, free: 3.055 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.09868, allocations: 19.98 kB / 391.6 MB, free: 3.035 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.09871, allocations: 15.94 kB / 391.6 MB, free: 3.02 MB / 286.1 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 (controller.on,$PRE.controller.on,opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1,$whenCondition3,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001298/0.09884, allocations: 209 kB / 391.8 MB, free: 2.809 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.0989, allocations: 39.56 kB / 391.8 MB, free: 2.77 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006788/0.09958, allocations: 332.6 kB / 392.1 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.0996, allocations: 7.984 kB / 392.1 MB, free: 2.43 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.09961, allocations: 0 / 392.1 MB, free: 2.43 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.09962, allocations: 0 / 392.1 MB, free: 2.43 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.1009, allocations: 0.878 MB / 393 MB, free: 1.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.101, allocations: 4 kB / 393 MB, free: 1.477 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003804/0.1013, allocations: 75.89 kB / 393.1 MB, free: 1.402 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1014, allocations: 8.156 kB / 393.1 MB, free: 1.395 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.1014, allocations: 15.98 kB / 393.1 MB, free: 1.379 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1014, allocations: 0 / 393.1 MB, free: 1.379 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.1014, allocations: 11.88 kB / 393.1 MB, free: 1.367 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009657/0.1024, allocations: 0.5774 MB / 393.7 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.1025, allocations: 136.7 kB / 393.8 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.1026, allocations: 11.98 kB / 393.9 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/0.1029, allocations: 19.98 kB / 393.9 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/0.103, allocations: 39.83 kB / 393.9 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.103, allocations: 16 kB / 393.9 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000211/0.1032, allocations: 215.1 kB / 394.1 MB, free: 316 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1032, allocations: 0 / 394.1 MB, free: 316 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004909/0.1037, allocations: 148 kB / 394.3 MB, free: 168 kB / 286.1 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 (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.000168/0.1039, allocations: 115.1 kB / 394.4 MB, free: 40 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009827/0.1049, allocations: 0.5427 MB / 394.9 MB, free: 15.47 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1049, allocations: 0 / 394.9 MB, free: 15.47 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000316/0.1052, allocations: 155.8 kB / 395.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.1058, allocations: 65.7 kB / 395.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.1075, allocations: 1.124 MB / 396.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.1079, allocations: 0.7962 MB / 397.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.108, allocations: 31.44 kB / 397.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.108, allocations: 4 kB / 397.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of Templates: time 0.006534/0.1146, allocations: 4.356 MB / 401.5 MB, free: 8.867 MB / 302.1 MB make -j1 -f MEV_MEV.Test.TestCylinderUnitOnOff.makefile (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 & ./MEV_MEV.Test.TestCylinderUnitOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1)