Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestStandardPatient.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.00183/0.00183, 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.001975/0.001975, allocations: 173.2 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.279/1.279, allocations: 158.6 MB / 184.6 MB, free: 2.902 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.009354/0.009354, allocations: 1.432 MB / 238.3 MB, free: 13.61 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.TestStandardPatient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestStandardPatient") translateModel(MEV.Test.TestStandardPatient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestStandardPatient") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 303.9 MB, free: 61.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.617e-05, allocations: 2.312 kB / 303.9 MB, free: 61.3 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003969/0.003996, allocations: 3.396 MB / 307.3 MB, free: 59.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.005448, allocations: 0.9122 MB / 308.2 MB, free: 58.38 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.005593, allocations: 4.5 kB / 308.2 MB, free: 58.38 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.005708, allocations: 61.8 kB / 308.3 MB, free: 58.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.006018, allocations: 162.3 kB / 308.4 MB, free: 58.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.0064, allocations: 160.3 kB / 308.6 MB, free: 58.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000569/0.006969, allocations: 0.5787 MB / 309.2 MB, free: 57.8 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.007159, allocations: 87.53 kB / 309.2 MB, free: 57.76 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003657/0.007524, allocations: 308.5 kB / 309.5 MB, free: 57.62 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.007781, allocations: 173.4 kB / 309.7 MB, free: 57.57 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.109e-05/0.007862, allocations: 50.53 kB / 309.8 MB, free: 57.56 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.008018, allocations: 72.41 kB / 309.8 MB, free: 57.55 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.086e-05/0.008099, allocations: 94.81 kB / 309.9 MB, free: 57.49 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.008297, allocations: 163.4 kB / 310.1 MB, free: 57.42 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005842/0.008881, allocations: 0.5326 MB / 310.6 MB, free: 57.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.008886, allocations: 1.375 kB / 310.6 MB, free: 57.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.008887, allocations: 0 / 310.6 MB, free: 57.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.008895, allocations: 0 / 310.6 MB, free: 57.18 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001275/0.01017, allocations: 0.8088 MB / 311.4 MB, free: 56.54 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.01021, allocations: 13.42 kB / 311.4 MB, free: 56.54 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.01034, allocations: 70.84 kB / 311.5 MB, free: 56.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.01066, allocations: 252 kB / 311.8 MB, free: 56.29 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.01068, allocations: 30.72 kB / 311.8 MB, free: 56.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.824e-05/0.01074, allocations: 31.28 kB / 311.8 MB, free: 56.26 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005566/0.0113, allocations: 302.5 kB / 312.1 MB, free: 56.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.01131, allocations: 5.656 kB / 312.1 MB, free: 56.13 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.01135, allocations: 14.59 kB / 312.1 MB, free: 56.12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.01136, allocations: 11.19 kB / 312.1 MB, free: 56.12 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005021/0.01186, allocations: 235.8 kB / 312.4 MB, free: 56.04 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.01369, allocations: 1.167 MB / 313.5 MB, free: 55.3 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006532/0.01435, allocations: 277.7 kB / 313.8 MB, free: 55.16 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.01457, allocations: 116.8 kB / 313.9 MB, free: 55.1 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.203e-05/0.01461, allocations: 4.875 kB / 313.9 MB, free: 55.1 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003034/0.01491, allocations: 164.3 kB / 314.1 MB, free: 54.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 2.565e-06/0.01492, allocations: 3.984 kB / 314.1 MB, free: 54.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.002632/0.01755, allocations: 0.6185 MB / 314.7 MB, free: 54.65 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.01757, allocations: 57.22 kB / 314.8 MB, free: 54.58 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.01787, allocations: 399.4 kB / 315.2 MB, free: 54.28 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.01789, allocations: 33.7 kB / 315.2 MB, free: 54.24 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.018, allocations: 271 kB / 315.5 MB, free: 53.97 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.293e-05/0.01805, allocations: 99.22 kB / 315.6 MB, free: 53.87 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.01816, allocations: 84.86 kB / 315.6 MB, free: 53.78 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.955e-05/0.01824, allocations: 0.5235 MB / 316.2 MB, free: 53.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.01844, allocations: 133.3 kB / 316.3 MB, free: 53.11 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.01866, allocations: 207.7 kB / 316.5 MB, free: 52.87 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003936/0.01906, allocations: 323.3 kB / 316.8 MB, free: 52.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.01906, allocations: 4 kB / 316.8 MB, free: 52.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006348/0.01969, allocations: 456.5 kB / 317.3 MB, free: 52.04 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.01972, allocations: 33.7 kB / 317.3 MB, free: 52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.01973, allocations: 4 kB / 317.3 MB, free: 52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001697/0.02142, allocations: 235.5 kB / 317.5 MB, free: 51.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.0216, allocations: 51.91 kB / 317.6 MB, free: 51.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005647/0.02216, allocations: 0.9795 MB / 318.6 MB, free: 50.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.02242, allocations: 31.77 kB / 318.6 MB, free: 50.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.02245, allocations: 12 kB / 318.6 MB, free: 50.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002661/0.02272, allocations: 280.5 kB / 318.9 MB, free: 50.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002068/0.02292, allocations: 196.1 kB / 319.1 MB, free: 50.15 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003428/0.02327, allocations: 287.4 kB / 319.3 MB, free: 49.83 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.02327, allocations: 0 / 319.3 MB, free: 49.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0008671/0.02414, allocations: 484.5 kB / 319.8 MB, free: 49.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.02416, allocations: 29.7 kB / 319.8 MB, free: 49.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.02416, allocations: 4 kB / 319.8 MB, free: 49.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005018/0.02466, allocations: 127.5 kB / 320 MB, free: 49.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.02485, allocations: 43.97 kB / 320 MB, free: 49.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.0268, allocations: 2.59 MB / 322.6 MB, free: 46.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.02708, allocations: 31.83 kB / 322.6 MB, free: 46.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.0271, allocations: 8 kB / 322.6 MB, free: 46.38 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.02722, allocations: 293.1 kB / 322.9 MB, free: 46.08 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.723e-05/0.02728, allocations: 39.84 kB / 323 MB, free: 46.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009272/0.02821, allocations: 382.6 kB / 323.3 MB, free: 45.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.768e-06/0.02821, allocations: 4 kB / 323.3 MB, free: 45.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.02821, allocations: 3.938 kB / 323.4 MB, free: 45.65 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.02822, allocations: 0 / 323.4 MB, free: 45.65 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.02857, allocations: 356.3 kB / 323.7 MB, free: 45.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.02857, allocations: 4 kB / 323.7 MB, free: 45.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.02872, allocations: 23.98 kB / 323.7 MB, free: 45.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.02976, allocations: 190.4 kB / 323.9 MB, free: 45.05 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.02979, allocations: 7.984 kB / 323.9 MB, free: 45.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004661/0.03025, allocations: 0.9763 MB / 324.9 MB, free: 44.04 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.03025, allocations: 3.938 kB / 324.9 MB, free: 44.04 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.03128, allocations: 0.5168 MB / 325.4 MB, free: 43.49 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.03141, allocations: 67.7 kB / 325.5 MB, free: 43.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.03145, allocations: 4 kB / 325.5 MB, free: 43.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.03162, allocations: 15.98 kB / 325.5 MB, free: 43.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.627e-05/0.03171, allocations: 27.89 kB / 325.5 MB, free: 43.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.03172, allocations: 11.94 kB / 325.5 MB, free: 43.37 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001652/0.03189, allocations: 263 kB / 325.8 MB, free: 43.11 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03189, allocations: 0 / 325.8 MB, free: 43.11 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005535/0.03244, allocations: 195.6 kB / 326 MB, free: 42.92 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (standardPatient.compliance.p,standardPatient.compliance.V,standardPatient.compliance.Vb) * Number of discrete variables: 3 ($whenCondition1,opening.T_start,opening.count) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001412/0.03258, allocations: 111.2 kB / 326.1 MB, free: 42.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.03387, allocations: 0.8151 MB / 326.9 MB, free: 41.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.03388, allocations: 8 kB / 326.9 MB, free: 41.92 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.0342, allocations: 147.8 kB / 327.1 MB, free: 41.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.03451, allocations: 35.91 kB / 327.1 MB, free: 41.74 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.03562, allocations: 0.768 MB / 327.9 MB, free: 40.94 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.03573, allocations: 186.8 kB / 328.1 MB, free: 40.74 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.03583, allocations: 25.94 kB / 328.1 MB, free: 40.71 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.03588, allocations: 20.5 kB / 328.1 MB, free: 40.7 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.03588, allocations: 0 / 328.1 MB, free: 40.7 MB / 282.7 MB Notification: Performance of Templates: time 0.007858/0.04374, allocations: 4.279 MB / 332.4 MB, free: 36.45 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestStandardPatient.makefile [Timeout 660] (rm -f MEV_MEV.Test.TestStandardPatient.pipe ; mkfifo MEV_MEV.Test.TestStandardPatient.pipe ; head -c 1048576 < MEV_MEV.Test.TestStandardPatient.pipe >> ../files/MEV_MEV.Test.TestStandardPatient.sim & ./MEV_MEV.Test.TestStandardPatient -abortSlowSimulation -alarm=240 -lv LOG_STATS > MEV_MEV.Test.TestStandardPatient.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.513245420064777]