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.001285/0.001285, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001579/0.00158, allocations: 190.8 kB / 16.13 MB, free: 6.699 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.261/1.261, allocations: 205.1 MB / 222 MB, free: 4.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007472/0.007472, allocations: 1.928 MB / 271.3 MB, free: 3.555 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.00119/0.00119, allocations: 64.12 kB / 329.1 MB, free: 33.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06739/0.06859, allocations: 47.14 MB / 376.3 MB, free: 2.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.004391/0.07301, allocations: 4.007 MB / 380.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.07471, allocations: 0.9478 MB / 381.2 MB, free: 13.1 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.0749, allocations: 8 kB / 381.2 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.07508, allocations: 47.61 kB / 381.3 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.07534, allocations: 123 kB / 381.4 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.07565, allocations: 103.9 kB / 381.5 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000423/0.07609, allocations: 493.7 kB / 382 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.07631, allocations: 132.4 kB / 382.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.07649, allocations: 175.2 kB / 382.3 MB, free: 12.03 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.07672, allocations: 195.1 kB / 382.5 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.028e-05/0.07677, allocations: 24 kB / 382.5 MB, free: 11.81 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.687e-05/0.07688, allocations: 31.94 kB / 382.5 MB, free: 11.78 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.476e-05/0.07696, allocations: 71.75 kB / 382.6 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.07715, allocations: 206.9 kB / 382.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.07756, allocations: 450.5 kB / 383.3 MB, free: 11.07 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.07757, allocations: 0 / 383.3 MB, free: 11.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.07758, allocations: 0 / 383.3 MB, free: 11.07 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.07759, allocations: 0 / 383.3 MB, free: 11.07 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.001377/0.07897, allocations: 0.7362 MB / 384 MB, free: 10.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.07902, allocations: 15.97 kB / 384 MB, free: 10.26 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.089e-05/0.07911, allocations: 40.47 kB / 384 MB, free: 10.22 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.07949, allocations: 311.4 kB / 384.3 MB, free: 9.875 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.07953, allocations: 29.03 kB / 384.4 MB, free: 9.848 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.932e-05/0.0796, allocations: 35.94 kB / 384.4 MB, free: 9.812 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000595/0.0802, allocations: 302 kB / 384.7 MB, free: 9.508 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.08023, allocations: 7.891 kB / 384.7 MB, free: 9.5 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.08027, allocations: 11.98 kB / 384.7 MB, free: 9.488 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.08028, allocations: 11.94 kB / 384.7 MB, free: 9.477 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005153/0.0808, allocations: 234.5 kB / 385 MB, free: 9.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.08224, allocations: 0.9363 MB / 385.9 MB, free: 8.262 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005531/0.08281, allocations: 263.2 kB / 386.2 MB, free: 7.996 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.08306, allocations: 117.3 kB / 386.3 MB, free: 7.879 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.08311, allocations: 4.234 kB / 386.3 MB, free: 7.875 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004339/0.08355, allocations: 187.5 kB / 386.5 MB, free: 7.68 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.08356, allocations: 0 / 386.5 MB, free: 7.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.002405/0.08597, allocations: 1.227 MB / 387.7 MB, free: 6.363 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.08602, allocations: 59.39 kB / 387.7 MB, free: 6.293 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.08632, allocations: 300.6 kB / 388 MB, free: 5.992 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.08636, allocations: 33.7 kB / 388.1 MB, free: 5.953 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.08649, allocations: 192.6 kB / 388.3 MB, free: 5.762 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.027e-05/0.08658, allocations: 126.3 kB / 388.4 MB, free: 5.637 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.972e-05/0.08669, allocations: 66.08 kB / 388.4 MB, free: 5.566 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.08684, allocations: 346.8 kB / 388.8 MB, free: 5.219 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.0871, allocations: 114.4 kB / 388.9 MB, free: 5.105 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.08738, allocations: 149.6 kB / 389 MB, free: 4.949 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005083/0.0879, allocations: 285.8 kB / 389.3 MB, free: 4.652 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.08791, allocations: 0 / 389.3 MB, free: 4.652 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006564/0.08857, allocations: 385.7 kB / 389.7 MB, free: 4.266 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.08862, allocations: 42.33 kB / 389.7 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.08863, allocations: 0 / 389.7 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.08864, allocations: 0 / 389.7 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.08899, allocations: 75.83 kB / 389.8 MB, free: 4.145 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.089, allocations: 4 kB / 389.8 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.08925, allocations: 23.98 kB / 389.8 MB, free: 4.117 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.08928, allocations: 12 kB / 389.9 MB, free: 4.105 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003282/0.08962, allocations: 220.5 kB / 390.1 MB, free: 3.887 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00025/0.08988, allocations: 149.1 kB / 390.2 MB, free: 3.734 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000466/0.09035, allocations: 276 kB / 390.5 MB, free: 3.449 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.815e-06/0.09036, allocations: 4 kB / 390.5 MB, free: 3.445 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006268/0.09099, allocations: 374.4 kB / 390.9 MB, free: 3.066 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.09103, allocations: 33.64 kB / 390.9 MB, free: 3.027 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-06/0.09104, allocations: 4 kB / 390.9 MB, free: 3.023 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-06/0.09105, allocations: 0 / 390.9 MB, free: 3.023 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.09135, allocations: 75.89 kB / 391 MB, free: 2.949 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.09136, allocations: 4 kB / 391 MB, free: 2.945 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.09159, allocations: 19.98 kB / 391 MB, free: 2.926 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.09162, allocations: 16.05 kB / 391 MB, free: 2.91 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.0001171/0.09175, allocations: 201.1 kB / 391.2 MB, free: 2.707 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.0918, allocations: 43.5 kB / 391.2 MB, free: 2.664 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006747/0.09248, allocations: 340.5 kB / 391.6 MB, free: 2.324 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.0925, allocations: 4 kB / 391.6 MB, free: 2.32 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.09251, allocations: 0 / 391.6 MB, free: 2.32 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.09252, allocations: 0 / 391.6 MB, free: 2.32 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.09372, allocations: 0.8819 MB / 392.5 MB, free: 1.367 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.09373, allocations: 0 / 392.5 MB, free: 1.367 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/0.09411, allocations: 84.05 kB / 392.5 MB, free: 1.285 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.09413, allocations: 8 kB / 392.6 MB, free: 1.277 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.09416, allocations: 11.98 kB / 392.6 MB, free: 1.266 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.09417, allocations: 3.984 kB / 392.6 MB, free: 1.262 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.09418, allocations: 7.938 kB / 392.6 MB, free: 1.254 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008999/0.09508, allocations: 0.5735 MB / 393.1 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.09522, allocations: 140.7 kB / 393.3 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.022e-05/0.09529, allocations: 8 kB / 393.3 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.09556, allocations: 31.97 kB / 393.3 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.09565, allocations: 39.92 kB / 393.4 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.09568, allocations: 11.98 kB / 393.4 MB, free: 412 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002075/0.09589, allocations: 219.1 kB / 393.6 MB, free: 192 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.0959, allocations: 0 / 393.6 MB, free: 192 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004662/0.09637, allocations: 152 kB / 393.7 MB, free: 40 kB / 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 (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.0001397/0.09652, allocations: 107.3 kB / 393.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009243/0.09745, allocations: 0.5465 MB / 394.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.09746, allocations: 0 / 394.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000307/0.09777, allocations: 155.8 kB / 394.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.09826, allocations: 61.62 kB / 394.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.09996, allocations: 1.099 MB / 395.7 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.1003, allocations: 0.7962 MB / 396.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000201/0.1005, allocations: 42.94 kB / 396.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.632e-05/0.1006, allocations: 35.42 kB / 396.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1006, allocations: 0 / 396.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of Templates: time 0.007264/0.1079, allocations: 3.935 MB / 400.5 MB, free: 9.172 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)