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.001312/0.001312, allocations: 82.48 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001404/0.001404, allocations: 168.7 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.277/1.277, allocations: 158.6 MB / 184.2 MB, free: 6.402 MB / 174.1 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.007804/0.007804, allocations: 1.434 MB / 237.9 MB, free: 1.711 MB / 222.1 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.142e-06/1.142e-06, allocations: 0 / 353 MB, free: 19.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.634e-05, allocations: 2.281 kB / 353 MB, free: 19.24 MB / 286.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientController1): time 0.001753/0.00177, allocations: 1.506 MB / 354.5 MB, free: 17.72 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008848/0.002655, allocations: 0.6959 MB / 355.2 MB, free: 17.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.002707, allocations: 3.938 kB / 355.2 MB, free: 17.01 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.002829, allocations: 47.86 kB / 355.2 MB, free: 16.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.712e-05/0.002916, allocations: 67.66 kB / 355.3 MB, free: 16.9 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005459/0.003462, allocations: 163.5 kB / 355.5 MB, free: 16.74 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.003636, allocations: 163.6 kB / 355.6 MB, free: 16.58 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.003736, allocations: 23.98 kB / 355.6 MB, free: 16.55 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.003853, allocations: 95.83 kB / 355.7 MB, free: 16.46 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.003996, allocations: 103.8 kB / 355.8 MB, free: 16.36 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.004025, allocations: 8 kB / 355.8 MB, free: 16.35 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.004192, allocations: 143.9 kB / 356 MB, free: 16.21 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.579e-05/0.004248, allocations: 35.84 kB / 356 MB, free: 16.18 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.987e-05/0.004317, allocations: 39.91 kB / 356.1 MB, free: 16.14 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.004577, allocations: 267.3 kB / 356.3 MB, free: 15.88 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.00458, allocations: 3.984 kB / 356.3 MB, free: 15.87 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.00458, allocations: 4 kB / 356.3 MB, free: 15.87 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.004584, allocations: 0 / 356.3 MB, free: 15.87 MB / 286.1 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.000618/0.005202, allocations: 456.8 kB / 356.8 MB, free: 15.38 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.00523, allocations: 15.98 kB / 356.8 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.005285, allocations: 16.84 kB / 356.8 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.005482, allocations: 158.2 kB / 357 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.62e-05/0.005539, allocations: 63.89 kB / 357 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.005562, allocations: 16.38 kB / 357 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.005811, allocations: 197.5 kB / 357.2 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.005821, allocations: 192 / 357.2 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.005839, allocations: 8.125 kB / 357.2 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.005842, allocations: 0 / 357.2 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.006026, allocations: 151.3 kB / 357.4 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.006413, allocations: 288.4 kB / 357.7 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.006658, allocations: 185.9 kB / 357.8 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.006793, allocations: 140.2 kB / 358 MB, free: 14.03 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.006803, allocations: 7.938 kB / 358 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.007073, allocations: 302.2 kB / 358.3 MB, free: 13.69 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.703e-06/0.007075, allocations: 96 / 358.3 MB, free: 13.69 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.0006731/0.007748, allocations: 0.58 MB / 358.9 MB, free: 13.07 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.00779, allocations: 110.8 kB / 359 MB, free: 12.94 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.007896, allocations: 181.2 kB / 359.2 MB, free: 12.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.007917, allocations: 41.69 kB / 359.2 MB, free: 12.71 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.007954, allocations: 104.6 kB / 359.3 MB, free: 12.6 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.007993, allocations: 59.52 kB / 359.4 MB, free: 12.54 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.134e-05/0.008054, allocations: 45.7 kB / 359.4 MB, free: 12.49 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.19e-05/0.008106, allocations: 330.8 kB / 359.7 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.008256, allocations: 147.6 kB / 359.9 MB, free: 12 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.00839, allocations: 148.8 kB / 360 MB, free: 11.85 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.00865, allocations: 304.7 kB / 360.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.008652, allocations: 0 / 360.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004374/0.009089, allocations: 468.3 kB / 360.8 MB, free: 11.04 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/0.009126, allocations: 71.39 kB / 360.8 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.00913, allocations: 0 / 360.8 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.009145, allocations: 3.984 kB / 360.8 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.009246, allocations: 16 kB / 360.9 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.009251, allocations: 3.938 kB / 360.9 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.009372, allocations: 23.88 kB / 360.9 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.009389, allocations: 8 kB / 360.9 MB, free: 10.9 MB / 286.1 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.0001158/0.009505, allocations: 227.2 kB / 361.1 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.009537, allocations: 23.84 kB / 361.1 MB, free: 10.63 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.115e-05/0.009568, allocations: 17.97 kB / 361.2 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.00957, allocations: 0 / 361.2 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.009574, allocations: 0 / 361.2 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.009578, allocations: 3.984 kB / 361.2 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.009686, allocations: 169.2 kB / 361.3 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.009687, allocations: 0 / 361.3 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.171e-05/0.009739, allocations: 11.98 kB / 361.3 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.009741, allocations: 3.938 kB / 361.3 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.009761, allocations: 15.94 kB / 361.4 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.009763, allocations: 4 kB / 361.4 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.009764, allocations: 3.984 kB / 361.4 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004934/0.01026, allocations: 0.5001 MB / 361.9 MB, free: 9.836 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/0.01027, allocations: 19.78 kB / 361.9 MB, free: 9.816 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.01032, allocations: 12 kB / 361.9 MB, free: 9.805 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.01042, allocations: 11.98 kB / 361.9 MB, free: 9.793 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.01048, allocations: 19.97 kB / 361.9 MB, free: 9.773 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.01051, allocations: 8 kB / 361.9 MB, free: 9.766 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.738e-05/0.01057, allocations: 143.2 kB / 362.1 MB, free: 9.625 MB / 286.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01057, allocations: 4 kB / 362.1 MB, free: 9.621 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.01084, allocations: 83.86 kB / 362.2 MB, free: 9.539 MB / 286.1 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.0001963/0.01104, allocations: 162.8 kB / 362.3 MB, free: 9.371 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000449/0.01148, allocations: 472.5 kB / 362.8 MB, free: 8.863 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01149, allocations: 0 / 362.8 MB, free: 8.863 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.0117, allocations: 286.1 kB / 363.1 MB, free: 8.547 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.01191, allocations: 24 kB / 363.1 MB, free: 8.523 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004783/0.01239, allocations: 417.4 kB / 363.5 MB, free: 8.074 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.362e-05/0.01245, allocations: 110.5 kB / 363.6 MB, free: 7.945 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.69e-05/0.01249, allocations: 8.484 kB / 363.6 MB, free: 7.938 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.01252, allocations: 20.5 kB / 363.6 MB, free: 7.914 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.01252, allocations: 0 / 363.6 MB, free: 7.914 MB / 286.1 MB Notification: Performance of Templates: time 0.005295/0.01781, allocations: 2.707 MB / 366.3 MB, free: 5.195 MB / 286.1 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=480 -lv LOG_STATS > MEV_MEV.Test.TestPatientController1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.028915289789438] Failed to read output from testmodel.py, exit status != 0: 0.02399953454732895 0.038842595 0.03126405 Calling exit ...