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.0009841/0.0009841, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001125/0.001125, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.8586/0.8586, allocations: 158.6 MB / 185.9 MB, free: 2.777 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.006181/0.006181, allocations: 1.447 MB / 239.8 MB, free: 13.49 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.452e-06/1.452e-06, allocations: 0 / 305.8 MB, free: 60.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.293e-05/1.439e-05, allocations: 3.406 kB / 305.8 MB, free: 60.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientController1): time 0.001878/0.001892, allocations: 1.533 MB / 307.4 MB, free: 59.84 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008324/0.002725, allocations: 0.7134 MB / 308.1 MB, free: 59.37 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.775e-05/0.002782, allocations: 1.25 kB / 308.1 MB, free: 59.37 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.002914, allocations: 60.28 kB / 308.2 MB, free: 59.36 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.375e-05/0.003008, allocations: 56.47 kB / 308.2 MB, free: 59.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004895/0.003497, allocations: 170.8 kB / 308.4 MB, free: 59.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.003689, allocations: 159.3 kB / 308.5 MB, free: 59.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.539e-05/0.003765, allocations: 14.66 kB / 308.5 MB, free: 59.21 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.003887, allocations: 103.3 kB / 308.6 MB, free: 59.17 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.004041, allocations: 99.39 kB / 308.7 MB, free: 59.15 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.004064, allocations: 10.38 kB / 308.8 MB, free: 59.15 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.004235, allocations: 144.5 kB / 308.9 MB, free: 59.12 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/0.004292, allocations: 37.02 kB / 308.9 MB, free: 59.1 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.505e-05/0.004347, allocations: 37.31 kB / 309 MB, free: 59.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.004602, allocations: 245.2 kB / 309.2 MB, free: 58.99 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.004604, allocations: 0 / 309.2 MB, free: 58.99 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004605, allocations: 1.75 kB / 309.2 MB, free: 58.99 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.004608, allocations: 0 / 309.2 MB, free: 58.99 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004535/0.005061, allocations: 0.5516 MB / 309.8 MB, free: 58.47 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.005092, allocations: 13.52 kB / 309.8 MB, free: 58.47 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.005138, allocations: 24.73 kB / 309.8 MB, free: 58.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.00527, allocations: 156.7 kB / 310 MB, free: 58.31 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/0.005313, allocations: 66.48 kB / 310 MB, free: 58.24 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.005327, allocations: 11.25 kB / 310 MB, free: 58.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.005473, allocations: 159.2 kB / 310.2 MB, free: 58.11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.00548, allocations: 192 / 310.2 MB, free: 58.11 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.00549, allocations: 6.875 kB / 310.2 MB, free: 58.11 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.005495, allocations: 2.547 kB / 310.2 MB, free: 58.11 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.267e-05/0.005557, allocations: 91.53 kB / 310.3 MB, free: 58.04 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002612/0.005819, allocations: 312.5 kB / 310.6 MB, free: 57.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.005932, allocations: 131.7 kB / 310.7 MB, free: 57.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.043e-05/0.005983, allocations: 98.17 kB / 310.8 MB, free: 57.58 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-06/0.005989, allocations: 2.75 kB / 310.8 MB, free: 57.58 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.006157, allocations: 251.3 kB / 311.1 MB, free: 57.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.443e-06/0.006159, allocations: 0 / 311.1 MB, free: 57.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0003403/0.006499, allocations: 420.1 kB / 311.5 MB, free: 57.12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.006533, allocations: 116 kB / 311.6 MB, free: 56.99 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.007e-05/0.006623, allocations: 228 kB / 311.8 MB, free: 56.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.006638, allocations: 32.92 kB / 311.8 MB, free: 56.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/0.006675, allocations: 154.1 kB / 312 MB, free: 56.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.006714, allocations: 68.47 kB / 312.1 MB, free: 56.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/0.006766, allocations: 50.02 kB / 312.1 MB, free: 56.53 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.138e-05/0.006818, allocations: 0.5092 MB / 312.6 MB, free: 56.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.644e-05/0.006874, allocations: 90 kB / 312.7 MB, free: 55.96 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.887e-05/0.006933, allocations: 94.45 kB / 312.8 MB, free: 55.89 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.007047, allocations: 211.5 kB / 313 MB, free: 55.72 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.00705, allocations: 0 / 313 MB, free: 55.72 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002467/0.007296, allocations: 336.2 kB / 313.3 MB, free: 55.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.00733, allocations: 71.98 kB / 313.4 MB, free: 55.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.007334, allocations: 1.531 kB / 313.4 MB, free: 55.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.007344, allocations: 9.391 kB / 313.4 MB, free: 55.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/0.007419, allocations: 21.17 kB / 313.4 MB, free: 55.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.007421, allocations: 1.5 kB / 313.4 MB, free: 55.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.007483, allocations: 19.59 kB / 313.4 MB, free: 55.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.007496, allocations: 9.562 kB / 313.5 MB, free: 55.43 MB / 282.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 8.834e-05/0.007584, allocations: 242.4 kB / 313.7 MB, free: 55.19 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.007618, allocations: 36.22 kB / 313.7 MB, free: 55.17 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.007642, allocations: 15.47 kB / 313.7 MB, free: 55.17 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.007645, allocations: 1.969 kB / 313.7 MB, free: 55.17 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.007648, allocations: 4 kB / 313.8 MB, free: 55.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.007651, allocations: 0.75 kB / 313.8 MB, free: 55.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.007754, allocations: 158.1 kB / 313.9 MB, free: 55.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.007755, allocations: 0 / 313.9 MB, free: 55.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/0.007779, allocations: 9.531 kB / 313.9 MB, free: 55.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.00778, allocations: 1.188 kB / 313.9 MB, free: 55.02 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.007795, allocations: 11.3 kB / 313.9 MB, free: 55.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.007797, allocations: 5.094 kB / 313.9 MB, free: 55.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.007799, allocations: 0.7031 kB / 313.9 MB, free: 55.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.008095, allocations: 427.2 kB / 314.4 MB, free: 54.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.008109, allocations: 17.25 kB / 314.4 MB, free: 54.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.008137, allocations: 13.97 kB / 314.4 MB, free: 54.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.336e-05/0.00819, allocations: 14.8 kB / 314.4 MB, free: 54.72 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.008234, allocations: 18.17 kB / 314.4 MB, free: 54.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.008253, allocations: 13.41 kB / 314.4 MB, free: 54.71 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.988e-05/0.008293, allocations: 160.4 kB / 314.6 MB, free: 54.58 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008293, allocations: 0 / 314.6 MB, free: 54.58 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002168/0.008509, allocations: 74.34 kB / 314.7 MB, free: 54.57 MB / 282.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.0001591/0.008669, allocations: 158.3 kB / 314.8 MB, free: 54.47 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.008898, allocations: 371.1 kB / 315.2 MB, free: 54.19 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.0089, allocations: 0 / 315.2 MB, free: 54.19 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.009015, allocations: 255.7 kB / 315.4 MB, free: 53.97 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.009179, allocations: 26.28 kB / 315.4 MB, free: 53.96 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.009533, allocations: 349.5 kB / 315.8 MB, free: 53.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.525e-05/0.009569, allocations: 80 kB / 315.9 MB, free: 53.63 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.233e-05/0.009601, allocations: 12.44 kB / 315.9 MB, free: 53.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.009707, allocations: 118.9 kB / 316 MB, free: 53.55 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009707, allocations: 0 / 316 MB, free: 53.55 MB / 282.7 MB Notification: Performance of Templates: time 0.003871/0.01358, allocations: 3.03 MB / 319 MB, free: 51.07 MB / 282.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.7493538768030703]