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.0009225/0.0009225, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009239/0.0009239, allocations: 173 kB / 23.03 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.8105/0.8105, allocations: 158.6 MB / 184.9 MB, free: 2.934 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.006621/0.006621, allocations: 1.447 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 1.703e-06/1.703e-06, allocations: 0 / 304.6 MB, free: 60.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.29e-05, allocations: 4.516 kB / 304.6 MB, free: 60.95 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.002972/0.002995, allocations: 3.445 MB / 308 MB, free: 58.65 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.004333, allocations: 0.9153 MB / 309 MB, free: 58.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.004452, allocations: 8.062 kB / 309 MB, free: 58.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.986e-05/0.004551, allocations: 59.42 kB / 309 MB, free: 57.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.004794, allocations: 168.2 kB / 309.2 MB, free: 57.86 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.005154, allocations: 158.9 kB / 309.3 MB, free: 57.76 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000438/0.005592, allocations: 0.5784 MB / 309.9 MB, free: 57.44 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.00576, allocations: 86.7 kB / 310 MB, free: 57.39 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003043/0.006064, allocations: 309.4 kB / 310.3 MB, free: 57.26 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.006281, allocations: 163.6 kB / 310.5 MB, free: 57.21 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.634e-05/0.006337, allocations: 48.12 kB / 310.5 MB, free: 57.21 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.006457, allocations: 78.83 kB / 310.6 MB, free: 57.2 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.175e-05/0.006519, allocations: 98.8 kB / 310.7 MB, free: 57.12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.006654, allocations: 163.4 kB / 310.8 MB, free: 57.05 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.007024, allocations: 371.6 kB / 311.2 MB, free: 56.86 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.007027, allocations: 0 / 311.2 MB, free: 56.86 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.007028, allocations: 1.094 kB / 311.2 MB, free: 56.86 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.007034, allocations: 0 / 311.2 MB, free: 56.86 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.0008923/0.007927, allocations: 0.7672 MB / 312 MB, free: 56.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.007964, allocations: 13.2 kB / 312 MB, free: 56.24 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.008069, allocations: 74.77 kB / 312.1 MB, free: 56.21 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.008299, allocations: 250.8 kB / 312.3 MB, free: 55.99 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.00832, allocations: 24.19 kB / 312.3 MB, free: 55.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.008365, allocations: 33.06 kB / 312.4 MB, free: 55.97 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.008699, allocations: 238.9 kB / 312.6 MB, free: 55.87 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.00871, allocations: 4.188 kB / 312.6 MB, free: 55.87 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.008734, allocations: 15.38 kB / 312.6 MB, free: 55.86 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.008746, allocations: 11.88 kB / 312.6 MB, free: 55.85 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.008958, allocations: 117.2 kB / 312.7 MB, free: 55.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.01005, allocations: 0.9218 MB / 313.7 MB, free: 55.21 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.01038, allocations: 171.7 kB / 313.8 MB, free: 55.12 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.835e-05/0.01047, allocations: 70.09 kB / 313.9 MB, free: 55.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.01049, allocations: 3.062 kB / 313.9 MB, free: 55.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.01064, allocations: 127.5 kB / 314 MB, free: 54.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.944e-06/0.01064, allocations: 0 / 314 MB, free: 54.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.001295/0.01194, allocations: 493 kB / 314.5 MB, free: 54.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.01196, allocations: 63.05 kB / 314.6 MB, free: 54.66 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.01213, allocations: 322 kB / 314.9 MB, free: 54.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.01215, allocations: 29.7 kB / 314.9 MB, free: 54.38 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.885e-05/0.01223, allocations: 258.3 kB / 315.2 MB, free: 54.14 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.01227, allocations: 93.89 kB / 315.3 MB, free: 54.06 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.639e-05/0.01234, allocations: 70.72 kB / 315.3 MB, free: 54 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.375e-05/0.01239, allocations: 0.5109 MB / 315.8 MB, free: 53.49 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.786e-05/0.01249, allocations: 77.39 kB / 315.9 MB, free: 53.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.0126, allocations: 148 kB / 316.1 MB, free: 53.29 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.01281, allocations: 220.8 kB / 316.3 MB, free: 53.11 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01281, allocations: 0 / 316.3 MB, free: 53.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003725/0.01318, allocations: 333 kB / 316.6 MB, free: 52.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.01321, allocations: 32.33 kB / 316.6 MB, free: 52.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.01322, allocations: 5.406 kB / 316.6 MB, free: 52.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007973/0.01401, allocations: 217.2 kB / 316.8 MB, free: 52.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.01412, allocations: 51.91 kB / 316.9 MB, free: 52.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003346/0.01445, allocations: 0.8874 MB / 317.8 MB, free: 51.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.01457, allocations: 23.84 kB / 317.8 MB, free: 51.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.01459, allocations: 19.98 kB / 317.8 MB, free: 51.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001147/0.0147, allocations: 200.5 kB / 318 MB, free: 51.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.648e-05/0.01479, allocations: 144.1 kB / 318.2 MB, free: 51.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001474/0.01494, allocations: 199.4 kB / 318.4 MB, free: 51.11 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.243e-06/0.01494, allocations: 0 / 318.4 MB, free: 51.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0003847/0.01532, allocations: 364.6 kB / 318.7 MB, free: 50.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.01533, allocations: 33.7 kB / 318.7 MB, free: 50.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-06/0.01534, allocations: 0 / 318.7 MB, free: 50.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002387/0.01558, allocations: 103.6 kB / 318.9 MB, free: 50.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.872e-05/0.01567, allocations: 51.84 kB / 318.9 MB, free: 50.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.01671, allocations: 2.351 MB / 321.3 MB, free: 48.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.01682, allocations: 31.77 kB / 321.3 MB, free: 48.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.01683, allocations: 16 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 6.62e-05/0.0169, allocations: 284 kB / 321.6 MB, free: 47.74 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.01693, allocations: 43.75 kB / 321.6 MB, free: 47.7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004143/0.01734, allocations: 278.7 kB / 321.9 MB, free: 47.41 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.01734, allocations: 4 kB / 321.9 MB, free: 47.41 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.01735, allocations: 4 kB / 321.9 MB, free: 47.41 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01735, allocations: 0 / 321.9 MB, free: 47.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.01753, allocations: 268.3 kB / 322.2 MB, free: 47.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01753, allocations: 3.984 kB / 322.2 MB, free: 47.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.517e-05/0.01762, allocations: 27.98 kB / 322.2 MB, free: 47.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004336/0.01805, allocations: 163.5 kB / 322.4 MB, free: 46.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.01807, allocations: 15.98 kB / 322.4 MB, free: 46.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000257/0.01833, allocations: 0.8927 MB / 323.3 MB, free: 45.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01833, allocations: 3.938 kB / 323.3 MB, free: 45.97 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.01877, allocations: 357.8 kB / 323.6 MB, free: 45.6 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.01885, allocations: 71.7 kB / 323.7 MB, free: 45.53 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.01888, allocations: 4 kB / 323.7 MB, free: 45.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.478e-05/0.01895, allocations: 15.98 kB / 323.7 MB, free: 45.51 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.01901, allocations: 23.92 kB / 323.7 MB, free: 45.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.01902, allocations: 12 kB / 323.7 MB, free: 45.47 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.433e-05/0.01912, allocations: 219 kB / 324 MB, free: 45.26 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01912, allocations: 0 / 324 MB, free: 45.26 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003356/0.01945, 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.0001214/0.01958, allocations: 103.2 kB / 324.2 MB, free: 44.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006396/0.02022, allocations: 0.6746 MB / 324.9 MB, free: 44.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.02022, allocations: 0 / 324.9 MB, free: 44.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.02036, allocations: 99.38 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.0002/0.02056, allocations: 31.48 kB / 325 MB, free: 44.1 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.02159, allocations: 0.7506 MB / 325.8 MB, free: 43.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.211e-05/0.02163, allocations: 100.9 kB / 325.9 MB, free: 43.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.553e-05/0.0217, allocations: 25.92 kB / 325.9 MB, free: 43.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.02173, allocations: 16.5 kB / 325.9 MB, free: 43.16 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02174, allocations: 4 kB / 325.9 MB, free: 43.16 MB / 282.7 MB Notification: Performance of Templates: time 0.005823/0.02756, allocations: 4.449 MB / 330.4 MB, free: 38.75 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.6713400278240442]