Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestPatientController1.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.0009201/0.0009201, allocations: 80.75 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.0009731/0.0009731, allocations: 181 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.8497/0.8497, allocations: 158.6 MB / 185.2 MB, free: 2.766 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.006084/0.006084, allocations: 1.436 MB / 239 MB, free: 13.57 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.TestPatientController1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientController1") translateModel(MEV.Test.TestPatientController1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientController1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 256 MB, free: 12.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.276e-05/1.426e-05, allocations: 2.312 kB / 256 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientController1): time 0.001837/0.001851, allocations: 1.553 MB / 257.5 MB, free: 11 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008568/0.002708, allocations: 0.7174 MB / 258.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.369e-05/0.002761, allocations: 7.938 kB / 258.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.002881, allocations: 55.78 kB / 258.3 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.641e-05/0.002967, allocations: 59.73 kB / 258.4 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.003451, allocations: 171.5 kB / 258.5 MB, free: 9.984 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.003634, allocations: 163.6 kB / 258.7 MB, free: 9.824 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.141e-05/0.003705, allocations: 4 kB / 258.7 MB, free: 9.82 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.003826, allocations: 103.8 kB / 258.8 MB, free: 9.719 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.003957, allocations: 87.81 kB / 258.9 MB, free: 9.633 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.003978, allocations: 16 kB / 258.9 MB, free: 9.617 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.00414, allocations: 147.8 kB / 259.1 MB, free: 9.473 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.061e-05/0.00419, allocations: 31.84 kB / 259.1 MB, free: 9.441 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.83e-05/0.004269, allocations: 39.91 kB / 259.1 MB, free: 9.402 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.004492, allocations: 235.4 kB / 259.4 MB, free: 9.172 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.004494, allocations: 0 / 259.4 MB, free: 9.172 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.004494, allocations: 0 / 259.4 MB, free: 9.172 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.005e-06/0.004498, allocations: 0 / 259.4 MB, free: 9.172 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.0004337/0.004931, allocations: 427.3 kB / 259.8 MB, free: 8.719 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.004961, allocations: 15.98 kB / 259.8 MB, free: 8.703 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.005001, allocations: 28.91 kB / 259.8 MB, free: 8.676 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.00515, allocations: 150.2 kB / 260 MB, free: 8.504 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.266e-05/0.005203, allocations: 59.97 kB / 260 MB, free: 8.434 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.00522, allocations: 8.375 kB / 260 MB, free: 8.426 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.005384, allocations: 176.9 kB / 260.2 MB, free: 8.23 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.005391, allocations: 192 / 260.2 MB, free: 8.23 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.005402, allocations: 8.125 kB / 260.2 MB, free: 8.223 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.005407, allocations: 0 / 260.2 MB, free: 8.223 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.572e-05/0.005473, allocations: 87.38 kB / 260.3 MB, free: 8.125 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002522/0.005725, allocations: 207 kB / 260.5 MB, free: 7.906 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.005852, allocations: 157.8 kB / 260.7 MB, free: 7.73 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.413e-05/0.005906, allocations: 92.25 kB / 260.7 MB, free: 7.625 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.005913, allocations: 3.984 kB / 260.7 MB, free: 7.621 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.006081, allocations: 244.7 kB / 261 MB, free: 7.344 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.323e-06/0.006082, allocations: 0 / 261 MB, free: 7.344 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0002525/0.006334, allocations: 339.9 kB / 261.3 MB, free: 6.969 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.006383, allocations: 122.8 kB / 261.4 MB, free: 6.824 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.316e-05/0.006466, allocations: 163.4 kB / 261.6 MB, free: 6.652 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.006485, allocations: 29.7 kB / 261.6 MB, free: 6.617 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/0.006515, allocations: 96.61 kB / 261.7 MB, free: 6.52 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.006551, allocations: 51.58 kB / 261.8 MB, free: 6.469 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.006599, allocations: 45.67 kB / 261.8 MB, free: 6.418 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.495e-05/0.006673, allocations: 330.8 kB / 262.1 MB, free: 6.086 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.616e-05/0.00673, allocations: 90.45 kB / 262.2 MB, free: 5.984 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.009e-05/0.00678, allocations: 87.86 kB / 262.3 MB, free: 5.887 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.006899, allocations: 207.3 kB / 262.5 MB, free: 5.656 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.0069, allocations: 0 / 262.5 MB, free: 5.656 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001547/0.007055, allocations: 257.7 kB / 262.8 MB, free: 5.375 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/0.007091, allocations: 75.33 kB / 262.8 MB, free: 5.289 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.007095, allocations: 0 / 262.8 MB, free: 5.289 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.007106, allocations: 0 / 262.8 MB, free: 5.289 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.564e-05/0.007182, allocations: 19.98 kB / 262.9 MB, free: 5.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.007185, allocations: 0 / 262.9 MB, free: 5.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.347e-05/0.007238, allocations: 19.89 kB / 262.9 MB, free: 5.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.007248, allocations: 4 kB / 262.9 MB, free: 5.246 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.000103/0.007351, allocations: 210 kB / 263.1 MB, free: 5.016 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.007378, allocations: 31.91 kB / 263.1 MB, free: 4.984 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.0074, allocations: 13.97 kB / 263.1 MB, free: 4.969 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.007403, allocations: 8 kB / 263.1 MB, free: 4.961 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.007405, allocations: 0 / 263.1 MB, free: 4.961 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.007408, allocations: 0 / 263.1 MB, free: 4.961 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.112e-05/0.007499, allocations: 113.7 kB / 263.2 MB, free: 4.832 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.0075, allocations: 0 / 263.2 MB, free: 4.832 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.28e-05/0.007523, allocations: 15.92 kB / 263.3 MB, free: 4.816 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.007524, allocations: 0 / 263.3 MB, free: 4.816 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.007536, allocations: 8 kB / 263.3 MB, free: 4.809 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.007538, allocations: 7.938 kB / 263.3 MB, free: 4.801 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.007539, allocations: 0 / 263.3 MB, free: 4.801 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.007727, allocations: 317.8 kB / 263.6 MB, free: 4.445 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.00774, allocations: 11.91 kB / 263.6 MB, free: 4.434 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.007765, allocations: 12 kB / 263.6 MB, free: 4.422 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.26e-05/0.007807, allocations: 15.91 kB / 263.6 MB, free: 4.406 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.007849, allocations: 19.98 kB / 263.6 MB, free: 4.387 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.007864, allocations: 7.984 kB / 263.7 MB, free: 4.379 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.075e-05/0.007895, allocations: 44.8 kB / 263.7 MB, free: 4.332 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007895, allocations: 3.938 kB / 263.7 MB, free: 4.328 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001734/0.008068, allocations: 75.88 kB / 263.8 MB, free: 4.254 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.000156/0.008224, allocations: 152.2 kB / 263.9 MB, free: 4.094 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.008448, allocations: 355.6 kB / 264.3 MB, free: 3.699 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.008451, allocations: 3.938 kB / 264.3 MB, free: 3.695 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.008571, allocations: 251 kB / 264.5 MB, free: 3.41 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.799e-05/0.008669, allocations: 16 kB / 264.5 MB, free: 3.395 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003358/0.009004, allocations: 353.3 kB / 264.9 MB, free: 3.012 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.315e-05/0.009048, allocations: 79.33 kB / 265 MB, free: 2.914 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.801e-05/0.009076, allocations: 4.5 kB / 265 MB, free: 2.906 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.009183, allocations: 95.36 kB / 265.1 MB, free: 2.812 MB / 250.7 MB Notification: Performance of SimCode: time 4.21e-07/0.009184, allocations: 3.938 kB / 265.1 MB, free: 2.809 MB / 250.7 MB Notification: Performance of Templates: time 0.003924/0.01311, allocations: 2.886 MB / 267.9 MB, free: 15.92 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestPatientController1.makefile [Timeout 660] (rm -f MEV_MEV.Test.TestPatientController1.pipe ; mkfifo MEV_MEV.Test.TestPatientController1.pipe ; head -c 1048576 < MEV_MEV.Test.TestPatientController1.pipe >> ../files/MEV_MEV.Test.TestPatientController1.sim & ./MEV_MEV.Test.TestPatientController1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > MEV_MEV.Test.TestPatientController1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5269912648946047]