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.0009161/0.0009161, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001007/0.001007, allocations: 177 kB / 23.36 MB, free: 1.129 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.8638/0.8638, allocations: 158.6 MB / 185.2 MB, free: 2.77 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.006231/0.006231, allocations: 1.432 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.343e-06/1.343e-06, allocations: 0 / 256 MB, free: 12.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.341e-05, allocations: 2.312 kB / 256 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientController1): time 0.001805/0.001818, allocations: 1.6 MB / 257.6 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008996/0.002718, allocations: 0.7212 MB / 258.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.885e-05/0.002777, allocations: 0 / 258.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.002905, allocations: 51.8 kB / 258.4 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.772e-05/0.002992, allocations: 67.72 kB / 258.5 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.003366, allocations: 147.5 kB / 258.6 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.003535, allocations: 159.6 kB / 258.8 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.83e-05/0.003603, allocations: 8 kB / 258.8 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.003722, allocations: 103.8 kB / 258.9 MB, free: 9.648 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.003859, allocations: 91.81 kB / 259 MB, free: 9.559 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.003881, allocations: 12 kB / 259 MB, free: 9.547 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.004075, allocations: 163.8 kB / 259.1 MB, free: 9.387 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.273e-05/0.004128, allocations: 39.83 kB / 259.2 MB, free: 9.348 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.762e-05/0.004175, allocations: 35.92 kB / 259.2 MB, free: 9.312 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.004396, allocations: 235.3 kB / 259.4 MB, free: 9.082 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.004398, allocations: 0 / 259.4 MB, free: 9.082 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004398, allocations: 0 / 259.4 MB, free: 9.082 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.004402, allocations: 4 kB / 259.4 MB, free: 9.078 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.0006444/0.005046, allocations: 431.4 kB / 259.9 MB, free: 8.621 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.005076, allocations: 15.98 kB / 259.9 MB, free: 8.605 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.005114, allocations: 20.92 kB / 259.9 MB, free: 8.586 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.005261, allocations: 150.2 kB / 260 MB, free: 8.414 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.361e-05/0.005305, allocations: 63.95 kB / 260.1 MB, free: 8.34 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.005317, allocations: 8.375 kB / 260.1 MB, free: 8.332 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.005502, allocations: 165 kB / 260.3 MB, free: 8.148 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.005509, allocations: 192 / 260.3 MB, free: 8.148 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.005522, allocations: 8.109 kB / 260.3 MB, free: 8.141 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.005527, allocations: 0 / 260.3 MB, free: 8.141 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.279e-05/0.00559, allocations: 91.39 kB / 260.4 MB, free: 8.039 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002563/0.005846, allocations: 203 kB / 260.6 MB, free: 7.824 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.005967, allocations: 161.8 kB / 260.7 MB, free: 7.645 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.363e-05/0.00602, allocations: 88.25 kB / 260.8 MB, free: 7.543 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.006028, allocations: 7.984 kB / 260.8 MB, free: 7.535 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.006203, allocations: 248.7 kB / 261.1 MB, free: 7.254 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/0.006204, allocations: 0 / 261.1 MB, free: 7.254 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0003006/0.006505, allocations: 343.9 kB / 261.4 MB, free: 6.875 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.006547, allocations: 110.8 kB / 261.5 MB, free: 6.742 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.882e-05/0.006626, allocations: 167.4 kB / 261.7 MB, free: 6.566 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.006644, allocations: 33.7 kB / 261.7 MB, free: 6.527 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.006673, allocations: 92.61 kB / 261.8 MB, free: 6.434 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.00671, allocations: 59.5 kB / 261.9 MB, free: 6.375 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.006759, allocations: 45.69 kB / 261.9 MB, free: 6.324 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.314e-05/0.006832, allocations: 326.8 kB / 262.2 MB, free: 5.996 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.331e-05/0.006885, allocations: 86.45 kB / 262.3 MB, free: 5.898 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.786e-05/0.006933, allocations: 87.84 kB / 262.4 MB, free: 5.801 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.007045, allocations: 207.3 kB / 262.6 MB, free: 5.57 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.007047, allocations: 7.938 kB / 262.6 MB, free: 5.562 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002814/0.007328, allocations: 253.7 kB / 262.9 MB, free: 5.285 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.007368, allocations: 75.31 kB / 262.9 MB, free: 5.199 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.007372, allocations: 0 / 262.9 MB, free: 5.199 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.007383, allocations: 0 / 262.9 MB, free: 5.199 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.5e-05/0.007458, allocations: 24 kB / 262.9 MB, free: 5.176 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.007461, allocations: 0 / 262.9 MB, free: 5.176 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.5e-05/0.007516, allocations: 23.88 kB / 263 MB, free: 5.152 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.007526, allocations: 4 kB / 263 MB, free: 5.148 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.0001005/0.007627, allocations: 206 kB / 263.2 MB, free: 4.922 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.007652, allocations: 27.92 kB / 263.2 MB, free: 4.895 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/0.007675, allocations: 17.95 kB / 263.2 MB, free: 4.875 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.007677, allocations: 0 / 263.2 MB, free: 4.875 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.007679, allocations: 0 / 263.2 MB, free: 4.875 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.007683, allocations: 0 / 263.2 MB, free: 4.875 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.477e-05/0.007777, allocations: 113.7 kB / 263.3 MB, free: 4.746 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.007779, allocations: 0 / 263.3 MB, free: 4.746 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-05/0.007805, allocations: 15.94 kB / 263.3 MB, free: 4.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.007807, allocations: 0 / 263.3 MB, free: 4.73 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.00782, allocations: 15.98 kB / 263.4 MB, free: 4.715 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.007822, allocations: 3.938 kB / 263.4 MB, free: 4.711 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.007823, allocations: 0 / 263.4 MB, free: 4.711 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.008017, allocations: 317.8 kB / 263.7 MB, free: 4.355 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.00803, allocations: 11.91 kB / 263.7 MB, free: 4.344 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.008056, allocations: 15.98 kB / 263.7 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.044e-05/0.008097, allocations: 7.938 kB / 263.7 MB, free: 4.32 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.00814, allocations: 23.97 kB / 263.7 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.008156, allocations: 7.984 kB / 263.7 MB, free: 4.289 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.906e-05/0.008185, allocations: 40.81 kB / 263.8 MB, free: 4.246 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008185, allocations: 3.938 kB / 263.8 MB, free: 4.242 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.008357, allocations: 83.86 kB / 263.9 MB, free: 4.16 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.0001494/0.008506, allocations: 140.3 kB / 264 MB, free: 4.012 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002312/0.008737, allocations: 362.3 kB / 264.4 MB, free: 3.605 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.00874, allocations: 0 / 264.4 MB, free: 3.605 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.008856, allocations: 239 kB / 264.6 MB, free: 3.332 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001032/0.00896, allocations: 23.98 kB / 264.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.009296, allocations: 360.1 kB / 265 MB, free: 2.922 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.709e-05/0.009333, allocations: 75.33 kB / 265 MB, free: 2.828 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.241e-05/0.009365, allocations: 8.484 kB / 265.1 MB, free: 2.816 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.009476, allocations: 95.36 kB / 265.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of SimCode: time 7.92e-07/0.009476, allocations: 0 / 265.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of Templates: time 0.004281/0.01376, allocations: 2.894 MB / 268 MB, free: 15.83 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > MEV_MEV.Test.TestPatientController1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.423113733995706]