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.0007571/0.0007571, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009342/0.001691, allocations: 440 kB / 10.41 MB, free: 280 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.00111/0.00111, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001393/0.002504, allocations: 475.6 kB / 11.79 MB, free: 2.371 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.9037/0.9037, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1296/1.033, allocations: 49.51 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.006951/0.006951, allocations: 1.428 MB / 222.8 MB, free: 15.18 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001945/0.008896, allocations: 0.9484 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.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.313e-06/1.313e-06, allocations: 0 / 225.1 MB, free: 12.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.757e-05, allocations: 2.312 kB / 225.1 MB, free: 12.93 MB / 234.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientController2): time 0.001893/0.001911, allocations: 1.617 MB / 226.7 MB, free: 11.29 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008025/0.002713, allocations: 0.7213 MB / 227.4 MB, free: 10.56 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.987e-05/0.002763, allocations: 0 / 227.4 MB, free: 10.56 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.396e-05/0.002857, allocations: 67.67 kB / 227.5 MB, free: 10.5 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.797e-05/0.002935, allocations: 91.73 kB / 227.6 MB, free: 10.41 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.003268, allocations: 139.6 kB / 227.7 MB, free: 10.27 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.003463, allocations: 167.6 kB / 227.9 MB, free: 10.11 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.866e-05/0.003531, allocations: 8 kB / 227.9 MB, free: 10.1 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.003679, allocations: 111.8 kB / 228 MB, free: 9.988 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.003826, allocations: 91.8 kB / 228.1 MB, free: 9.898 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.003847, allocations: 16 kB / 228.1 MB, free: 9.883 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.00406, allocations: 175.7 kB / 228.3 MB, free: 9.711 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.146e-05/0.004112, allocations: 35.84 kB / 228.3 MB, free: 9.676 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.493e-05/0.004156, allocations: 35.88 kB / 228.3 MB, free: 9.641 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.004371, allocations: 187.6 kB / 228.5 MB, free: 9.457 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/0.00438, allocations: 0 / 228.5 MB, free: 9.457 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.004381, allocations: 0 / 228.5 MB, free: 9.457 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.004391, allocations: 0 / 228.5 MB, free: 9.457 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004819/0.004873, allocations: 478.8 kB / 229 MB, free: 8.953 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.538e-05/0.004898, allocations: 16.03 kB / 229 MB, free: 8.938 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.004937, allocations: 16.92 kB / 229 MB, free: 8.922 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.005085, allocations: 161.4 kB / 229.2 MB, free: 8.738 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/0.005129, allocations: 59.95 kB / 229.2 MB, free: 8.668 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.005146, allocations: 12.38 kB / 229.2 MB, free: 8.656 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.005289, allocations: 161.1 kB / 229.4 MB, free: 8.477 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.005295, allocations: 192 / 229.4 MB, free: 8.477 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.005307, allocations: 12.12 kB / 229.4 MB, free: 8.465 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.005311, allocations: 0 / 229.4 MB, free: 8.465 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.132e-05/0.005373, allocations: 95.31 kB / 229.5 MB, free: 8.359 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.005602, allocations: 207 kB / 229.7 MB, free: 8.141 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.005723, allocations: 165.9 kB / 229.9 MB, free: 7.957 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.201e-05/0.005775, allocations: 92.34 kB / 230 MB, free: 7.852 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-06/0.005782, allocations: 7.938 kB / 230 MB, free: 7.844 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.005949, allocations: 248.8 kB / 230.2 MB, free: 7.562 MB / 234.7 MB Notification: Performance of pre-optimization done (n=23): time 1.132e-06/0.00595, allocations: 0 / 230.2 MB, free: 7.562 MB / 234.7 MB Notification: Performance of matching and sorting (n=23): time 0.0002429/0.006193, allocations: 355.7 kB / 230.6 MB, free: 7.172 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.965e-05/0.006293, allocations: 297 kB / 230.9 MB, free: 6.82 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.52e-05/0.006378, allocations: 174.7 kB / 231 MB, free: 6.637 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.006394, allocations: 25.7 kB / 231.1 MB, free: 6.605 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.006427, allocations: 96.61 kB / 231.1 MB, free: 6.508 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.006469, allocations: 63.5 kB / 231.2 MB, free: 6.445 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.006513, allocations: 37.69 kB / 231.2 MB, free: 6.402 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.542e-05/0.006588, allocations: 338.8 kB / 231.6 MB, free: 6.062 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.693e-05/0.006645, allocations: 94.45 kB / 231.7 MB, free: 5.957 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.201e-05/0.006697, allocations: 95.84 kB / 231.8 MB, free: 5.852 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.006817, allocations: 211.3 kB / 232 MB, free: 5.617 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.006818, allocations: 0 / 232 MB, free: 5.617 MB / 234.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001597/0.006978, allocations: 274.1 kB / 232.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.007023, allocations: 75.33 kB / 232.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.007028, allocations: 3.984 kB / 232.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.007037, allocations: 0 / 232.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.14e-05/0.007109, allocations: 24 kB / 232.3 MB, free: 5.207 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.007111, allocations: 0 / 232.3 MB, free: 5.207 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.053e-05/0.007172, allocations: 19.88 kB / 232.4 MB, free: 5.188 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.007182, allocations: 8 kB / 232.4 MB, free: 5.18 MB / 234.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.0001376/0.00732, allocations: 210 kB / 232.6 MB, free: 4.949 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.007345, allocations: 27.92 kB / 232.6 MB, free: 4.922 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.33e-05/0.007369, allocations: 25.89 kB / 232.6 MB, free: 4.902 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.007371, allocations: 0 / 232.6 MB, free: 4.902 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.007374, allocations: 4 kB / 232.6 MB, free: 4.898 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.007377, allocations: 0 / 232.6 MB, free: 4.898 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.754e-05/0.007464, allocations: 105.8 kB / 232.7 MB, free: 4.777 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.007466, allocations: 0 / 232.7 MB, free: 4.777 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.506e-05/0.007491, allocations: 8 kB / 232.7 MB, free: 4.77 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.00751, allocations: 23.83 kB / 232.8 MB, free: 4.746 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.007512, allocations: 0 / 232.8 MB, free: 4.746 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.007529, allocations: 15.94 kB / 232.8 MB, free: 4.73 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.007531, allocations: 3.938 kB / 232.8 MB, free: 4.727 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.007532, allocations: 0 / 232.8 MB, free: 4.727 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.007812, allocations: 325.9 kB / 233.1 MB, free: 4.363 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.007837, allocations: 4 kB / 233.1 MB, free: 4.359 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.034e-05/0.007898, allocations: 19.92 kB / 233.1 MB, free: 4.34 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.007952, allocations: 15.97 kB / 233.1 MB, free: 4.324 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.007976, allocations: 11.98 kB / 233.1 MB, free: 4.312 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.278e-05/0.008029, allocations: 44.8 kB / 233.2 MB, free: 4.266 MB / 234.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008029, allocations: 0 / 233.2 MB, free: 4.266 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002434/0.008272, allocations: 79.92 kB / 233.3 MB, free: 4.188 MB / 234.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.0002075/0.00848, allocations: 156 kB / 233.4 MB, free: 4.023 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003362/0.008816, allocations: 373.2 kB / 233.8 MB, free: 3.609 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.008827, allocations: 8 kB / 233.8 MB, free: 3.602 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.00901, allocations: 259 kB / 234 MB, free: 3.309 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.009163, allocations: 87.39 kB / 234.1 MB, free: 3.211 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.009652, allocations: 365.7 kB / 234.5 MB, free: 2.816 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.733e-05/0.009689, allocations: 83.33 kB / 234.6 MB, free: 2.715 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.032e-05/0.009719, allocations: 8.484 kB / 234.6 MB, free: 2.707 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.009827, allocations: 99.3 kB / 234.7 MB, free: 2.609 MB / 234.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009827, allocations: 0 / 234.7 MB, free: 2.609 MB / 234.7 MB Notification: Performance of Templates: time 0.004052/0.01388, allocations: 2.988 MB / 237.7 MB, free: 15.62 MB / 250.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 -lv LOG_STATS > MEV_MEV.Test.TestPatientController2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.441857310011983]