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.001788/0.001788, allocations: 85.48 kB / 19.44 MB, free: 340 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.001991/0.001991, allocations: 177.6 kB / 22.76 MB, free: 1.66 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.294/1.294, allocations: 158.6 MB / 184.6 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] 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.009851/0.009851, allocations: 1.436 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 2.114e-06/2.114e-06, allocations: 0 / 303.9 MB, free: 61.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.679e-05, allocations: 4.609 kB / 303.9 MB, free: 61.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.004121/0.004148, allocations: 3.353 MB / 307.2 MB, free: 59.09 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.005783, allocations: 0.8565 MB / 308.1 MB, free: 58.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003638/0.006147, allocations: 9.031 kB / 308.1 MB, free: 58.49 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.006397, allocations: 56.86 kB / 308.2 MB, free: 58.46 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004214/0.006818, allocations: 158.8 kB / 308.3 MB, free: 58.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.007224, allocations: 123.3 kB / 308.4 MB, free: 58.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006339/0.007858, allocations: 0.5465 MB / 309 MB, free: 57.97 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002335/0.008091, allocations: 100.6 kB / 309.1 MB, free: 57.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000498/0.008589, allocations: 289.9 kB / 309.4 MB, free: 57.79 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003157/0.008905, allocations: 157.6 kB / 309.5 MB, free: 57.74 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.005e-05/0.008995, allocations: 41.25 kB / 309.6 MB, free: 57.74 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.009141, allocations: 55.16 kB / 309.6 MB, free: 57.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.522e-05/0.009216, allocations: 86.2 kB / 309.7 MB, free: 57.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.009427, allocations: 158.2 kB / 309.9 MB, free: 57.61 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006008/0.01003, allocations: 485.4 kB / 310.3 MB, free: 57.4 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.01003, allocations: 2.078 kB / 310.3 MB, free: 57.4 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.01003, allocations: 0 / 310.3 MB, free: 57.4 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.017e-05/0.01005, allocations: 0 / 310.3 MB, free: 57.4 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.001482/0.01154, allocations: 0.7985 MB / 311.1 MB, free: 56.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.01157, allocations: 10.16 kB / 311.1 MB, free: 56.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.01174, allocations: 71.31 kB / 311.2 MB, free: 56.74 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.01214, allocations: 264.8 kB / 311.5 MB, free: 56.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.01217, allocations: 28.73 kB / 311.5 MB, free: 56.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.01223, allocations: 35.14 kB / 311.5 MB, free: 56.49 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/0.01282, allocations: 340.9 kB / 311.9 MB, free: 56.31 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.01284, allocations: 4 kB / 311.9 MB, free: 56.3 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.01287, allocations: 10.78 kB / 311.9 MB, free: 56.3 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.01288, allocations: 8.031 kB / 311.9 MB, free: 56.3 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004803/0.01336, allocations: 220.7 kB / 312.1 MB, free: 56.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.01495, allocations: 0.9178 MB / 313 MB, free: 55.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005103/0.01546, allocations: 257.1 kB / 313.3 MB, free: 55.54 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.01567, allocations: 117.6 kB / 313.4 MB, free: 55.49 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.88e-05/0.01572, allocations: 9.031 kB / 313.4 MB, free: 55.49 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003516/0.01607, allocations: 236.4 kB / 313.6 MB, free: 55.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.944e-06/0.01608, allocations: 1.562 kB / 313.6 MB, free: 55.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.002248/0.01832, allocations: 1.107 MB / 314.7 MB, free: 54.6 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.01835, allocations: 55.28 kB / 314.8 MB, free: 54.54 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.01864, allocations: 373 kB / 315.2 MB, free: 54.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.01867, allocations: 35.52 kB / 315.2 MB, free: 54.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.01878, allocations: 263.7 kB / 315.4 MB, free: 53.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.928e-05/0.01885, allocations: 127 kB / 315.6 MB, free: 53.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.01896, allocations: 87.69 kB / 315.7 MB, free: 53.76 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.378e-05/0.01904, allocations: 0.5313 MB / 316.2 MB, free: 53.22 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.01926, allocations: 138.9 kB / 316.3 MB, free: 53.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.01949, allocations: 192.5 kB / 316.5 MB, free: 52.87 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004128/0.0199, allocations: 294.3 kB / 316.8 MB, free: 52.56 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.0199, allocations: 0 / 316.8 MB, free: 52.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005767/0.02048, allocations: 415.9 kB / 317.2 MB, free: 52.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.02051, allocations: 33.7 kB / 317.2 MB, free: 52.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.02051, allocations: 0 / 317.2 MB, free: 52.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.02053, allocations: 7.938 kB / 317.2 MB, free: 52.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.02085, allocations: 79.95 kB / 317.3 MB, free: 52.01 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.02086, allocations: 0 / 317.3 MB, free: 52.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.02107, allocations: 12 kB / 317.3 MB, free: 52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.0211, allocations: 19.98 kB / 317.4 MB, free: 51.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000273/0.02137, allocations: 285 kB / 317.6 MB, free: 51.69 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002171/0.02159, allocations: 195.4 kB / 317.8 MB, free: 51.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000363/0.02195, allocations: 288.8 kB / 318.1 MB, free: 51.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.02195, allocations: 4 kB / 318.1 MB, free: 51.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0005291/0.02248, allocations: 404.3 kB / 318.5 MB, free: 50.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.0225, allocations: 29.7 kB / 318.5 MB, free: 50.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.0225, allocations: 3.984 kB / 318.5 MB, free: 50.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.1e-06/0.02251, allocations: 4 kB / 318.5 MB, free: 50.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.02278, allocations: 75.84 kB / 318.6 MB, free: 50.65 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.02279, allocations: 7.938 kB / 318.6 MB, free: 50.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.02299, allocations: 15.98 kB / 318.6 MB, free: 50.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.02301, allocations: 12.06 kB / 318.7 MB, free: 50.61 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 9.263e-05/0.02311, allocations: 296 kB / 318.9 MB, free: 50.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.306e-05/0.02316, allocations: 39.81 kB / 319 MB, free: 50.28 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005494/0.02371, allocations: 318.6 kB / 319.3 MB, free: 49.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.02371, allocations: 7.938 kB / 319.3 MB, free: 49.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.02372, allocations: 0.875 kB / 319.3 MB, free: 49.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.02372, allocations: 3.984 kB / 319.3 MB, free: 49.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.0248, allocations: 0.8841 MB / 320.2 MB, free: 49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.0248, allocations: 0 / 320.2 MB, free: 49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.02514, allocations: 79.89 kB / 320.3 MB, free: 48.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.02514, allocations: 0 / 320.3 MB, free: 48.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.02516, allocations: 12 kB / 320.3 MB, free: 48.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.02517, allocations: 4 kB / 320.3 MB, free: 48.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.02517, allocations: 7.875 kB / 320.3 MB, free: 48.9 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007493/0.02592, allocations: 0.6401 MB / 320.9 MB, free: 48.22 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.02606, allocations: 67.72 kB / 321 MB, free: 48.15 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/0.02612, allocations: 8 kB / 321 MB, free: 48.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.02635, allocations: 19.98 kB / 321 MB, free: 48.12 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.522e-05/0.02644, allocations: 39.88 kB / 321.1 MB, free: 48.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.02646, allocations: 8 kB / 321.1 MB, free: 48.08 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001549/0.02662, allocations: 255 kB / 321.3 MB, free: 47.83 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02662, allocations: 0 / 321.3 MB, free: 47.83 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004975/0.02712, allocations: 151.9 kB / 321.5 MB, free: 47.68 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.000135/0.02725, allocations: 111.1 kB / 321.6 MB, free: 47.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007988/0.02805, allocations: 0.6201 MB / 322.2 MB, free: 46.9 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.02805, allocations: 0 / 322.2 MB, free: 46.9 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.02828, allocations: 164.8 kB / 322.4 MB, free: 46.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.02875, allocations: 59.38 kB / 322.4 MB, free: 46.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.0301, allocations: 0.8636 MB / 323.3 MB, free: 45.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.03023, allocations: 195.6 kB / 323.5 MB, free: 45.55 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.0304, allocations: 42.94 kB / 323.5 MB, free: 45.51 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.296e-05/0.03049, allocations: 32.5 kB / 323.5 MB, free: 45.48 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03049, allocations: 0 / 323.5 MB, free: 45.48 MB / 282.7 MB Notification: Performance of Templates: time 0.007923/0.03841, allocations: 3.944 MB / 327.5 MB, free: 41.58 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=240 -lv LOG_STATS > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.424030840978958]