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.001056/0.001061, allocations: 98.27 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.008434/0.008434, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.551/1.551, allocations: 205.4 MB / 222.5 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008937/0.008937, allocations: 1.912 MB / 272.7 MB, free: 3.301 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.0005591/0.0005593, allocations: 12 kB / 331.5 MB, free: 33.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09441/0.09499, allocations: 48.11 MB / 379.6 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.004227/0.09926, allocations: 3.614 MB / 383.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.1015, allocations: 0.9439 MB / 384.2 MB, free: 12.26 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004926/0.102, allocations: 4 kB / 384.2 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.1023, allocations: 43.66 kB / 384.2 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005899/0.1029, allocations: 123 kB / 384.3 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.1034, allocations: 111.8 kB / 384.4 MB, free: 11.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007465/0.1042, allocations: 497.7 kB / 384.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002899/0.1045, allocations: 128.4 kB / 385 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003295/0.1048, allocations: 163.2 kB / 385.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003801/0.1052, allocations: 183.1 kB / 385.4 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.218e-05/0.1053, allocations: 23.94 kB / 385.4 MB, free: 11 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.1055, allocations: 20 kB / 385.4 MB, free: 10.98 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.185e-05/0.1055, allocations: 67.69 kB / 385.5 MB, free: 10.91 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00028/0.1058, allocations: 220.6 kB / 385.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000505/0.1064, allocations: 438.3 kB / 386.1 MB, free: 10.26 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1064, allocations: 4 kB / 386.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1064, allocations: 0 / 386.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.1064, allocations: 0 / 386.1 MB, free: 10.25 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.001494/0.1079, allocations: 0.6817 MB / 386.8 MB, free: 9.516 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.108, allocations: 8.031 kB / 386.8 MB, free: 9.508 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.1081, allocations: 52.39 kB / 386.9 MB, free: 9.457 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005954/0.1087, allocations: 311.3 kB / 387.2 MB, free: 9.113 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.1088, allocations: 25.03 kB / 387.2 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.251e-05/0.1088, allocations: 39.94 kB / 387.2 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000698/0.1095, allocations: 294 kB / 387.5 MB, free: 8.754 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.1096, allocations: 8 kB / 387.5 MB, free: 8.746 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.943e-05/0.1096, allocations: 8 kB / 387.5 MB, free: 8.738 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.1096, allocations: 8 kB / 387.6 MB, free: 8.73 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005921/0.1102, allocations: 254.4 kB / 387.8 MB, free: 8.484 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.1122, allocations: 0.9402 MB / 388.7 MB, free: 7.492 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007081/0.1129, allocations: 271.2 kB / 389 MB, free: 7.219 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002856/0.1132, allocations: 125.3 kB / 389.1 MB, free: 7.094 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.1133, allocations: 4.234 kB / 389.1 MB, free: 7.09 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005227/0.1138, allocations: 191.3 kB / 389.3 MB, free: 6.891 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 6.532e-06/0.1138, allocations: 4 kB / 389.3 MB, free: 6.887 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.002924/0.1168, allocations: 1.262 MB / 390.6 MB, free: 5.535 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.1168, allocations: 55.41 kB / 390.6 MB, free: 5.469 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.1172, allocations: 304.6 kB / 390.9 MB, free: 5.164 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.1173, allocations: 29.7 kB / 391 MB, free: 5.129 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.1175, allocations: 192.6 kB / 391.2 MB, free: 4.938 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.1176, allocations: 118.4 kB / 391.3 MB, free: 4.82 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.277e-05/0.1176, allocations: 45.69 kB / 391.3 MB, free: 4.77 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1178, allocations: 338.8 kB / 391.6 MB, free: 4.43 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.1181, allocations: 112.8 kB / 391.8 MB, free: 4.32 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.1184, allocations: 157.6 kB / 391.9 MB, free: 4.156 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006014/0.119, allocations: 289.9 kB / 392.2 MB, free: 3.859 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.119, allocations: 4 kB / 392.2 MB, free: 3.855 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008341/0.1199, allocations: 402.7 kB / 392.6 MB, free: 3.449 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.12, allocations: 140.5 kB / 392.7 MB, free: 3.293 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.12, allocations: 7.922 kB / 392.7 MB, free: 3.285 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.12, allocations: 0 / 392.7 MB, free: 3.285 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.1204, allocations: 75.91 kB / 392.8 MB, free: 3.211 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1204, allocations: 0 / 392.8 MB, free: 3.211 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.1207, allocations: 35.97 kB / 392.8 MB, free: 3.176 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.1207, allocations: 12 kB / 392.9 MB, free: 3.164 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1208, allocations: 6.812 kB / 392.9 MB, free: 3.16 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006875/0.1214, allocations: 348.9 kB / 393.2 MB, free: 2.812 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1215, allocations: 0 / 393.2 MB, free: 2.812 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.1215, allocations: 12 kB / 393.2 MB, free: 2.801 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.1218, allocations: 71.91 kB / 393.3 MB, free: 2.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.1218, allocations: 7.984 kB / 393.3 MB, free: 2.723 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.1221, allocations: 27.98 kB / 393.3 MB, free: 2.695 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.1221, allocations: 11.94 kB / 393.3 MB, free: 2.684 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.0002394/0.1224, allocations: 241.1 kB / 393.6 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.577e-05/0.1224, allocations: 39.55 kB / 393.6 MB, free: 2.398 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007744/0.1232, allocations: 344.6 kB / 393.9 MB, free: 2.055 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.1232, allocations: 4 kB / 393.9 MB, free: 2.051 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1232, allocations: 4 kB / 393.9 MB, free: 2.047 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.1233, allocations: 7.984 kB / 394 MB, free: 2.039 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.1248, allocations: 0.8858 MB / 394.8 MB, free: 1.082 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.1248, allocations: 3.984 kB / 394.8 MB, free: 1.078 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/0.1252, allocations: 83.89 kB / 394.9 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.1252, allocations: 0 / 394.9 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.1253, allocations: 8 kB / 394.9 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-06/0.1253, allocations: 7.938 kB / 394.9 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.385e-06/0.1253, allocations: 8.141 kB / 395 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.1264, allocations: 0.593 MB / 395.5 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002085/0.1266, allocations: 144.6 kB / 395.7 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.74e-05/0.1267, allocations: 11.98 kB / 395.7 MB, free: 176 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/0.127, allocations: 31.98 kB / 395.7 MB, free: 144 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.1271, allocations: 31.89 kB / 395.8 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.1271, allocations: 12 kB / 395.8 MB, free: 100 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002909/0.1274, allocations: 219.1 kB / 396 MB, free: 15.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1274, allocations: 0 / 396 MB, free: 15.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006232/0.1281, allocations: 148 kB / 396.1 MB, free: 15.73 MB / 302.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.0002257/0.1283, allocations: 123 kB / 396.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.1295, allocations: 0.5584 MB / 396.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1295, allocations: 3.938 kB / 396.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003472/0.1298, allocations: 159.8 kB / 397 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006167/0.1305, allocations: 65.44 kB / 397 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.1327, allocations: 1.182 MB / 398.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007125/0.1334, allocations: 0.7923 MB / 399 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002662/0.1337, allocations: 46.94 kB / 399.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.791e-05/0.1338, allocations: 31.38 kB / 399.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1338, allocations: 0 / 399.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of Templates: time 0.01025/0.1441, allocations: 3.894 MB / 403 MB, free: 8.793 MB / 302.1 MB make -j1 -f MEV_MEV.Test.TestCylinderUnitOnOff.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: