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.001109/0.001109, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.001203/0.001203, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8258/0.8258, allocations: 158.6 MB / 185 MB, free: 2.938 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.006567/0.006567, allocations: 1.439 MB / 238.7 MB, free: 13.92 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.853e-06/1.853e-06, allocations: 0 / 353.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.998e-05, allocations: 2.281 kB / 353.7 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.002487/0.002507, allocations: 3.137 MB / 356.9 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009806/0.003488, allocations: 0.9045 MB / 357.8 MB, free: 11.33 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.003609, allocations: 4 kB / 357.8 MB, free: 11.33 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.168e-05/0.003691, allocations: 59.41 kB / 357.8 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.003892, allocations: 158.5 kB / 358 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.004221, allocations: 163.6 kB / 358.1 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003729/0.004594, allocations: 0.5793 MB / 358.7 MB, free: 10.37 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.004794, allocations: 85.03 kB / 358.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.00502, allocations: 311.3 kB / 359.1 MB, free: 9.977 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.005179, allocations: 163.5 kB / 359.3 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.53e-05/0.005224, allocations: 48 kB / 359.3 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.347e-05/0.005318, allocations: 71.97 kB / 359.4 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.133e-05/0.005369, allocations: 95.66 kB / 359.5 MB, free: 9.605 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.005482, allocations: 167.6 kB / 359.6 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003655/0.005847, allocations: 0.5298 MB / 360.2 MB, free: 8.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.00585, allocations: 4 kB / 360.2 MB, free: 8.906 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.005851, allocations: 0 / 360.2 MB, free: 8.906 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.005858, allocations: 0 / 360.2 MB, free: 8.906 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.0008646/0.006723, allocations: 0.6643 MB / 360.8 MB, free: 8.207 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.006768, allocations: 15.98 kB / 360.8 MB, free: 8.191 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.144e-05/0.006839, allocations: 52.66 kB / 360.9 MB, free: 8.141 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.00709, allocations: 248.5 kB / 361.1 MB, free: 7.867 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.00711, allocations: 25.03 kB / 361.2 MB, free: 7.844 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.648e-05/0.007157, allocations: 36.33 kB / 361.2 MB, free: 7.809 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000386/0.007543, allocations: 318.6 kB / 361.5 MB, free: 7.488 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.007555, allocations: 4.125 kB / 361.5 MB, free: 7.484 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.007579, allocations: 12.38 kB / 361.5 MB, free: 7.473 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.007588, allocations: 15.88 kB / 361.5 MB, free: 7.457 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.007908, allocations: 254.5 kB / 361.8 MB, free: 7.211 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.008935, allocations: 0.933 MB / 362.7 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.009366, allocations: 271.4 kB / 363 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.009504, allocations: 112.8 kB / 363.1 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.009528, allocations: 4 kB / 363.1 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.009752, allocations: 161.1 kB / 363.3 MB, free: 5.684 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.913e-06/0.009754, allocations: 0 / 363.3 MB, free: 5.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.001364/0.01112, allocations: 0.6156 MB / 363.9 MB, free: 5.059 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.01114, allocations: 55.41 kB / 363.9 MB, free: 4.992 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.01131, allocations: 292.5 kB / 364.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.01132, allocations: 29.7 kB / 364.2 MB, free: 4.664 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.014e-05/0.01141, allocations: 212.3 kB / 364.5 MB, free: 4.449 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.01144, allocations: 91.27 kB / 364.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-05/0.01151, allocations: 61.66 kB / 364.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.175e-05/0.01155, allocations: 342.8 kB / 364.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.01169, allocations: 134.3 kB / 365.1 MB, free: 3.809 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.01184, allocations: 191.4 kB / 365.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.01212, allocations: 283.5 kB / 365.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01212, allocations: 0 / 365.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004381/0.01256, allocations: 445.4 kB / 366 MB, free: 2.832 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.01258, allocations: 37.69 kB / 366 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.01259, allocations: 4 kB / 366 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007895/0.01338, allocations: 240.8 kB / 366.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.01348, allocations: 35.98 kB / 366.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003602/0.01384, allocations: 0.7005 MB / 367 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.01396, allocations: 35.8 kB / 367 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.01398, allocations: 11.98 kB / 367 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001836/0.01416, allocations: 237.8 kB / 367.3 MB, free: 1.496 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001355/0.0143, allocations: 183.5 kB / 367.4 MB, free: 1.289 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002487/0.01454, allocations: 275.8 kB / 367.7 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.12e-07/0.01455, allocations: 0 / 367.7 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0004818/0.01503, allocations: 461.3 kB / 368.2 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.01504, allocations: 33.7 kB / 368.2 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.01504, allocations: 0 / 368.2 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001922/0.01524, allocations: 104.9 kB / 368.3 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.01534, allocations: 47.92 kB / 368.3 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.01692, allocations: 1.948 MB / 370.3 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.01704, allocations: 35.77 kB / 370.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.01706, allocations: 12 kB / 370.3 MB, free: 14.23 MB / 298.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.0001029/0.01716, allocations: 205.1 kB / 370.5 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.01719, allocations: 27.81 kB / 370.6 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006091/0.0178, allocations: 384.7 kB / 370.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.0178, allocations: 4 kB / 370.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.0178, allocations: 4 kB / 370.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.01781, allocations: 3.984 kB / 370.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.01814, allocations: 273 kB / 371.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.01814, allocations: 3.984 kB / 371.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.449e-05/0.01823, allocations: 27.98 kB / 371.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004926/0.01873, allocations: 184.7 kB / 371.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.01874, allocations: 4 kB / 371.4 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000413/0.01916, allocations: 0.7007 MB / 372.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.01916, allocations: 3.938 kB / 372.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006806/0.01984, allocations: 0.4986 MB / 372.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.043e-05/0.01993, allocations: 71.81 kB / 372.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.01996, allocations: 8 kB / 372.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.312e-05/0.02004, allocations: 11.98 kB / 372.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/0.02011, allocations: 27.89 kB / 372.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.02012, allocations: 8 kB / 372.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000139/0.02026, allocations: 199.1 kB / 373 MB, free: 11.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02026, allocations: 0 / 373 MB, free: 11.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000529/0.02079, allocations: 195.6 kB / 373.1 MB, free: 11.34 MB / 298.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.0001434/0.02093, allocations: 115.2 kB / 373.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000875/0.02181, allocations: 0.7123 MB / 374 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.02181, allocations: 0.75 kB / 374 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.022, allocations: 131.9 kB / 374.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.02221, allocations: 35.33 kB / 374.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009811/0.02319, allocations: 0.7857 MB / 374.9 MB, free: 9.465 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.02331, allocations: 190.8 kB / 375.1 MB, free: 9.258 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.02335, allocations: 20.5 kB / 375.1 MB, free: 9.238 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02335, allocations: 0 / 375.1 MB, free: 9.238 MB / 298.7 MB Notification: Performance of Templates: time 0.004837/0.02819, allocations: 5.332 MB / 380.5 MB, free: 3.895 MB / 298.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=480 -lv LOG_STATS > MEV_MEV.Test.TestStandardPatient.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.295968629419804] Failed to read output from testmodel.py, exit status != 0: 0.03248275350779295 0.040429346000000005 0.033041818 Calling exit ...