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.0008356/0.0008356, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0008724/0.0008724, allocations: 169 kB / 23.27 MB, free: 1.223 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.8181/0.8181, allocations: 158.6 MB / 185.2 MB, free: 2.805 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.005433/0.005433, allocations: 1.443 MB / 239 MB, free: 13.59 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.793e-06/1.793e-06, allocations: 0 / 305 MB, free: 60.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.19e-05, allocations: 2.312 kB / 305.1 MB, free: 60.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003089/0.003111, allocations: 3.4 MB / 308.5 MB, free: 58.63 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.004293, allocations: 0.9106 MB / 309.4 MB, free: 58 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.004407, allocations: 9.5 kB / 309.4 MB, free: 58 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.33e-05/0.0045, allocations: 62.47 kB / 309.4 MB, free: 57.96 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.004733, allocations: 165.2 kB / 309.6 MB, free: 57.84 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.005046, allocations: 153 kB / 309.7 MB, free: 57.75 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004238/0.005469, allocations: 0.5868 MB / 310.3 MB, free: 57.42 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.005663, allocations: 94.22 kB / 310.4 MB, free: 57.36 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003022/0.005966, allocations: 301.8 kB / 310.7 MB, free: 57.24 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.006161, allocations: 172.1 kB / 310.9 MB, free: 57.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.114e-05/0.006212, allocations: 46.75 kB / 310.9 MB, free: 57.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.006319, allocations: 72.83 kB / 311 MB, free: 57.17 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.726e-05/0.006377, allocations: 94.66 kB / 311.1 MB, free: 57.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.006488, allocations: 159.4 kB / 311.2 MB, free: 57.04 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000336/0.006824, allocations: 374.3 kB / 311.6 MB, free: 56.84 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.006828, allocations: 1.156 kB / 311.6 MB, free: 56.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.006829, allocations: 4 kB / 311.6 MB, free: 56.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.006834, allocations: 0.7031 kB / 311.6 MB, free: 56.84 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.000685/0.007519, allocations: 0.7636 MB / 312.4 MB, free: 56.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.007555, allocations: 12.98 kB / 312.4 MB, free: 56.22 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.273e-05/0.007638, allocations: 75 kB / 312.5 MB, free: 56.19 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.007833, allocations: 254.3 kB / 312.7 MB, free: 55.96 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.007853, allocations: 26.91 kB / 312.7 MB, free: 55.95 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.35e-05/0.007897, allocations: 34.75 kB / 312.8 MB, free: 55.94 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.00817, allocations: 213.9 kB / 313 MB, free: 55.86 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.008179, allocations: 192 / 313 MB, free: 55.86 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.008199, allocations: 13.14 kB / 313 MB, free: 55.85 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.008208, allocations: 10.97 kB / 313 MB, free: 55.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.008345, allocations: 95.83 kB / 313.1 MB, free: 55.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009966/0.009341, allocations: 0.9428 MB / 314 MB, free: 55.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.009603, allocations: 157.1 kB / 314.2 MB, free: 55.08 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.512e-05/0.009668, allocations: 58.08 kB / 314.3 MB, free: 55.05 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.00969, allocations: 10.03 kB / 314.3 MB, free: 55.05 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.009825, allocations: 107.3 kB / 314.4 MB, free: 54.96 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.984e-06/0.009827, allocations: 1 kB / 314.4 MB, free: 54.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.001178/0.011, allocations: 484.7 kB / 314.8 MB, free: 54.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.01103, allocations: 53.88 kB / 314.9 MB, free: 54.64 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.01119, allocations: 316 kB / 315.2 MB, free: 54.39 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.01121, allocations: 31.95 kB / 315.2 MB, free: 54.36 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.341e-05/0.0113, allocations: 258.1 kB / 315.5 MB, free: 54.12 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.01134, allocations: 97.81 kB / 315.6 MB, free: 54.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.982e-05/0.01141, allocations: 66.33 kB / 315.7 MB, free: 53.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.233e-05/0.01147, allocations: 0.5104 MB / 316.2 MB, free: 53.47 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.907e-05/0.01155, allocations: 72.56 kB / 316.2 MB, free: 53.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.926e-05/0.01164, allocations: 143.5 kB / 316.4 MB, free: 53.27 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.01179, allocations: 199.6 kB / 316.6 MB, free: 53.11 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01179, allocations: 0 / 316.6 MB, free: 53.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002819/0.01207, allocations: 315.9 kB / 316.9 MB, free: 52.86 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.0121, allocations: 33.69 kB / 316.9 MB, free: 52.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.0121, allocations: 4 kB / 316.9 MB, free: 52.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000676/0.01278, allocations: 215.9 kB / 317.1 MB, free: 52.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.389e-05/0.01287, allocations: 39.98 kB / 317.2 MB, free: 52.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002881/0.01316, allocations: 0.8825 MB / 318 MB, free: 51.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.01328, allocations: 27.83 kB / 318.1 MB, free: 51.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.01329, allocations: 12 kB / 318.1 MB, free: 51.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.798e-05/0.01338, allocations: 192.5 kB / 318.3 MB, free: 51.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.42e-05/0.01344, allocations: 143.8 kB / 318.4 MB, free: 51.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001124/0.01356, allocations: 179.4 kB / 318.6 MB, free: 51.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.01356, allocations: 0 / 318.6 MB, free: 51.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0003375/0.01389, allocations: 344.4 kB / 318.9 MB, free: 50.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.01391, allocations: 41.88 kB / 319 MB, free: 50.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.01392, allocations: 0 / 319 MB, free: 50.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002333/0.01415, allocations: 95.59 kB / 319.1 MB, free: 50.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.589e-05/0.01425, allocations: 51.91 kB / 319.1 MB, free: 50.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009921/0.01524, allocations: 2.305 MB / 321.4 MB, free: 48.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.01535, allocations: 27.83 kB / 321.4 MB, free: 48.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.01536, allocations: 12 kB / 321.5 MB, free: 48.01 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.321e-05/0.01542, allocations: 284 kB / 321.7 MB, free: 47.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.01545, allocations: 35.81 kB / 321.8 MB, free: 47.69 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.01582, allocations: 266.8 kB / 322 MB, free: 47.42 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01582, allocations: 11.97 kB / 322 MB, free: 47.41 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01582, allocations: 4 kB / 322 MB, free: 47.41 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01582, allocations: 0 / 322 MB, free: 47.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.01597, allocations: 220.9 kB / 322.3 MB, free: 47.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01597, allocations: 4 kB / 322.3 MB, free: 47.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.983e-05/0.01605, allocations: 27.92 kB / 322.3 MB, free: 47.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004193/0.01647, allocations: 163.5 kB / 322.4 MB, free: 46.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.01649, allocations: 11.98 kB / 322.5 MB, free: 46.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002184/0.01671, allocations: 0.8771 MB / 323.3 MB, free: 46.05 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01671, allocations: 4 kB / 323.3 MB, free: 46.05 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.01708, allocations: 337.7 kB / 323.7 MB, free: 45.69 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/0.01715, allocations: 71.7 kB / 323.7 MB, free: 45.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.01718, allocations: 8 kB / 323.7 MB, free: 45.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.246e-05/0.01725, allocations: 11.98 kB / 323.8 MB, free: 45.6 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.01729, allocations: 23.95 kB / 323.8 MB, free: 45.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/0.0173, allocations: 0 / 323.8 MB, free: 45.58 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.365e-05/0.01736, allocations: 210.9 kB / 324 MB, free: 45.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01736, allocations: 0 / 324 MB, free: 45.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003455/0.01771, allocations: 203.4 kB / 324.2 MB, free: 45.18 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.000106/0.01781, allocations: 112.7 kB / 324.3 MB, free: 45.05 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005232/0.01834, allocations: 0.631 MB / 324.9 MB, free: 44.36 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01834, allocations: 0.75 kB / 324.9 MB, free: 44.36 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.01846, allocations: 95.31 kB / 325 MB, free: 44.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.01865, allocations: 28.64 kB / 325.1 MB, free: 44.24 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009543/0.01961, allocations: 0.7387 MB / 325.8 MB, free: 43.47 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.517e-05/0.01964, allocations: 96.94 kB / 325.9 MB, free: 43.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.504e-05/0.01971, allocations: 25.94 kB / 325.9 MB, free: 43.33 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/0.01978, allocations: 98.19 kB / 326 MB, free: 43.23 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01978, allocations: 0 / 326 MB, free: 43.23 MB / 282.7 MB Notification: Performance of Templates: time 0.005604/0.02538, allocations: 4.575 MB / 330.6 MB, free: 38.7 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.7741772402077913]