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.0006468/0.0006468, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008621/0.001509, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007276/0.0007276, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009472/0.001675, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.7695/0.7695, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.142/0.9115, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.01268/0.01268, allocations: 1.428 MB / 222.8 MB, free: 15.18 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002361/0.01504, allocations: 0.9521 MB / 223.8 MB, free: 14.23 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.553e-06/1.553e-06, allocations: 0 / 225.1 MB, free: 12.94 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.963e-05, allocations: 2.312 kB / 225.1 MB, free: 12.94 MB / 234.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003387/0.003407, allocations: 3.469 MB / 228.5 MB, free: 9.441 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.004721, allocations: 0.9354 MB / 229.5 MB, free: 8.496 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.004837, allocations: 7.938 kB / 229.5 MB, free: 8.488 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.263e-05/0.004929, allocations: 67.34 kB / 229.6 MB, free: 8.422 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.005136, allocations: 166.5 kB / 229.7 MB, free: 8.258 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.005393, allocations: 155.6 kB / 229.9 MB, free: 8.105 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005007/0.005894, allocations: 0.5793 MB / 230.4 MB, free: 7.523 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.006044, allocations: 93.66 kB / 230.5 MB, free: 7.426 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/0.006377, allocations: 355.8 kB / 230.9 MB, free: 7.078 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.006561, allocations: 171.5 kB / 231.1 MB, free: 6.91 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.006607, allocations: 48 kB / 231.1 MB, free: 6.863 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.006722, allocations: 71.97 kB / 231.2 MB, free: 6.793 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.169e-05/0.006774, allocations: 75.75 kB / 231.2 MB, free: 6.719 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.006878, allocations: 139.8 kB / 231.4 MB, free: 6.582 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.007175, allocations: 330.9 kB / 231.7 MB, free: 6.258 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/0.007187, allocations: 0 / 231.7 MB, free: 6.258 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.007188, allocations: 0 / 231.7 MB, free: 6.258 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.007202, allocations: 4 kB / 231.7 MB, free: 6.254 MB / 234.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.0009409/0.008143, allocations: 0.7328 MB / 232.4 MB, free: 5.492 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.008171, allocations: 11.89 kB / 232.5 MB, free: 5.48 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/0.008241, allocations: 56.89 kB / 232.5 MB, free: 5.426 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.00845, allocations: 200.6 kB / 232.7 MB, free: 5.199 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.008468, allocations: 29.02 kB / 232.7 MB, free: 5.172 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.008508, allocations: 36.38 kB / 232.8 MB, free: 5.137 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.008761, allocations: 215.3 kB / 233 MB, free: 4.918 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.008772, allocations: 4.125 kB / 233 MB, free: 4.914 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.008792, allocations: 16.38 kB / 233 MB, free: 4.898 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.0088, allocations: 11.94 kB / 233 MB, free: 4.887 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.00891, allocations: 76.55 kB / 233.1 MB, free: 4.812 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000887/0.009797, allocations: 0.7084 MB / 233.8 MB, free: 4.074 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.01007, allocations: 161 kB / 233.9 MB, free: 3.91 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.611e-05/0.01012, allocations: 48.83 kB / 234 MB, free: 3.859 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.01015, allocations: 7.984 kB / 234 MB, free: 3.852 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.01028, allocations: 111.3 kB / 234.1 MB, free: 3.73 MB / 234.7 MB Notification: Performance of pre-optimization done (n=25): time 1.763e-06/0.01028, allocations: 0 / 234.1 MB, free: 3.73 MB / 234.7 MB Notification: Performance of matching and sorting (n=25): time 0.001013/0.0113, allocations: 437.7 kB / 234.5 MB, free: 3.293 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.01132, allocations: 55.41 kB / 234.6 MB, free: 3.227 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.01147, allocations: 251 kB / 234.8 MB, free: 2.969 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.01149, allocations: 33.7 kB / 234.9 MB, free: 2.93 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.973e-05/0.01157, allocations: 196.8 kB / 235.1 MB, free: 2.734 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.01162, allocations: 87.25 kB / 235.1 MB, free: 2.648 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.606e-05/0.01168, allocations: 69.62 kB / 235.2 MB, free: 2.574 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0003505/0.01203, allocations: 342.8 kB / 235.6 MB, free: 2.23 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.511e-05/0.0121, allocations: 58.55 kB / 235.6 MB, free: 2.164 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.923e-05/0.01218, allocations: 115.4 kB / 235.7 MB, free: 2.023 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.01232, allocations: 175.5 kB / 235.9 MB, free: 1.824 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01232, allocations: 3.938 kB / 235.9 MB, free: 1.82 MB / 234.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002422/0.01256, allocations: 261.6 kB / 236.2 MB, free: 1.543 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.01259, allocations: 37.89 kB / 236.2 MB, free: 1.5 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.0126, allocations: 0 / 236.2 MB, free: 1.5 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006619/0.01326, allocations: 281.8 kB / 236.5 MB, free: 1.203 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.01338, allocations: 59.91 kB / 236.5 MB, free: 1.145 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003188/0.0137, allocations: 0.5952 MB / 237.1 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.01382, allocations: 35.77 kB / 237.2 MB, free: 500 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.01383, allocations: 12 kB / 237.2 MB, free: 488 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001026/0.01393, allocations: 137.8 kB / 237.3 MB, free: 340 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.646e-05/0.01401, allocations: 124 kB / 237.4 MB, free: 188 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001382/0.01415, allocations: 167.9 kB / 237.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.323e-06/0.01415, allocations: 0 / 237.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0003237/0.01447, allocations: 289.6 kB / 237.9 MB, free: 15.69 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.01449, allocations: 33.7 kB / 237.9 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-06/0.0145, allocations: 0 / 237.9 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004237/0.01492, allocations: 92.77 kB / 238 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.01518, allocations: 59.91 kB / 238 MB, free: 15.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.0168, allocations: 1.61 MB / 239.7 MB, free: 13.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.0169, allocations: 31.83 kB / 239.7 MB, free: 13.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.01691, allocations: 4 kB / 239.7 MB, free: 13.76 MB / 250.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 8.565e-05/0.017, allocations: 208.1 kB / 239.9 MB, free: 13.55 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.01703, allocations: 19.98 kB / 239.9 MB, free: 13.53 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.01736, allocations: 219.7 kB / 240.1 MB, free: 13.31 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.01737, allocations: 7.984 kB / 240.1 MB, free: 13.3 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/0.01737, allocations: 0 / 240.1 MB, free: 13.3 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-06/0.01737, allocations: 0 / 240.1 MB, free: 13.3 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.01753, allocations: 197.6 kB / 240.3 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01753, allocations: 3.984 kB / 240.3 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.01764, allocations: 39.92 kB / 240.4 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.901e-05/0.01771, allocations: 47.72 kB / 240.4 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004033/0.01811, allocations: 156.7 kB / 240.6 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.01812, allocations: 8 kB / 240.6 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002649/0.01839, allocations: 0.6069 MB / 241.2 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.01839, allocations: 3.984 kB / 241.2 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.01874, allocations: 273.6 kB / 241.5 MB, free: 11.91 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.01877, allocations: 7.984 kB / 241.5 MB, free: 11.9 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.72e-05/0.01884, allocations: 12 kB / 241.5 MB, free: 11.89 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.01888, allocations: 27.88 kB / 241.5 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.01889, allocations: 7.938 kB / 241.5 MB, free: 11.86 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.866e-05/0.01896, allocations: 100.6 kB / 241.6 MB, free: 11.75 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01896, allocations: 0 / 241.6 MB, free: 11.75 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003037/0.01926, allocations: 195.6 kB / 241.8 MB, free: 11.56 MB / 250.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.0001294/0.01939, allocations: 84.36 kB / 241.9 MB, free: 11.47 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005535/0.01995, allocations: 0.5347 MB / 242.4 MB, free: 10.89 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/0.01996, allocations: 4 kB / 242.4 MB, free: 10.88 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.02011, allocations: 108.8 kB / 242.5 MB, free: 10.77 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.02033, allocations: 199.5 kB / 242.7 MB, free: 10.55 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/0.02388, allocations: 0.6865 MB / 243.4 MB, free: 9.84 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.585e-05/0.02393, allocations: 104.9 kB / 243.5 MB, free: 9.719 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.818e-05/0.02401, allocations: 22.3 kB / 243.5 MB, free: 9.695 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.729e-05/0.0241, allocations: 79.36 kB / 243.6 MB, free: 9.617 MB / 250.7 MB Notification: Performance of SimCode: time 8.91e-07/0.0241, allocations: 0 / 243.6 MB, free: 9.617 MB / 250.7 MB Notification: Performance of Templates: time 0.006318/0.03042, allocations: 4.797 MB / 248.4 MB, free: 4.844 MB / 250.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.4894234240055084]