Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestPatientController2.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.001379/0.001379, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001139/0.001139, allocations: 177.3 kB / 23.36 MB, free: 1.133 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.8536/0.8536, allocations: 158.6 MB / 185.2 MB, free: 2.746 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.006975/0.006975, allocations: 1.436 MB / 239 MB, free: 13.56 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.TestPatientController2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientController2") translateModel(MEV.Test.TestPatientController2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientController2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 256 MB, free: 12.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.71e-05, allocations: 9.406 kB / 256 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientController2): time 0.003001/0.003018, allocations: 1.592 MB / 257.6 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.0043, allocations: 0.729 MB / 258.4 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.211e-05/0.004352, allocations: 0 / 258.4 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.004471, allocations: 55.8 kB / 258.4 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.952e-05/0.00456, allocations: 83.62 kB / 258.5 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.004913, allocations: 143.6 kB / 258.6 MB, free: 9.879 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.005082, allocations: 163.6 kB / 258.8 MB, free: 9.719 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.304e-05/0.005155, allocations: 8 kB / 258.8 MB, free: 9.711 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.005274, allocations: 103.8 kB / 258.9 MB, free: 9.609 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.005406, allocations: 99.81 kB / 259 MB, free: 9.512 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.005431, allocations: 8 kB / 259 MB, free: 9.504 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.00562, allocations: 175.7 kB / 259.2 MB, free: 9.332 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.099e-05/0.005671, allocations: 35.89 kB / 259.2 MB, free: 9.297 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.764e-05/0.005719, allocations: 39.86 kB / 259.3 MB, free: 9.258 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.005939, allocations: 239.3 kB / 259.5 MB, free: 9.023 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.005941, allocations: 7.984 kB / 259.5 MB, free: 9.016 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005942, allocations: 0 / 259.5 MB, free: 9.016 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.005945, allocations: 0 / 259.5 MB, free: 9.016 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004396/0.006384, allocations: 439.3 kB / 259.9 MB, free: 8.551 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.742e-05/0.006412, allocations: 11.98 kB / 259.9 MB, free: 8.539 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.006456, allocations: 28.84 kB / 260 MB, free: 8.512 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.006602, allocations: 145.5 kB / 260.1 MB, free: 8.344 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/0.006649, allocations: 63.97 kB / 260.2 MB, free: 8.27 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.006662, allocations: 4.375 kB / 260.2 MB, free: 8.266 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.006811, allocations: 169 kB / 260.3 MB, free: 8.078 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.006818, allocations: 192 / 260.3 MB, free: 8.078 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.006829, allocations: 16.06 kB / 260.4 MB, free: 8.062 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.006833, allocations: 0 / 260.4 MB, free: 8.062 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.301e-05/0.006896, allocations: 91.31 kB / 260.5 MB, free: 7.961 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002492/0.007145, allocations: 203 kB / 260.7 MB, free: 7.746 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.007263, allocations: 157.9 kB / 260.8 MB, free: 7.57 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.463e-05/0.007318, allocations: 96.27 kB / 260.9 MB, free: 7.461 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.007325, allocations: 4 kB / 260.9 MB, free: 7.457 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.007495, allocations: 244.9 kB / 261.1 MB, free: 7.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.213e-06/0.007496, allocations: 4 kB / 261.1 MB, free: 7.176 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0002415/0.007738, allocations: 335.8 kB / 261.5 MB, free: 6.805 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.007782, allocations: 114.8 kB / 261.6 MB, free: 6.668 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.577e-05/0.007867, allocations: 170.5 kB / 261.8 MB, free: 6.488 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.007885, allocations: 29.7 kB / 261.8 MB, free: 6.453 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.00792, allocations: 104.6 kB / 261.9 MB, free: 6.348 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.007958, allocations: 51.58 kB / 261.9 MB, free: 6.297 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.008008, allocations: 41.67 kB / 262 MB, free: 6.25 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.557e-05/0.008093, allocations: 326.8 kB / 262.3 MB, free: 5.922 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.898e-05/0.008152, allocations: 94.44 kB / 262.4 MB, free: 5.816 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.061e-05/0.008203, allocations: 91.86 kB / 262.5 MB, free: 5.715 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.008323, allocations: 203.6 kB / 262.7 MB, free: 5.488 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.008325, allocations: 0 / 262.7 MB, free: 5.488 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001629/0.008488, allocations: 253.9 kB / 262.9 MB, free: 5.211 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.93e-05/0.008527, allocations: 75.31 kB / 263 MB, free: 5.125 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.008531, allocations: 4 kB / 263 MB, free: 5.121 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.008543, allocations: 7.938 kB / 263 MB, free: 5.113 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.488e-05/0.008618, allocations: 20 kB / 263 MB, free: 5.094 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.008622, allocations: 3.984 kB / 263 MB, free: 5.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.457e-05/0.008677, allocations: 19.89 kB / 263.1 MB, free: 5.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.00869, allocations: 12 kB / 263.1 MB, free: 5.059 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 (dutyCycle.nextEventScaled,dutyCycle.nextEvent,$PRE.dutyCycle.nextEvent,dutyCycle.last,dutyCycle.b,dutyCycle.a,RR.nextEventScaled,RR.nextEvent,$PRE.RR.nextEvent,RR.last,RR.b,RR.a,patientController.active,$PRE.patientController.active,patientController.t_off,$PRE.patientController.t_off,patientController.t_on,$PRE.patientController.t_on,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition1,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.008801, allocations: 202 kB / 263.3 MB, free: 4.836 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.008826, allocations: 27.92 kB / 263.3 MB, free: 4.809 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.008851, allocations: 21.95 kB / 263.3 MB, free: 4.785 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.008853, allocations: 0 / 263.3 MB, free: 4.785 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.008855, allocations: 0 / 263.3 MB, free: 4.785 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.008858, allocations: 0 / 263.3 MB, free: 4.785 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.889e-05/0.008947, allocations: 109.7 kB / 263.4 MB, free: 4.66 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.008948, allocations: 0 / 263.4 MB, free: 4.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.434e-05/0.008972, allocations: 15.98 kB / 263.4 MB, free: 4.645 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.008974, allocations: 4 kB / 263.4 MB, free: 4.641 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.008993, allocations: 11.94 kB / 263.4 MB, free: 4.629 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.008995, allocations: 3.938 kB / 263.5 MB, free: 4.625 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.008996, allocations: 0 / 263.5 MB, free: 4.625 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.009188, allocations: 321.8 kB / 263.8 MB, free: 4.266 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.009201, allocations: 11.91 kB / 263.8 MB, free: 4.254 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.009226, allocations: 8 kB / 263.8 MB, free: 4.246 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.375e-05/0.00927, allocations: 19.92 kB / 263.8 MB, free: 4.227 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.009312, allocations: 15.97 kB / 263.8 MB, free: 4.211 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.009327, allocations: 8 kB / 263.8 MB, free: 4.203 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.3e-05/0.00936, allocations: 53.84 kB / 263.9 MB, free: 4.148 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00936, allocations: 0 / 263.9 MB, free: 4.148 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001716/0.009532, allocations: 75.88 kB / 264 MB, free: 4.074 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5,patientController.t_on,patientController.t_off,patientController.active,RR.a,RR.b,RR.last,RR.nextEvent,RR.nextEventScaled,dutyCycle.a,dutyCycle.b,dutyCycle.last,dutyCycle.nextEvent,dutyCycle.nextEventScaled) * Number of discrete states: 14 (dutyCycle.nextEvent,dutyCycle.last,dutyCycle.nextEventScaled,dutyCycle.b,dutyCycle.a,$whenCondition4,RR.nextEvent,RR.last,RR.nextEventScaled,RR.b,RR.a,$whenCondition5,patientController.active,patientController.t_on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001518/0.009684, allocations: 152.2 kB / 264.1 MB, free: 3.914 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004716/0.01016, allocations: 354.3 kB / 264.4 MB, free: 3.516 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.01016, allocations: 4 kB / 264.5 MB, free: 3.512 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.01028, allocations: 247 kB / 264.7 MB, free: 3.23 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001044/0.01038, allocations: 31.91 kB / 264.7 MB, free: 3.199 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003524/0.01074, allocations: 361.6 kB / 265.1 MB, free: 2.809 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.158e-05/0.01078, allocations: 83.28 kB / 265.2 MB, free: 2.707 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.98e-05/0.01081, allocations: 8.484 kB / 265.2 MB, free: 2.695 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.01092, allocations: 95.34 kB / 265.3 MB, free: 2.602 MB / 250.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01092, allocations: 0 / 265.3 MB, free: 2.602 MB / 250.7 MB Notification: Performance of Templates: time 0.004017/0.01494, allocations: 2.9 MB / 268.2 MB, free: 15.7 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestPatientController2.makefile [Timeout 660] (rm -f MEV_MEV.Test.TestPatientController2.pipe ; mkfifo MEV_MEV.Test.TestPatientController2.pipe ; head -c 1048576 < MEV_MEV.Test.TestPatientController2.pipe >> ../files/MEV_MEV.Test.TestPatientController2.sim & ./MEV_MEV.Test.TestPatientController2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > MEV_MEV.Test.TestPatientController2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5673700529150665]