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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001959/0.001959, allocations: 161.3 kB / 22.75 MB, free: 1.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 158.6 MB / 184.6 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009319/0.009319, allocations: 1.443 MB / 238.3 MB, free: 13.73 MB / 234.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(MEV.Test.TestCylinderUnitOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitOnOff") translateModel(MEV.Test.TestCylinderUnitOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitOnOff") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 303.9 MB, free: 61.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.409e-05, allocations: 2.312 kB / 303.9 MB, free: 61.33 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003646/0.00367, allocations: 3.142 MB / 307 MB, free: 59.24 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.005006, allocations: 0.8408 MB / 307.9 MB, free: 58.66 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.005182, allocations: 8.531 kB / 307.9 MB, free: 58.65 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.00537, allocations: 61.53 kB / 307.9 MB, free: 58.62 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.005637, allocations: 157.8 kB / 308.1 MB, free: 58.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.005966, allocations: 128 kB / 308.2 MB, free: 58.42 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004739/0.00644, allocations: 0.534 MB / 308.8 MB, free: 58.13 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.006644, allocations: 104.2 kB / 308.9 MB, free: 58.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003186/0.006962, allocations: 293.5 kB / 309.1 MB, free: 57.95 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.007191, allocations: 152.4 kB / 309.3 MB, free: 57.9 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.929e-05/0.00725, allocations: 41.25 kB / 309.3 MB, free: 57.9 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.007358, allocations: 52.34 kB / 309.4 MB, free: 57.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.795e-05/0.007426, allocations: 93.03 kB / 309.5 MB, free: 57.83 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.007594, allocations: 153.7 kB / 309.6 MB, free: 57.76 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005431/0.008137, allocations: 488.1 kB / 310.1 MB, free: 57.55 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.008141, allocations: 0.6562 kB / 310.1 MB, free: 57.55 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.008142, allocations: 0 / 310.1 MB, free: 57.55 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.008149, allocations: 0 / 310.1 MB, free: 57.55 MB / 282.7 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.001224/0.009373, allocations: 0.6726 MB / 310.8 MB, free: 57.05 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.009404, allocations: 9.625 kB / 310.8 MB, free: 57.05 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.009528, allocations: 70.48 kB / 310.8 MB, free: 57.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.009902, allocations: 258.5 kB / 311.1 MB, free: 56.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.00993, allocations: 31.34 kB / 311.1 MB, free: 56.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.009992, allocations: 36.41 kB / 311.2 MB, free: 56.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/0.01056, allocations: 350.2 kB / 311.5 MB, free: 56.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.01058, allocations: 3.938 kB / 311.5 MB, free: 56.58 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.01061, allocations: 11.12 kB / 311.5 MB, free: 56.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.01062, allocations: 8.219 kB / 311.5 MB, free: 56.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004996/0.01112, allocations: 235 kB / 311.8 MB, free: 56.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.01241, allocations: 0.7541 MB / 312.5 MB, free: 56.03 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005321/0.01294, allocations: 251.7 kB / 312.8 MB, free: 55.92 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.01318, allocations: 102.2 kB / 312.9 MB, free: 55.87 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.01321, allocations: 5.516 kB / 312.9 MB, free: 55.87 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003631/0.01357, allocations: 240.7 kB / 313.1 MB, free: 55.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.403e-06/0.01358, allocations: 1.125 kB / 313.1 MB, free: 55.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.002265/0.01584, allocations: 1.098 MB / 314.2 MB, free: 54.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.01587, allocations: 63.34 kB / 314.3 MB, free: 54.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.0161, allocations: 270.8 kB / 314.5 MB, free: 54.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.01612, allocations: 32.83 kB / 314.6 MB, free: 54.7 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.509e-05/0.01621, allocations: 206.9 kB / 314.8 MB, free: 54.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.166e-05/0.01627, allocations: 121.4 kB / 314.9 MB, free: 54.4 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.794e-05/0.01637, allocations: 76.67 kB / 315 MB, free: 54.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.469e-05/0.01642, allocations: 337.7 kB / 315.3 MB, free: 54.01 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.01667, allocations: 141.9 kB / 315.4 MB, free: 53.92 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.01694, allocations: 184.4 kB / 315.6 MB, free: 53.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.01736, allocations: 277.8 kB / 315.9 MB, free: 53.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01736, allocations: 0 / 315.9 MB, free: 53.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005979/0.01796, allocations: 427.9 kB / 316.3 MB, free: 53.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.01798, allocations: 37.77 kB / 316.3 MB, free: 53.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01798, allocations: 0 / 316.3 MB, free: 53.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.01801, allocations: 7.938 kB / 316.3 MB, free: 53.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.01831, allocations: 71.89 kB / 316.4 MB, free: 52.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.01832, allocations: 0 / 316.4 MB, free: 52.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.01854, allocations: 24.86 kB / 316.4 MB, free: 52.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.01856, allocations: 12 kB / 316.4 MB, free: 52.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002986/0.01886, allocations: 250.3 kB / 316.7 MB, free: 52.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002236/0.01908, allocations: 179 kB / 316.9 MB, free: 52.49 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003852/0.01947, allocations: 272.3 kB / 317.1 MB, free: 52.21 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-06/0.01947, allocations: 0 / 317.1 MB, free: 52.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0005638/0.02003, allocations: 416.2 kB / 317.5 MB, free: 51.78 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.02005, allocations: 37.7 kB / 317.6 MB, free: 51.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.02005, allocations: 8.047 kB / 317.6 MB, free: 51.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-06/0.02006, allocations: 4 kB / 317.6 MB, free: 51.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.02031, allocations: 67.91 kB / 317.6 MB, free: 51.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.02032, allocations: 5.312 kB / 317.7 MB, free: 51.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.02052, allocations: 30.22 kB / 317.7 MB, free: 51.63 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.02054, allocations: 12 kB / 317.7 MB, free: 51.62 MB / 282.7 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.639e-05/0.02063, allocations: 204.1 kB / 317.9 MB, free: 51.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.02068, allocations: 47.81 kB / 317.9 MB, free: 51.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005787/0.02126, allocations: 334.1 kB / 318.3 MB, free: 51.04 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.02126, allocations: 7.938 kB / 318.3 MB, free: 51.03 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.02127, allocations: 0 / 318.3 MB, free: 51.03 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.02128, allocations: 0 / 318.3 MB, free: 51.03 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.02228, allocations: 0.7551 MB / 319 MB, free: 50.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.02229, allocations: 4.156 kB / 319 MB, free: 50.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003303/0.02262, allocations: 83.83 kB / 319.1 MB, free: 50.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.02262, allocations: 3.312 kB / 319.1 MB, free: 50.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.02264, allocations: 8 kB / 319.1 MB, free: 50.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.02264, allocations: 4 kB / 319.1 MB, free: 50.12 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.02265, allocations: 4 kB / 319.1 MB, free: 50.12 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007785/0.02342, allocations: 0.5941 MB / 319.7 MB, free: 49.49 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.02354, allocations: 67.8 kB / 319.8 MB, free: 49.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.02359, allocations: 8 kB / 319.8 MB, free: 49.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.02384, allocations: 23.97 kB / 319.8 MB, free: 49.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.07e-05/0.02393, allocations: 31.95 kB / 319.9 MB, free: 49.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.02395, allocations: 11.98 kB / 319.9 MB, free: 49.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001298/0.02408, allocations: 195.1 kB / 320.1 MB, free: 49.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02408, allocations: 0 / 320.1 MB, free: 49.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004603/0.02454, allocations: 155.9 kB / 320.2 MB, free: 49.01 MB / 282.7 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.0001314/0.02468, allocations: 111.8 kB / 320.3 MB, free: 48.89 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007814/0.02546, allocations: 0.5649 MB / 320.9 MB, free: 48.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.02546, allocations: 4 kB / 320.9 MB, free: 48.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002717/0.02573, allocations: 156.5 kB / 321 MB, free: 48.14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.02619, allocations: 66.59 kB / 321.1 MB, free: 48.08 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.02752, allocations: 0.8487 MB / 322 MB, free: 47.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.02766, allocations: 195.7 kB / 322.1 MB, free: 46.97 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001694/0.02783, allocations: 38.94 kB / 322.2 MB, free: 46.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.181e-05/0.02791, allocations: 32.5 kB / 322.2 MB, free: 46.9 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02792, allocations: 0 / 322.2 MB, free: 46.9 MB / 282.7 MB Notification: Performance of Templates: time 0.007338/0.03525, allocations: 3.924 MB / 326.1 MB, free: 43.03 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestCylinderUnitOnOff.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.446548552950844]