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.001182/0.001181, allocations: 110.2 kB / 16.41 MB, free: 6.477 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.001183/0.001183, allocations: 183 kB / 17.34 MB, free: 5.75 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.367/1.367, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008722/0.008722, allocations: 1.931 MB / 272.5 MB, free: 10.07 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.001457/0.001457, allocations: 72.03 kB / 378.9 MB, free: 52.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07307/0.07454, allocations: 47.13 MB / 426 MB, free: 20.1 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003709/0.07829, allocations: 3.407 MB / 429.4 MB, free: 16.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.07978, allocations: 0.8734 MB / 430.3 MB, free: 15.79 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003386/0.08014, allocations: 15.94 kB / 430.3 MB, free: 15.78 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.08037, allocations: 55.42 kB / 430.4 MB, free: 15.72 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003552/0.08077, allocations: 138.7 kB / 430.5 MB, free: 15.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.08116, allocations: 115.8 kB / 430.6 MB, free: 15.47 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005155/0.08169, allocations: 0.5173 MB / 431.1 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002381/0.08194, allocations: 152.8 kB / 431.3 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.08219, allocations: 195.2 kB / 431.5 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.08245, allocations: 199.1 kB / 431.7 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.533e-05/0.08252, allocations: 44 kB / 431.7 MB, free: 14.37 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.08265, allocations: 59.98 kB / 431.8 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.08271, allocations: 95.61 kB / 431.9 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.08291, allocations: 218.9 kB / 432.1 MB, free: 14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003958/0.08331, allocations: 474.3 kB / 432.6 MB, free: 13.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.08332, allocations: 0 / 432.6 MB, free: 13.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.08333, allocations: 0 / 432.6 MB, free: 13.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.08335, allocations: 0 / 432.6 MB, free: 13.54 MB / 318.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.001202/0.08456, allocations: 0.7376 MB / 433.3 MB, free: 12.74 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.0846, allocations: 19.88 kB / 433.3 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.88e-05/0.08469, allocations: 44.38 kB / 433.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.08501, allocations: 315.4 kB / 433.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.08504, allocations: 25.03 kB / 433.7 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/0.0851, allocations: 39.94 kB / 433.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/0.08561, allocations: 294 kB / 434 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.08564, allocations: 3.984 kB / 434 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.08567, allocations: 12 kB / 434 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.08569, allocations: 8 kB / 434 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.08616, allocations: 238.4 kB / 434.3 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.08738, allocations: 0.9207 MB / 435.2 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004896/0.08788, allocations: 264.2 kB / 435.4 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.08811, allocations: 117.3 kB / 435.6 MB, free: 10.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.08814, allocations: 4.172 kB / 435.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003373/0.08849, allocations: 187.4 kB / 435.8 MB, free: 10.17 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.774e-06/0.0885, allocations: 0 / 435.8 MB, free: 10.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002056/0.09056, allocations: 1.22 MB / 437 MB, free: 8.859 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.0906, allocations: 59.39 kB / 437 MB, free: 8.789 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.09083, allocations: 312.5 kB / 437.3 MB, free: 8.469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.09086, allocations: 29.7 kB / 437.4 MB, free: 8.434 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.318e-05/0.09095, allocations: 188.7 kB / 437.5 MB, free: 8.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.09102, allocations: 122.2 kB / 437.7 MB, free: 8.125 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.961e-05/0.09111, allocations: 73.98 kB / 437.7 MB, free: 8.047 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.232e-05/0.09117, allocations: 342.8 kB / 438.1 MB, free: 7.703 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.0914, allocations: 114.4 kB / 438.2 MB, free: 7.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.09165, allocations: 157.6 kB / 438.3 MB, free: 7.422 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/0.09208, allocations: 274 kB / 438.6 MB, free: 7.137 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.09209, allocations: 0 / 438.6 MB, free: 7.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005786/0.09268, allocations: 389.7 kB / 439 MB, free: 6.746 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.09271, allocations: 37.7 kB / 439 MB, free: 6.703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.09273, allocations: 0 / 439 MB, free: 6.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.09275, allocations: 4 kB / 439 MB, free: 6.699 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.09308, allocations: 67.89 kB / 439.1 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.0931, allocations: 4 kB / 439.1 MB, free: 6.629 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.09334, allocations: 28.05 kB / 439.1 MB, free: 6.602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.09337, allocations: 16 kB / 439.1 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002944/0.09367, allocations: 228.4 kB / 439.4 MB, free: 6.359 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002188/0.0939, allocations: 145.1 kB / 439.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000398/0.09431, allocations: 280 kB / 439.8 MB, free: 5.922 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.09432, allocations: 0 / 439.8 MB, free: 5.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0005384/0.09486, allocations: 378.6 kB / 440.1 MB, free: 5.539 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.09489, allocations: 41.55 kB / 440.2 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-06/0.09489, allocations: 0 / 440.2 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.627e-06/0.0949, allocations: 0 / 440.2 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.09518, allocations: 79.83 kB / 440.3 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.09519, allocations: 8.062 kB / 440.3 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.09542, allocations: 19.98 kB / 440.3 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.09544, allocations: 15.98 kB / 440.3 MB, free: 5.371 MB / 318.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 8.876e-05/0.09554, allocations: 200.7 kB / 440.5 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.09558, allocations: 39.56 kB / 440.5 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005683/0.09615, allocations: 336.9 kB / 440.9 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.09617, allocations: 7.938 kB / 440.9 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.09618, allocations: 0 / 440.9 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.09619, allocations: 0 / 440.9 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.09721, allocations: 0.8815 MB / 441.8 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.09722, allocations: 0 / 441.8 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/0.09757, allocations: 79.89 kB / 441.8 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.09758, allocations: 7.938 kB / 441.8 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.09761, allocations: 11.98 kB / 441.9 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.09762, allocations: 3.938 kB / 441.9 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.09762, allocations: 7.938 kB / 441.9 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007584/0.09839, allocations: 0.5788 MB / 442.5 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.0985, allocations: 144.6 kB / 442.6 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.09856, allocations: 8 kB / 442.6 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.09882, allocations: 31.97 kB / 442.6 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.319e-05/0.09891, allocations: 35.84 kB / 442.7 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.09894, allocations: 8 kB / 442.7 MB, free: 2.863 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.0991, allocations: 223.1 kB / 442.9 MB, free: 2.648 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0991, allocations: 0 / 442.9 MB, free: 2.648 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004425/0.09955, allocations: 148 kB / 443 MB, free: 2.504 MB / 318.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.0001194/0.09967, allocations: 115.2 kB / 443.1 MB, free: 2.383 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008181/0.1005, allocations: 0.5456 MB / 443.7 MB, free: 1.812 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1005, allocations: 0 / 443.7 MB, free: 1.812 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.1008, allocations: 152.3 kB / 443.8 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.1013, allocations: 69.14 kB / 443.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.1027, allocations: 0.9565 MB / 444.9 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.1029, allocations: 0.8001 MB / 445.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.926e-05/0.103, allocations: 35.38 kB / 445.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.103, allocations: 0 / 445.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of Templates: time 0.006422/0.1095, allocations: 4.387 MB / 450.1 MB, free: 11.33 MB / 334.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)