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.001414/0.001414, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001374/0.001374, allocations: 218.8 kB / 22.99 MB, free: 4.914 MB / 14.72 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.334/1.334, allocations: 207.7 MB / 233.8 MB, free: 9.812 MB / 190.1 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.009049/0.009049, allocations: 1.966 MB / 288.1 MB, free: 3.68 MB / 222.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 77.97 kB / 403 MB, free: 50.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06434/0.06665, allocations: 49.7 MB / 452.7 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003278/0.06992, allocations: 3.131 MB / 455.9 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.07099, allocations: 0.8577 MB / 456.7 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.07114, allocations: 4 kB / 456.7 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.07129, allocations: 59.36 kB / 456.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.0715, allocations: 150.7 kB / 456.9 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.07177, allocations: 127.8 kB / 457 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.07212, allocations: 0.5134 MB / 457.6 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.07229, allocations: 101.3 kB / 457.7 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.07244, allocations: 207.2 kB / 457.9 MB, free: 424 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.07262, allocations: 175.1 kB / 458 MB, free: 248 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.205e-05/0.07269, allocations: 44 kB / 458.1 MB, free: 204 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.594e-05/0.07278, allocations: 47.98 kB / 458.1 MB, free: 156 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.385e-05/0.07284, allocations: 91.64 kB / 458.2 MB, free: 64 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.07304, allocations: 187.3 kB / 458.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005493/0.07358, allocations: 478.1 kB / 458.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.07359, allocations: 3.984 kB / 458.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.07359, allocations: 0 / 458.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.0736, allocations: 0 / 458.9 MB, free: 15.4 MB / 334.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.001366/0.07497, allocations: 0.68 MB / 459.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.075, allocations: 8.031 kB / 459.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.776e-05/0.0751, allocations: 48.66 kB / 459.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004332/0.07553, allocations: 253.3 kB / 459.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.07557, allocations: 29.02 kB / 459.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.444e-05/0.07563, allocations: 39.89 kB / 459.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006529/0.07629, allocations: 345.5 kB / 460.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.0763, allocations: 3.984 kB / 460.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.07634, allocations: 16 kB / 460.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.07635, allocations: 8 kB / 460.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000595/0.07694, allocations: 238.4 kB / 460.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.07845, allocations: 0.7386 MB / 461.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006122/0.07907, allocations: 255.2 kB / 461.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.07934, allocations: 102.9 kB / 461.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.07936, allocations: 8.172 kB / 461.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004282/0.07979, allocations: 230.9 kB / 461.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.763e-06/0.07979, allocations: 0 / 461.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002531/0.08232, allocations: 1.085 MB / 462.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.08237, allocations: 59.39 kB / 463 MB, free: 11.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.08268, allocations: 276.2 kB / 463.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.08272, allocations: 29.7 kB / 463.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.08287, allocations: 204.7 kB / 463.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.08299, allocations: 130.9 kB / 463.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.08311, allocations: 70.03 kB / 463.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.08328, allocations: 342.8 kB / 464 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/0.08358, allocations: 140.1 kB / 464.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.08392, allocations: 183.5 kB / 464.3 MB, free: 9.668 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005731/0.08449, allocations: 285.8 kB / 464.6 MB, free: 9.371 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.08449, allocations: 0 / 464.6 MB, free: 9.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007716/0.08526, allocations: 407.9 kB / 465 MB, free: 8.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.0853, allocations: 33.64 kB / 465 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.0853, allocations: 0 / 465 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.08532, allocations: 4 kB / 465 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.08567, allocations: 75.89 kB / 465.1 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.08568, allocations: 3.938 kB / 465.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.08592, allocations: 24.05 kB / 465.1 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.08595, allocations: 15.98 kB / 465.2 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000397/0.08635, allocations: 250.2 kB / 465.4 MB, free: 8.543 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003168/0.08667, allocations: 178.6 kB / 465.6 MB, free: 8.355 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005293/0.0872, allocations: 272.2 kB / 465.8 MB, free: 8.074 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.0872, allocations: 4 kB / 465.8 MB, free: 8.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007389/0.08794, allocations: 412.1 kB / 466.2 MB, free: 7.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.08796, allocations: 33.7 kB / 466.3 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.08797, allocations: 3.938 kB / 466.3 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.749e-06/0.08797, allocations: 4 kB / 466.3 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.08829, allocations: 67.91 kB / 466.3 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.0883, allocations: 4 kB / 466.4 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.08853, allocations: 32.02 kB / 466.4 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.08856, allocations: 12 kB / 466.4 MB, free: 7.488 MB / 334.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.0001459/0.08871, allocations: 200.2 kB / 466.6 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.066e-05/0.08877, allocations: 39.7 kB / 466.6 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007232/0.08949, allocations: 335.7 kB / 467 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.08949, allocations: 4 kB / 467 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.0895, allocations: 0 / 467 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.0895, allocations: 7.984 kB / 467 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.09081, allocations: 0.7455 MB / 467.7 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.09082, allocations: 4 kB / 467.7 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/0.0912, allocations: 75.83 kB / 467.8 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.09121, allocations: 4 kB / 467.8 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.09124, allocations: 12 kB / 467.8 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.09124, allocations: 16.08 kB / 467.8 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.09125, allocations: 0 / 467.8 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.09231, allocations: 0.5671 MB / 468.4 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.09246, allocations: 67.75 kB / 468.5 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.09251, allocations: 12 kB / 468.5 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.09278, allocations: 23.97 kB / 468.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.109e-05/0.09286, allocations: 35.89 kB / 468.5 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.09289, allocations: 19.98 kB / 468.5 MB, free: 5.234 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002143/0.0931, allocations: 195.1 kB / 468.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0931, allocations: 0 / 468.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005129/0.09361, allocations: 148 kB / 468.9 MB, free: 4.898 MB / 334.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.0001395/0.09375, allocations: 99.45 kB / 469 MB, free: 4.789 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.09484, allocations: 0.5842 MB / 469.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.09484, allocations: 4 kB / 469.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.09518, allocations: 139.8 kB / 469.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.09564, allocations: 52.95 kB / 469.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.09746, allocations: 0.9929 MB / 470.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.09766, allocations: 191.6 kB / 470.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.09777, allocations: 35.44 kB / 471 MB, free: 2.691 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.09777, allocations: 3.938 kB / 471 MB, free: 2.688 MB / 334.1 MB Notification: Performance of Templates: time 0.007292/0.1051, allocations: 4.395 MB / 475.4 MB, free: 14.28 MB / 350.1 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: 6.5631616888567805] Failed to read output from testmodel.py, exit status != 0: 0.11241773329675198 0.12791784599999995 0.05129263599999994 Calling exit ...