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.0008174/0.0008174, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0007779/0.0007779, allocations: 172.7 kB / 15.95 MB, free: 208 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.652/1.652, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01413/0.01413, allocations: 1.924 MB / 272.3 MB, free: 3.406 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.0005684/0.0005684, allocations: 15.98 kB / 330.9 MB, free: 33.36 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1248, allocations: 48.1 MB / 379 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.004792/0.1296, allocations: 3.433 MB / 382.4 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002807/0.1325, allocations: 0.9208 MB / 383.3 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007407/0.1333, allocations: 4 kB / 383.3 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.1336, allocations: 51.53 kB / 383.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006633/0.1343, allocations: 178.5 kB / 383.6 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000471/0.1348, allocations: 83.84 kB / 383.7 MB, free: 12.51 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000504/0.1353, allocations: 477.8 kB / 384.1 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003057/0.1356, allocations: 126.9 kB / 384.2 MB, free: 11.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.1359, allocations: 155.3 kB / 384.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.1361, allocations: 171.2 kB / 384.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.793e-05/0.1362, allocations: 20 kB / 384.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.433e-05/0.1363, allocations: 28 kB / 384.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.1364, allocations: 63.69 kB / 384.7 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.1365, allocations: 101.5 kB / 384.8 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.1369, allocations: 339.1 kB / 385.1 MB, free: 11.05 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.137, allocations: 0 / 385.1 MB, free: 11.05 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.137, allocations: 0 / 385.1 MB, free: 11.05 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.137, allocations: 0 / 385.1 MB, free: 11.05 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.001363/0.1384, allocations: 0.6815 MB / 385.8 MB, free: 10.31 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1384, allocations: 12.03 kB / 385.8 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.715e-05/0.1385, allocations: 39.53 kB / 385.8 MB, free: 10.26 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.1389, allocations: 310.2 kB / 386.1 MB, free: 9.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.759e-05/0.139, allocations: 32.58 kB / 386.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.497e-05/0.1391, allocations: 35.94 kB / 386.2 MB, free: 9.844 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006313/0.1397, allocations: 294 kB / 386.5 MB, free: 9.547 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.1397, allocations: 0 / 386.5 MB, free: 9.547 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.182e-05/0.1398, allocations: 16 kB / 386.5 MB, free: 9.531 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.1398, allocations: 8 kB / 386.5 MB, free: 9.523 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005605/0.1404, allocations: 246.5 kB / 386.8 MB, free: 9.285 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.142, allocations: 0.9364 MB / 387.7 MB, free: 8.297 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005824/0.1426, allocations: 286.1 kB / 388 MB, free: 8.012 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.1429, allocations: 125.3 kB / 388.1 MB, free: 7.887 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.1429, allocations: 240 / 388.1 MB, free: 7.887 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004778/0.1434, allocations: 191.5 kB / 388.3 MB, free: 7.688 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.784e-06/0.1434, allocations: 0 / 388.3 MB, free: 7.688 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.002719/0.1461, allocations: 1.263 MB / 389.5 MB, free: 6.336 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.1462, allocations: 55.41 kB / 389.6 MB, free: 6.27 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003785/0.1466, allocations: 308.5 kB / 389.9 MB, free: 5.965 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.1466, allocations: 33.7 kB / 389.9 MB, free: 5.926 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.1468, allocations: 192.5 kB / 390.1 MB, free: 5.734 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.1469, allocations: 118.3 kB / 390.2 MB, free: 5.617 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.1469, allocations: 8 kB / 390.2 MB, free: 5.609 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.1471, allocations: 342.8 kB / 390.6 MB, free: 5.266 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.1474, allocations: 116.8 kB / 390.7 MB, free: 5.148 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.1477, allocations: 141.9 kB / 390.8 MB, free: 5 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.148, allocations: 151.2 kB / 391 MB, free: 4.848 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.148, allocations: 0 / 391 MB, free: 4.848 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007005/0.1487, allocations: 383.9 kB / 391.4 MB, free: 4.461 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.1489, allocations: 144.4 kB / 391.5 MB, free: 4.301 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.1489, allocations: 3.984 kB / 391.5 MB, free: 4.297 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1489, allocations: 0 / 391.5 MB, free: 4.297 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.1492, allocations: 75.91 kB / 391.6 MB, free: 4.223 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.1493, allocations: 0 / 391.6 MB, free: 4.223 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.1495, allocations: 39.91 kB / 391.6 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.1495, allocations: 12 kB / 391.6 MB, free: 4.172 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.816e-06/0.1495, allocations: 4 kB / 391.6 MB, free: 4.168 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007045/0.1502, allocations: 348.8 kB / 392 MB, free: 3.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1503, allocations: 4 kB / 392 MB, free: 3.816 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.946e-06/0.1503, allocations: 0 / 392 MB, free: 3.816 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.1506, allocations: 71.91 kB / 392 MB, free: 3.746 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1506, allocations: 3.984 kB / 392 MB, free: 3.742 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.1508, allocations: 31.98 kB / 392.1 MB, free: 3.711 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.1508, allocations: 23.89 kB / 392.1 MB, free: 3.688 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.0002176/0.1511, allocations: 233 kB / 392.3 MB, free: 3.449 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.745e-05/0.1511, allocations: 43.52 kB / 392.4 MB, free: 3.406 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006852/0.1518, allocations: 340.9 kB / 392.7 MB, free: 3.066 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.1518, allocations: 8 kB / 392.7 MB, free: 3.059 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.902e-06/0.1518, allocations: 0 / 392.7 MB, free: 3.059 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.1519, allocations: 7.969 kB / 392.7 MB, free: 3.051 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.1532, allocations: 0.8851 MB / 393.6 MB, free: 2.094 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.1532, allocations: 4 kB / 393.6 MB, free: 2.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.1536, allocations: 75.89 kB / 393.7 MB, free: 2.016 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.1536, allocations: 12.11 kB / 393.7 MB, free: 2.004 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.1536, allocations: 8 kB / 393.7 MB, free: 1.996 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1536, allocations: 0 / 393.7 MB, free: 1.996 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.1536, allocations: 7.984 kB / 393.7 MB, free: 1.988 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009874/0.1546, allocations: 0.5852 MB / 394.3 MB, free: 1.367 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.1548, allocations: 140.7 kB / 394.4 MB, free: 1.211 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.531e-05/0.1548, allocations: 19.94 kB / 394.5 MB, free: 1.191 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.1551, allocations: 27.98 kB / 394.5 MB, free: 1.164 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.1552, allocations: 31.95 kB / 394.5 MB, free: 1.133 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.1552, allocations: 15.98 kB / 394.5 MB, free: 1.117 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002269/0.1555, allocations: 211.1 kB / 394.7 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1555, allocations: 4 kB / 394.7 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005077/0.156, allocations: 152 kB / 394.9 MB, free: 0.7578 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.000179/0.1562, allocations: 111.1 kB / 395 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009854/0.1572, allocations: 0.5537 MB / 395.5 MB, free: 60 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.1572, allocations: 4 kB / 395.6 MB, free: 56 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003422/0.1575, allocations: 164.4 kB / 395.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005233/0.1581, allocations: 57.06 kB / 395.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.16, allocations: 1.158 MB / 396.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.1604, allocations: 0.7962 MB / 397.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002031/0.1606, allocations: 46.94 kB / 397.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.361e-05/0.1607, allocations: 31.42 kB / 397.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1607, allocations: 0 / 397.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of Templates: time 0.008089/0.1688, allocations: 3.761 MB / 401.6 MB, free: 9.984 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: