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.001069/0.001069, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00104/0.00104, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.286/1.286, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007334/0.007334, allocations: 1.928 MB / 271.4 MB, free: 3.52 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.001515/0.001515, allocations: 68.12 kB / 329.3 MB, free: 33.16 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08867/0.0902, allocations: 47.14 MB / 376.5 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.004833/0.09508, allocations: 3.999 MB / 380.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.09666, allocations: 0.9439 MB / 381.4 MB, free: 13 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.09684, allocations: 4 kB / 381.4 MB, free: 13 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.09702, allocations: 47.61 kB / 381.5 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.09729, allocations: 119.1 kB / 381.6 MB, free: 12.83 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.09761, allocations: 111.8 kB / 381.7 MB, free: 12.72 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004528/0.09807, allocations: 0.5173 MB / 382.2 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.09832, allocations: 144.8 kB / 382.4 MB, free: 12.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.09852, allocations: 195.2 kB / 382.5 MB, free: 11.86 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.09874, allocations: 203 kB / 382.7 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.673e-05/0.0988, allocations: 40 kB / 382.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.552e-05/0.09891, allocations: 52 kB / 382.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.48e-05/0.09899, allocations: 91.67 kB / 382.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.09918, allocations: 226.8 kB / 383.1 MB, free: 11.26 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004374/0.09962, allocations: 466.5 kB / 383.6 MB, free: 10.8 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.09964, allocations: 7.984 kB / 383.6 MB, free: 10.8 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.09964, allocations: 0 / 383.6 MB, free: 10.8 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.09966, allocations: 3.938 kB / 383.6 MB, free: 10.79 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.001232/0.1009, allocations: 0.7361 MB / 384.3 MB, free: 10 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1009, allocations: 15.89 kB / 384.4 MB, free: 9.984 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.56e-05/0.101, allocations: 44.47 kB / 384.4 MB, free: 9.941 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.1014, allocations: 307.4 kB / 384.7 MB, free: 9.602 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.1014, allocations: 29.03 kB / 384.7 MB, free: 9.574 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.478e-05/0.1015, allocations: 35.94 kB / 384.8 MB, free: 9.539 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005504/0.102, allocations: 294 kB / 385.1 MB, free: 9.246 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.1021, allocations: 7.906 kB / 385.1 MB, free: 9.238 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.1021, allocations: 15.98 kB / 385.1 MB, free: 9.223 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.1021, allocations: 8 kB / 385.1 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000502/0.1026, allocations: 238.4 kB / 385.3 MB, free: 8.98 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.1041, allocations: 0.9285 MB / 386.2 MB, free: 8 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005173/0.1046, allocations: 267.2 kB / 386.5 MB, free: 7.73 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.1048, allocations: 117.3 kB / 386.6 MB, free: 7.613 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.1049, allocations: 12.16 kB / 386.6 MB, free: 7.602 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00045/0.1053, allocations: 183.5 kB / 386.8 MB, free: 7.41 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.833e-06/0.1053, allocations: 4 kB / 386.8 MB, free: 7.406 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.002334/0.1077, allocations: 1.219 MB / 388 MB, free: 6.098 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.1077, allocations: 59.41 kB / 388.1 MB, free: 6.027 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.108, allocations: 300.6 kB / 388.4 MB, free: 5.727 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.1081, allocations: 33.7 kB / 388.4 MB, free: 5.688 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.1082, allocations: 188.6 kB / 388.6 MB, free: 5.5 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.688e-05/0.1083, allocations: 126.3 kB / 388.7 MB, free: 5.375 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.1084, allocations: 66.08 kB / 388.8 MB, free: 5.305 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1085, allocations: 350.8 kB / 389.1 MB, free: 4.953 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.1088, allocations: 118.4 kB / 389.3 MB, free: 4.836 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.1091, allocations: 145.6 kB / 389.4 MB, free: 4.684 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/0.1095, allocations: 293.7 kB / 389.7 MB, free: 4.379 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1095, allocations: 0 / 389.7 MB, free: 4.379 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006394/0.1102, allocations: 385.7 kB / 390.1 MB, free: 3.992 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/0.1102, allocations: 29.7 kB / 390.1 MB, free: 3.957 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1102, allocations: 4 kB / 390.1 MB, free: 3.953 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1103, allocations: 0 / 390.1 MB, free: 3.953 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.1106, allocations: 79.95 kB / 390.2 MB, free: 3.875 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1106, allocations: 4 kB / 390.2 MB, free: 3.871 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.1109, allocations: 23.97 kB / 390.2 MB, free: 3.848 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.1109, allocations: 15.94 kB / 390.2 MB, free: 3.832 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003194/0.1112, allocations: 220.5 kB / 390.4 MB, free: 3.613 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002309/0.1115, allocations: 145.1 kB / 390.6 MB, free: 3.465 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004463/0.1119, allocations: 276 kB / 390.8 MB, free: 3.18 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.342e-06/0.1119, allocations: 0 / 390.8 MB, free: 3.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0005887/0.1125, allocations: 374.7 kB / 391.2 MB, free: 2.801 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.1126, allocations: 44.66 kB / 391.2 MB, free: 2.754 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.1126, allocations: 4 kB / 391.3 MB, free: 2.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-06/0.1126, allocations: 0 / 391.3 MB, free: 2.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.1129, allocations: 75.84 kB / 391.3 MB, free: 2.676 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.1129, allocations: 0 / 391.3 MB, free: 2.676 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.1131, allocations: 27.97 kB / 391.4 MB, free: 2.648 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.1131, allocations: 12 kB / 391.4 MB, free: 2.637 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.0001477/0.1133, allocations: 200.2 kB / 391.6 MB, free: 2.434 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.1133, allocations: 35.56 kB / 391.6 MB, free: 2.398 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006145/0.1139, allocations: 340.6 kB / 391.9 MB, free: 2.059 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.114, allocations: 7.938 kB / 391.9 MB, free: 2.051 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.114, allocations: 0 / 391.9 MB, free: 2.051 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.114, allocations: 0 / 391.9 MB, free: 2.051 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.1152, allocations: 0.8742 MB / 392.8 MB, free: 1.105 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1152, allocations: 0 / 392.8 MB, free: 1.105 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/0.1155, allocations: 83.88 kB / 392.9 MB, free: 1.023 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.1155, allocations: 4 kB / 392.9 MB, free: 1.02 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.1156, allocations: 8.156 kB / 392.9 MB, free: 1.012 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1156, allocations: 7.938 kB / 392.9 MB, free: 1.004 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1156, allocations: 7.938 kB / 392.9 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008561/0.1164, allocations: 0.5696 MB / 393.5 MB, free: 404 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.1166, allocations: 144.7 kB / 393.6 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.159e-05/0.1166, allocations: 12 kB / 393.6 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.1169, allocations: 27.97 kB / 393.7 MB, free: 200 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.707e-05/0.117, allocations: 39.92 kB / 393.7 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.117, allocations: 19.98 kB / 393.7 MB, free: 140 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002031/0.1172, allocations: 215.1 kB / 393.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1172, allocations: 0 / 393.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004487/0.1177, allocations: 152 kB / 394.1 MB, free: 15.78 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.0001372/0.1178, allocations: 107.1 kB / 394.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009465/0.1188, allocations: 0.5618 MB / 394.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/0.1188, allocations: 0 / 394.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003063/0.1191, allocations: 163.8 kB / 394.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.1196, allocations: 57.56 kB / 395 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.1212, allocations: 1.104 MB / 396.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.1216, allocations: 0.7962 MB / 396.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001964/0.1218, allocations: 46.94 kB / 396.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.086e-05/0.1219, allocations: 31.44 kB / 396.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1219, allocations: 0 / 396.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of Templates: time 0.007527/0.1294, allocations: 4.123 MB / 401.1 MB, free: 8.691 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)