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.0008866/0.0008866, allocations: 92.22 kB / 19.65 MB, free: 276 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.001071/0.001071, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.9309/0.9309, allocations: 158.6 MB / 184.9 MB, free: 2.922 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.0107/0.0107, allocations: 1.436 MB / 238.7 MB, free: 13.66 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 2.465e-06/2.465e-06, allocations: 3.938 kB / 304.6 MB, free: 61.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.72e-05, allocations: 2.312 kB / 304.6 MB, free: 61.02 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003563/0.00359, allocations: 3.433 MB / 308 MB, free: 58.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.005149, allocations: 0.9146 MB / 309 MB, free: 58.1 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.00532, allocations: 4.406 kB / 309 MB, free: 58.1 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.005434, allocations: 57.72 kB / 309 MB, free: 58.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003164/0.005751, allocations: 169.7 kB / 309.2 MB, free: 57.94 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005065/0.006257, allocations: 162.5 kB / 309.3 MB, free: 57.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000667/0.006924, allocations: 0.5747 MB / 309.9 MB, free: 57.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.007126, allocations: 90.44 kB / 310 MB, free: 57.47 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004155/0.007541, allocations: 313.4 kB / 310.3 MB, free: 57.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.007801, allocations: 164.7 kB / 310.5 MB, free: 57.29 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.667e-05/0.007868, allocations: 47.03 kB / 310.5 MB, free: 57.29 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.008011, allocations: 72.2 kB / 310.6 MB, free: 57.28 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.316e-05/0.008074, allocations: 102.4 kB / 310.7 MB, free: 57.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.008236, allocations: 162.1 kB / 310.8 MB, free: 57.13 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004914/0.008727, allocations: 372.9 kB / 311.2 MB, free: 56.94 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.00873, allocations: 0 / 311.2 MB, free: 56.94 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.008732, allocations: 0 / 311.2 MB, free: 56.94 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.008742, allocations: 0 / 311.2 MB, free: 56.94 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.001043/0.009785, allocations: 0.7695 MB / 312 MB, free: 56.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.009826, allocations: 14.58 kB / 312 MB, free: 56.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.009944, allocations: 72.97 kB / 312.1 MB, free: 56.29 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.01022, allocations: 253 kB / 312.3 MB, free: 56.06 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.01025, allocations: 21.78 kB / 312.3 MB, free: 56.05 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.454e-05/0.0103, allocations: 36.03 kB / 312.4 MB, free: 56.04 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.01071, allocations: 234.5 kB / 312.6 MB, free: 55.95 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.01072, allocations: 192 / 312.6 MB, free: 55.95 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.01074, allocations: 14.28 kB / 312.6 MB, free: 55.94 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.01075, allocations: 17.06 kB / 312.6 MB, free: 55.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000219/0.01097, allocations: 117.2 kB / 312.7 MB, free: 55.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.01218, allocations: 0.9246 MB / 313.7 MB, free: 55.25 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.01256, allocations: 171.8 kB / 313.8 MB, free: 55.17 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.01266, allocations: 62.75 kB / 313.9 MB, free: 55.14 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.01269, allocations: 16.36 kB / 313.9 MB, free: 55.13 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.01287, allocations: 117 kB / 314 MB, free: 55.04 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.873e-06/0.01287, allocations: 0 / 314 MB, free: 55.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.001387/0.01426, allocations: 499.5 kB / 314.5 MB, free: 54.78 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.0143, allocations: 54.31 kB / 314.6 MB, free: 54.71 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.0145, allocations: 326.1 kB / 314.9 MB, free: 54.46 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.01452, allocations: 30.77 kB / 314.9 MB, free: 54.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.509e-05/0.0146, allocations: 250.6 kB / 315.2 MB, free: 54.2 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.01465, allocations: 94.36 kB / 315.3 MB, free: 54.11 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.289e-05/0.01473, allocations: 78.33 kB / 315.3 MB, free: 54.05 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.092e-05/0.01479, allocations: 0.5071 MB / 315.8 MB, free: 53.54 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.0149, allocations: 77.23 kB / 315.9 MB, free: 53.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.01502, allocations: 152.6 kB / 316.1 MB, free: 53.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.01524, allocations: 208.5 kB / 316.3 MB, free: 53.17 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.01525, allocations: 0 / 316.3 MB, free: 53.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006013/0.01585, allocations: 340.3 kB / 316.6 MB, free: 52.96 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.01588, allocations: 32.64 kB / 316.6 MB, free: 52.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.01589, allocations: 5.312 kB / 316.6 MB, free: 52.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.01716, allocations: 225.7 kB / 316.9 MB, free: 52.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.01733, allocations: 47.91 kB / 316.9 MB, free: 52.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004889/0.01782, allocations: 0.8866 MB / 317.8 MB, free: 51.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.018, allocations: 31.83 kB / 317.8 MB, free: 51.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.01801, allocations: 12 kB / 317.8 MB, free: 51.72 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001483/0.01816, allocations: 200.5 kB / 318 MB, free: 51.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.329e-05/0.01826, allocations: 144.1 kB / 318.2 MB, free: 51.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001599/0.01842, allocations: 191.5 kB / 318.4 MB, free: 51.12 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-06/0.01842, allocations: 3.984 kB / 318.4 MB, free: 51.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0004216/0.01884, allocations: 364.6 kB / 318.7 MB, free: 50.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.01886, allocations: 33.7 kB / 318.7 MB, free: 50.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.01886, allocations: 0 / 318.7 MB, free: 50.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002692/0.01913, allocations: 115.5 kB / 318.9 MB, free: 50.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.01924, allocations: 43.98 kB / 318.9 MB, free: 50.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.02052, allocations: 2.352 MB / 321.3 MB, free: 48.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.02066, allocations: 27.84 kB / 321.3 MB, free: 48.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.02067, allocations: 14.03 kB / 321.3 MB, free: 48.02 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 7.938e-05/0.02075, allocations: 289.5 kB / 321.6 MB, free: 47.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.02078, allocations: 43.8 kB / 321.6 MB, free: 47.69 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00046/0.02124, allocations: 282.7 kB / 321.9 MB, free: 47.41 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.02125, allocations: 0 / 321.9 MB, free: 47.41 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.02125, allocations: 4 kB / 321.9 MB, free: 47.4 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.02126, allocations: 0 / 321.9 MB, free: 47.4 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.02148, allocations: 272.3 kB / 322.2 MB, free: 47.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.02148, allocations: 0 / 322.2 MB, free: 47.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.825e-05/0.02157, allocations: 27.98 kB / 322.2 MB, free: 47.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004683/0.02204, allocations: 163.5 kB / 322.4 MB, free: 46.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.02206, allocations: 12 kB / 322.4 MB, free: 46.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002877/0.02234, allocations: 0.8927 MB / 323.3 MB, free: 45.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.02235, allocations: 3.938 kB / 323.3 MB, free: 45.97 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004546/0.0228, allocations: 361.9 kB / 323.6 MB, free: 45.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.062e-05/0.02289, allocations: 67.7 kB / 323.7 MB, free: 45.53 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.02292, allocations: 8 kB / 323.7 MB, free: 45.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-05/0.02299, allocations: 11.98 kB / 323.7 MB, free: 45.51 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.112e-05/0.02306, allocations: 23.89 kB / 323.7 MB, free: 45.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.02307, allocations: 11.94 kB / 323.7 MB, free: 45.47 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.02319, allocations: 223 kB / 324 MB, free: 45.26 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.02319, allocations: 0 / 324 MB, free: 45.26 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004147/0.0236, allocations: 191.6 kB / 324.1 MB, free: 45.07 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.0001306/0.02373, allocations: 107.2 kB / 324.2 MB, free: 44.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007056/0.02444, allocations: 0.6669 MB / 324.9 MB, free: 44.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.02444, allocations: 0 / 324.9 MB, free: 44.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.02459, allocations: 107.3 kB / 325 MB, free: 44.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.02481, allocations: 28.64 kB / 325 MB, free: 44.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.02599, allocations: 0.7449 MB / 325.8 MB, free: 43.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.968e-05/0.02604, allocations: 96.94 kB / 325.9 MB, free: 43.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.024e-05/0.02611, allocations: 29.92 kB / 325.9 MB, free: 43.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.02615, allocations: 16.5 kB / 325.9 MB, free: 43.16 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.02615, allocations: 0 / 325.9 MB, free: 43.16 MB / 282.7 MB Notification: Performance of Templates: time 0.006057/0.0322, allocations: 4.294 MB / 330.2 MB, free: 38.91 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: 2.9697235389612615]