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.0008205/0.0008206, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0008778/0.0008779, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.4 MB / 222.1 MB, free: 5.906 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008062/0.008062, allocations: 1.924 MB / 272.3 MB, free: 3.645 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.0006902/0.0006902, allocations: 16 kB / 330.9 MB, free: 33.41 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08299/0.08369, allocations: 48.1 MB / 379 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003313/0.08705, allocations: 3.169 MB / 382.1 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.08826, allocations: 0.9562 MB / 383.1 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.08842, allocations: 8 kB / 383.1 MB, free: 13.1 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.451e-05/0.08851, allocations: 55.53 kB / 383.1 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.08883, allocations: 211.3 kB / 383.4 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.08908, allocations: 87.78 kB / 383.4 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004054/0.08949, allocations: 343.3 kB / 383.8 MB, free: 12.42 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.0897, allocations: 118.9 kB / 383.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.08988, allocations: 159.4 kB / 384 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.09009, allocations: 175.2 kB / 384.2 MB, free: 11.97 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/0.09013, allocations: 20 kB / 384.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-05/0.09021, allocations: 27.98 kB / 384.3 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.158e-05/0.09029, allocations: 59.75 kB / 384.3 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.993e-05/0.09039, allocations: 101.5 kB / 384.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.09072, allocations: 335.1 kB / 384.7 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.09073, allocations: 0 / 384.7 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.09074, allocations: 0 / 384.7 MB, free: 11.43 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.09075, allocations: 3.938 kB / 384.8 MB, free: 11.43 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.001215/0.09197, allocations: 0.6971 MB / 385.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.09201, allocations: 12.03 kB / 385.5 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.612e-05/0.09209, allocations: 39.53 kB / 385.5 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.09244, allocations: 306.2 kB / 385.8 MB, free: 10.28 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/0.09249, allocations: 28.66 kB / 385.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.09255, allocations: 28 kB / 385.9 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/0.09306, allocations: 290 kB / 386.1 MB, free: 9.934 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.09309, allocations: 11.98 kB / 386.1 MB, free: 9.922 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.09313, allocations: 12 kB / 386.2 MB, free: 9.91 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.09314, allocations: 11.98 kB / 386.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005311/0.09368, allocations: 242.5 kB / 386.4 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.09501, allocations: 0.9403 MB / 387.3 MB, free: 8.672 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/0.09553, allocations: 275.2 kB / 387.6 MB, free: 8.395 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.09557, allocations: 12.28 kB / 387.6 MB, free: 8.383 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003779/0.09595, allocations: 191.5 kB / 387.8 MB, free: 8.184 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/0.09596, allocations: 0 / 387.8 MB, free: 8.184 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.002257/0.09823, allocations: 1.259 MB / 389.1 MB, free: 6.836 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.0983, allocations: 63.34 kB / 389.1 MB, free: 6.762 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.09861, allocations: 304.5 kB / 389.4 MB, free: 6.461 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.09866, allocations: 37.7 kB / 389.5 MB, free: 6.418 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.09878, allocations: 188.6 kB / 389.7 MB, free: 6.23 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.817e-05/0.09888, allocations: 118.3 kB / 389.8 MB, free: 6.113 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.546e-05/0.0989, allocations: 4 kB / 389.8 MB, free: 6.109 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.09903, allocations: 346.8 kB / 390.1 MB, free: 5.762 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.09927, allocations: 108.8 kB / 390.2 MB, free: 5.652 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.09954, allocations: 149.9 kB / 390.4 MB, free: 5.496 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.0998, allocations: 147.2 kB / 390.5 MB, free: 5.348 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.09981, allocations: 0 / 390.5 MB, free: 5.348 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006425/0.1005, allocations: 387.9 kB / 390.9 MB, free: 4.957 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.1006, allocations: 307.2 kB / 391.2 MB, free: 4.633 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1006, allocations: 0 / 391.2 MB, free: 4.633 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1006, allocations: 4 kB / 391.2 MB, free: 4.629 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/0.101, allocations: 71.91 kB / 391.3 MB, free: 4.559 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.101, allocations: 11.94 kB / 391.3 MB, free: 4.547 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.1012, allocations: 31.97 kB / 391.3 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.1012, allocations: 8 kB / 391.3 MB, free: 4.508 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.1013, allocations: 4 kB / 391.3 MB, free: 4.504 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005676/0.1018, allocations: 348.7 kB / 391.7 MB, free: 4.156 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.1018, allocations: 4 kB / 391.7 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.008e-06/0.1019, allocations: 3.953 kB / 391.7 MB, free: 4.148 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.1021, allocations: 79.84 kB / 391.7 MB, free: 4.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1021, allocations: 3.984 kB / 391.7 MB, free: 4.066 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.1024, allocations: 32.05 kB / 391.8 MB, free: 4.035 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.1024, allocations: 12 kB / 391.8 MB, free: 4.023 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 ($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.0001707/0.1026, allocations: 233.1 kB / 392 MB, free: 3.785 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.1026, allocations: 39.52 kB / 392.1 MB, free: 3.746 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006321/0.1033, allocations: 344.8 kB / 392.4 MB, free: 3.402 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1033, allocations: 7.938 kB / 392.4 MB, free: 3.395 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1033, allocations: 0 / 392.4 MB, free: 3.395 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.1033, allocations: 3.984 kB / 392.4 MB, free: 3.391 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.1045, allocations: 0.8851 MB / 393.3 MB, free: 2.434 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.1045, allocations: 4 kB / 393.3 MB, free: 2.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/0.1049, allocations: 84.05 kB / 393.4 MB, free: 2.348 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.1049, allocations: 4 kB / 393.4 MB, free: 2.344 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.1049, allocations: 8 kB / 393.4 MB, free: 2.336 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1049, allocations: 0 / 393.4 MB, free: 2.336 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1049, allocations: 4 kB / 393.4 MB, free: 2.332 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008948/0.1058, allocations: 0.6521 MB / 394 MB, free: 1.613 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.106, allocations: 148.6 kB / 394.2 MB, free: 1.449 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.885e-05/0.106, allocations: 11.98 kB / 394.2 MB, free: 1.438 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.1063, allocations: 31.98 kB / 394.2 MB, free: 1.406 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.192e-05/0.1063, allocations: 31.95 kB / 394.3 MB, free: 1.375 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.1064, allocations: 11.98 kB / 394.3 MB, free: 1.363 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001926/0.1066, allocations: 215.1 kB / 394.5 MB, free: 1.152 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1066, allocations: 0 / 394.5 MB, free: 1.152 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004408/0.107, allocations: 152 kB / 394.6 MB, free: 1.004 MB / 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 (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.0001206/0.1072, allocations: 115.2 kB / 394.7 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008788/0.108, allocations: 0.5539 MB / 395.3 MB, free: 308 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1081, allocations: 4.062 kB / 395.3 MB, free: 304 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.1083, allocations: 159.8 kB / 395.5 MB, free: 144 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1087, allocations: 57.27 kB / 395.5 MB, free: 88 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.1102, allocations: 1.142 MB / 396.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.1105, allocations: 0.804 MB / 397.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001866/0.1107, allocations: 42.94 kB / 397.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/0.1108, allocations: 31.42 kB / 397.5 MB, free: 14 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1108, allocations: 4 kB / 397.5 MB, free: 14 MB / 302.1 MB Notification: Performance of Templates: time 0.006815/0.1176, allocations: 3.754 MB / 401.3 MB, free: 10.25 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: