Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestBellJarLinearControl.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.TestBellJarLinearControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarLinearControl") translateModel(MEV.Test.TestBellJarLinearControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarLinearControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009076/0.0009076, allocations: 91.84 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.0009721/0.0009722, 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.646/1.646, allocations: 205.4 MB / 222.1 MB, free: 5.898 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01409/0.01409, allocations: 1.916 MB / 272.3 MB, free: 3.641 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.0005383/0.0005384, allocations: 20 kB / 330.9 MB, free: 33.38 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.128, allocations: 48.09 MB / 379 MB, free: 1.246 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.005442/0.1335, allocations: 3.689 MB / 382.7 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002832/0.1364, allocations: 0.9477 MB / 383.6 MB, free: 12.58 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004994/0.1369, allocations: 11.94 kB / 383.6 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.1371, allocations: 59.52 kB / 383.7 MB, free: 12.51 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005152/0.1377, allocations: 182.5 kB / 383.9 MB, free: 12.33 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.138, allocations: 87.86 kB / 384 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005588/0.1386, allocations: 0.4977 MB / 384.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002911/0.1389, allocations: 140.2 kB / 384.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.1392, allocations: 159.2 kB / 384.7 MB, free: 11.44 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.1394, allocations: 187 kB / 384.9 MB, free: 11.26 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.1394, allocations: 20 kB / 384.9 MB, free: 11.24 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.885e-05/0.1395, allocations: 27.98 kB / 385 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.492e-05/0.1396, allocations: 63.7 kB / 385 MB, free: 11.15 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.1397, allocations: 113.5 kB / 385.1 MB, free: 11.03 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.1402, allocations: 363 kB / 385.5 MB, free: 10.68 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1402, allocations: 0 / 385.5 MB, free: 10.68 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1402, allocations: 0 / 385.5 MB, free: 10.68 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1402, allocations: 0 / 385.5 MB, free: 10.68 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001193/0.1414, allocations: 0.7005 MB / 386.2 MB, free: 9.922 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1415, allocations: 8.031 kB / 386.2 MB, free: 9.914 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.1416, allocations: 51.42 kB / 386.3 MB, free: 9.863 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.142, allocations: 318.2 kB / 386.6 MB, free: 9.512 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.479e-05/0.142, allocations: 29 kB / 386.6 MB, free: 9.484 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.634e-05/0.1421, allocations: 47.84 kB / 386.6 MB, free: 9.438 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000661/0.1428, allocations: 330.5 kB / 387 MB, free: 9.109 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1428, allocations: 4 kB / 387 MB, free: 9.105 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.1429, allocations: 15.98 kB / 387 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.1429, allocations: 12 kB / 387 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005654/0.1434, allocations: 263.9 kB / 387.3 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.1453, allocations: 1.124 MB / 388.4 MB, free: 7.641 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000544/0.1459, allocations: 291.5 kB / 388.7 MB, free: 7.348 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.1461, allocations: 129.3 kB / 388.8 MB, free: 7.219 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.1461, allocations: 240 / 388.8 MB, free: 7.219 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000445/0.1466, allocations: 167.5 kB / 389 MB, free: 7.043 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.393e-06/0.1466, allocations: 0 / 389 MB, free: 7.043 MB / 286.1 MB Notification: Performance of matching and sorting (n=34): time 0.002531/0.1491, allocations: 1.251 MB / 390.2 MB, free: 5.695 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.1492, allocations: 67.34 kB / 390.3 MB, free: 5.617 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.1496, allocations: 349.5 kB / 390.6 MB, free: 5.27 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.1496, allocations: 29.7 kB / 390.6 MB, free: 5.234 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.1498, allocations: 212.5 kB / 390.8 MB, free: 5.023 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.717e-05/0.1499, allocations: 122.3 kB / 391 MB, free: 4.902 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.862e-05/0.1499, allocations: 4 kB / 391 MB, free: 4.898 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.1501, allocations: 346.8 kB / 391.3 MB, free: 4.551 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.1504, allocations: 116.8 kB / 391.4 MB, free: 4.438 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002783/0.1507, allocations: 158.7 kB / 391.6 MB, free: 4.27 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.151, allocations: 157.6 kB / 391.7 MB, free: 4.109 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.151, allocations: 4 kB / 391.7 MB, free: 4.105 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006878/0.1517, allocations: 390.9 kB / 392.1 MB, free: 3.711 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.1518, allocations: 141.6 kB / 392.3 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1518, allocations: 0 / 392.3 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1518, allocations: 4 kB / 392.3 MB, free: 3.547 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.1522, allocations: 91.83 kB / 392.3 MB, free: 3.457 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.1522, allocations: 11.94 kB / 392.4 MB, free: 3.445 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.1525, allocations: 16 kB / 392.4 MB, free: 3.43 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.1525, allocations: 19.98 kB / 392.4 MB, free: 3.41 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.863e-06/0.1525, allocations: 4 kB / 392.4 MB, free: 3.406 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000668/0.1532, allocations: 349.4 kB / 392.7 MB, free: 3.059 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1532, allocations: 0 / 392.7 MB, free: 3.059 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.894e-06/0.1532, allocations: 4 kB / 392.7 MB, free: 3.055 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.1536, allocations: 87.89 kB / 392.8 MB, free: 2.969 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1536, allocations: 7.938 kB / 392.8 MB, free: 2.961 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.1538, allocations: 20.08 kB / 392.9 MB, free: 2.941 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.1538, allocations: 16 kB / 392.9 MB, free: 2.926 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count) * 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.000317/0.1541, allocations: 241 kB / 393.1 MB, free: 2.68 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-05/0.1542, allocations: 35.53 kB / 393.1 MB, free: 2.645 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008111/0.155, allocations: 333.3 kB / 393.5 MB, free: 2.312 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.155, allocations: 4 kB / 393.5 MB, free: 2.309 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.155, allocations: 0 / 393.5 MB, free: 2.309 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.1551, allocations: 0 / 393.5 MB, free: 2.309 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.1564, allocations: 0.892 MB / 394.4 MB, free: 1.348 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.1564, allocations: 4 kB / 394.4 MB, free: 1.344 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/0.1568, allocations: 83.89 kB / 394.5 MB, free: 1.262 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1568, allocations: 3.938 kB / 394.5 MB, free: 1.258 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.1569, allocations: 12.12 kB / 394.5 MB, free: 1.246 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.1569, allocations: 4 kB / 394.5 MB, free: 1.242 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.1569, allocations: 3.984 kB / 394.5 MB, free: 1.238 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009759/0.1579, allocations: 0.5732 MB / 395 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.1581, allocations: 140.7 kB / 395.2 MB, free: 488 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.1581, allocations: 12 kB / 395.2 MB, free: 476 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.1584, allocations: 27.92 kB / 395.2 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.1585, allocations: 36 kB / 395.3 MB, free: 412 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.1585, allocations: 8 kB / 395.3 MB, free: 404 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003042/0.1588, allocations: 239.2 kB / 395.5 MB, free: 164 kB / 286.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1589, allocations: 4 kB / 395.5 MB, free: 160 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005847/0.1594, allocations: 148 kB / 395.6 MB, free: 12 kB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (controller.firstOrder.y,bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 3 ($whenCondition1,opening.T_start,opening.count) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000242/0.1597, allocations: 115.2 kB / 395.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.1608, allocations: 0.5583 MB / 396.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1608, allocations: 0 / 396.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003329/0.1611, allocations: 147.8 kB / 396.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006222/0.1618, allocations: 65.78 kB / 396.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.1641, allocations: 1.201 MB / 397.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/0.1646, allocations: 0.8156 MB / 398.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002596/0.1649, allocations: 42.94 kB / 398.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.319e-05/0.165, allocations: 31.44 kB / 398.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of SimCode: time 7.41e-07/0.165, allocations: 3.938 kB / 398.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of Templates: time 0.00907/0.1741, allocations: 3.824 MB / 402.4 MB, free: 9.121 MB / 302.1 MB make -j1 -f MEV_MEV.Test.TestBellJarLinearControl.makefile Environment - environmentSimulation: (rm -f MEV_MEV.Test.TestBellJarLinearControl.pipe ; mkfifo MEV_MEV.Test.TestBellJarLinearControl.pipe ; head -c 1048576 < MEV_MEV.Test.TestBellJarLinearControl.pipe >> ../files/MEV_MEV.Test.TestBellJarLinearControl.sim & ./MEV_MEV.Test.TestBellJarLinearControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestBellJarLinearControl.pipe 2>&1) Environment - environmentSimulation: