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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 193 kB / 22.17 MB, free: 5.656 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.328/1.328, allocations: 207.6 MB / 232.9 MB, free: 10.96 MB / 190.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.00853/0.00853, allocations: 1.951 MB / 287 MB, free: 4.113 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 72.84 kB / 402 MB, free: 51.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0655/0.06747, allocations: 49.67 MB / 451.6 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientController1): time 0.001977/0.06945, allocations: 1.53 MB / 453.2 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008202/0.07027, allocations: 0.7541 MB / 453.9 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.07032, allocations: 3.938 kB / 453.9 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.803e-05/0.07042, allocations: 51.86 kB / 454 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.886e-05/0.0705, allocations: 67.72 kB / 454 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004297/0.07093, allocations: 163.6 kB / 454.2 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.07107, allocations: 159.6 kB / 454.3 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.064e-05/0.07114, allocations: 11.98 kB / 454.4 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.599e-05/0.07121, allocations: 79.75 kB / 454.4 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.07135, allocations: 107.7 kB / 454.5 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.07137, allocations: 12 kB / 454.5 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.07152, allocations: 163.8 kB / 454.7 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.07156, allocations: 31.84 kB / 454.7 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.445e-05/0.07162, allocations: 63.66 kB / 454.8 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.07182, allocations: 235.1 kB / 455 MB, free: 2.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.07182, allocations: 0 / 455 MB, free: 2.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.07182, allocations: 0 / 455 MB, free: 2.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.07183, allocations: 4 kB / 455 MB, free: 2.727 MB / 318.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.0005736/0.0724, allocations: 0.5292 MB / 455.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.441e-05/0.07243, allocations: 11.89 kB / 455.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.07247, allocations: 16.84 kB / 455.6 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.07264, allocations: 220.8 kB / 455.8 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.07268, allocations: 34.27 kB / 455.8 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.0727, allocations: 8.375 kB / 455.8 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.0729, allocations: 133.7 kB / 456 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.07291, allocations: 0 / 456 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.07292, allocations: 8 kB / 456 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.07292, allocations: 0 / 456 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.07307, allocations: 91.94 kB / 456.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003549/0.07343, allocations: 376.5 kB / 456.4 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.07363, allocations: 118.6 kB / 456.6 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.07373, allocations: 76.83 kB / 456.6 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.07374, allocations: 0 / 456.6 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.07397, allocations: 246.6 kB / 456.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.352e-06/0.07397, allocations: 0 / 456.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0005238/0.07449, allocations: 452.9 kB / 457.3 MB, free: 232 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.07453, allocations: 118.8 kB / 457.4 MB, free: 88 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.07468, allocations: 183.3 kB / 457.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.07472, allocations: 33.7 kB / 457.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.894e-05/0.07478, allocations: 108.5 kB / 457.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.493e-05/0.07485, allocations: 59.52 kB / 457.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-05/0.07492, allocations: 45.7 kB / 457.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.07507, allocations: 330.8 kB / 458.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.07523, allocations: 96.19 kB / 458.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.07537, allocations: 84.42 kB / 458.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/0.07572, allocations: 293.7 kB / 458.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.07572, allocations: 3.984 kB / 458.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005073/0.07623, allocations: 373.1 kB / 459 MB, free: 14.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.774e-05/0.07629, allocations: 71.39 kB / 459.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.07629, allocations: 3.938 kB / 459.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.0763, allocations: 0 / 459.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.07641, allocations: 31.86 kB / 459.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.07641, allocations: 0 / 459.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.07653, allocations: 19.94 kB / 459.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.07655, allocations: 8 kB / 459.1 MB, free: 14.29 MB / 334.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.0001867/0.07674, allocations: 214.9 kB / 459.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.07678, allocations: 19.91 kB / 459.4 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.07682, allocations: 25.86 kB / 459.4 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.07682, allocations: 4 kB / 459.4 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.07682, allocations: 0 / 459.4 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.07683, allocations: 0 / 459.4 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.07705, allocations: 257.4 kB / 459.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.07705, allocations: 0 / 459.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.07711, allocations: 15.94 kB / 459.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.07711, allocations: 0 / 459.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.07713, allocations: 7.984 kB / 459.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.07713, allocations: 0 / 459.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.07713, allocations: 0 / 459.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006315/0.07777, allocations: 460 kB / 460.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.91e-05/0.07783, allocations: 100.9 kB / 460.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.07787, allocations: 4 kB / 460.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.07798, allocations: 15.98 kB / 460.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.07804, allocations: 15.98 kB / 460.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.07806, allocations: 15.98 kB / 460.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.07817, allocations: 127.2 kB / 460.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.07817, allocations: 7.938 kB / 460.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.07845, allocations: 83.88 kB / 460.5 MB, free: 12.81 MB / 334.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.0002275/0.07868, allocations: 155.5 kB / 460.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004852/0.07916, allocations: 331 kB / 461 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.07916, allocations: 0 / 461 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002644/0.07943, allocations: 230.5 kB / 461.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.07963, allocations: 32.55 kB / 461.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005739/0.0802, allocations: 346.8 kB / 461.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.08059, allocations: 0.716 MB / 462.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.034e-05/0.08063, allocations: 12.55 kB / 462.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.08067, allocations: 19.44 kB / 462.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.08067, allocations: 0 / 462.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of Templates: time 0.01439/0.09506, allocations: 2.689 MB / 465 MB, free: 8.191 MB / 334.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 -s cvode -lv LOG_STATS > MEV_MEV.Test.TestPatientController1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.333633744157851] Failed to read output from testmodel.py, exit status != 0: 0.10249909805133939 0.117487954 0.042762321000000006 Calling exit ...