Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestPatientController2.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.001322/0.001322, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001589/0.001589, allocations: 173 kB / 23.49 MB, free: 1.059 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.8748/0.8748, allocations: 158.6 MB / 185.3 MB, free: 2.883 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.01367/0.01367, allocations: 1.447 MB / 239 MB, free: 13.73 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.TestPatientController2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientController2") translateModel(MEV.Test.TestPatientController2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientController2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 304.6 MB, free: 61.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.831e-05, allocations: 2.312 kB / 304.6 MB, free: 61.35 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientController2): time 0.003012/0.003031, allocations: 1.546 MB / 306.2 MB, free: 60.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.004346, allocations: 0.7202 MB / 306.9 MB, free: 59.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.927e-05/0.004436, allocations: 5.156 kB / 306.9 MB, free: 59.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.004608, allocations: 56.27 kB / 307 MB, free: 59.85 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.004745, allocations: 80.62 kB / 307 MB, free: 59.82 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007007/0.005446, allocations: 166 kB / 307.2 MB, free: 59.76 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000282/0.005728, allocations: 164.1 kB / 307.4 MB, free: 59.7 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.492e-05/0.005823, allocations: 14.25 kB / 307.4 MB, free: 59.69 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.006024, allocations: 107.4 kB / 307.5 MB, free: 59.65 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.006247, allocations: 110.4 kB / 307.6 MB, free: 59.64 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.006281, allocations: 10.72 kB / 307.6 MB, free: 59.64 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002541/0.006535, allocations: 147.4 kB / 307.7 MB, free: 59.6 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.169e-05/0.006607, allocations: 33.8 kB / 307.8 MB, free: 59.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.244e-05/0.006689, allocations: 42.02 kB / 307.8 MB, free: 59.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.0071, allocations: 240.8 kB / 308 MB, free: 59.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.007102, allocations: 9.062 kB / 308.1 MB, free: 59.47 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.007103, allocations: 0 / 308.1 MB, free: 59.47 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.007109, allocations: 0 / 308.1 MB, free: 59.47 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.0006894/0.007798, allocations: 0.5589 MB / 308.6 MB, free: 58.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.007839, allocations: 14.67 kB / 308.6 MB, free: 58.95 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.026e-05/0.00793, allocations: 23.34 kB / 308.7 MB, free: 58.94 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.00814, allocations: 166.6 kB / 308.8 MB, free: 58.78 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.247e-05/0.008203, allocations: 58.97 kB / 308.9 MB, free: 58.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.008229, allocations: 16.95 kB / 308.9 MB, free: 58.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.008474, allocations: 160.2 kB / 309 MB, free: 58.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.008484, allocations: 192 / 309 MB, free: 58.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.008502, allocations: 10.98 kB / 309.1 MB, free: 58.58 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.008511, allocations: 1.062 kB / 309.1 MB, free: 58.58 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.00864, allocations: 99.77 kB / 309.2 MB, free: 58.51 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.009109, allocations: 357.4 kB / 309.5 MB, free: 58.2 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.009307, allocations: 135.3 kB / 309.6 MB, free: 58.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.009413, allocations: 105.3 kB / 309.7 MB, free: 58.01 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.009422, allocations: 5.312 kB / 309.7 MB, free: 58 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002712/0.009693, allocations: 255.2 kB / 310 MB, free: 57.8 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.984e-06/0.009695, allocations: 0 / 310 MB, free: 57.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006063/0.0103, allocations: 433 kB / 310.4 MB, free: 57.54 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.01035, allocations: 121 kB / 310.5 MB, free: 57.4 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.01052, allocations: 240.2 kB / 310.8 MB, free: 57.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.01054, allocations: 32.67 kB / 310.8 MB, free: 57.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.01061, allocations: 163.7 kB / 311 MB, free: 57.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/0.01067, allocations: 56.59 kB / 311 MB, free: 56.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.982e-05/0.01075, allocations: 53.02 kB / 311.1 MB, free: 56.94 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.92e-05/0.01082, allocations: 0.5069 MB / 311.6 MB, free: 56.44 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.01094, allocations: 102 kB / 311.7 MB, free: 56.36 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.01105, allocations: 100.4 kB / 311.8 MB, free: 56.29 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.01127, allocations: 219.4 kB / 312 MB, free: 56.12 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01127, allocations: 0 / 312 MB, free: 56.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004335/0.0117, allocations: 357.3 kB / 312.3 MB, free: 55.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.01174, allocations: 74.86 kB / 312.4 MB, free: 55.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.01174, allocations: 0 / 312.4 MB, free: 55.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.01175, allocations: 1.25 kB / 312.4 MB, free: 55.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.027e-05/0.01184, allocations: 18.89 kB / 312.4 MB, free: 55.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.01185, allocations: 5.156 kB / 312.4 MB, free: 55.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.945e-05/0.01192, allocations: 23.25 kB / 312.5 MB, free: 55.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.01193, allocations: 6.75 kB / 312.5 MB, free: 55.82 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 9.273e-05/0.01202, allocations: 242.6 kB / 312.7 MB, free: 55.58 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.01206, allocations: 40.31 kB / 312.7 MB, free: 55.56 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.01209, allocations: 16.11 kB / 312.8 MB, free: 55.56 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01209, allocations: 1.375 kB / 312.8 MB, free: 55.56 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.0121, allocations: 0 / 312.8 MB, free: 55.56 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.0121, allocations: 6.547 kB / 312.8 MB, free: 55.55 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.01222, allocations: 196.1 kB / 313 MB, free: 55.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01222, allocations: 0 / 313 MB, free: 55.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.757e-05/0.01225, allocations: 9.609 kB / 313 MB, free: 55.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.01225, allocations: 3.938 kB / 313 MB, free: 55.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.01227, allocations: 7.844 kB / 313 MB, free: 55.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01227, allocations: 2.391 kB / 313 MB, free: 55.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.01227, allocations: 4 kB / 313 MB, free: 55.37 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.01263, allocations: 437.1 kB / 313.4 MB, free: 55.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.593e-05/0.01264, allocations: 20.77 kB / 313.4 MB, free: 55.08 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.01267, allocations: 11.48 kB / 313.4 MB, free: 55.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.068e-05/0.01272, allocations: 13.17 kB / 313.5 MB, free: 55.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/0.01278, allocations: 25.02 kB / 313.5 MB, free: 55.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.0128, allocations: 8.859 kB / 313.5 MB, free: 55.06 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.461e-05/0.01286, allocations: 171.4 kB / 313.7 MB, free: 54.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01286, allocations: 1.375 kB / 313.7 MB, free: 54.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.01307, allocations: 80.39 kB / 313.7 MB, free: 54.92 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.0001585/0.01323, allocations: 153.8 kB / 313.9 MB, free: 54.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002771/0.01351, allocations: 385.2 kB / 314.3 MB, free: 54.53 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01351, allocations: 4 kB / 314.3 MB, free: 54.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.01364, allocations: 267.4 kB / 314.5 MB, free: 54.3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.0138, allocations: 24.8 kB / 314.5 MB, free: 54.29 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004124/0.01421, allocations: 369.2 kB / 314.9 MB, free: 54.03 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.999e-05/0.01425, allocations: 80.22 kB / 315 MB, free: 53.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.197e-05/0.01429, allocations: 13.55 kB / 315 MB, free: 53.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.01431, allocations: 16.22 kB / 315 MB, free: 53.94 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01431, allocations: 0 / 315 MB, free: 53.94 MB / 282.7 MB Notification: Performance of Templates: time 0.004017/0.01833, allocations: 2.754 MB / 317.8 MB, free: 51.99 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestPatientController2.makefile [Timeout 660] (rm -f MEV_MEV.Test.TestPatientController2.pipe ; mkfifo MEV_MEV.Test.TestPatientController2.pipe ; head -c 1048576 < MEV_MEV.Test.TestPatientController2.pipe >> ../files/MEV_MEV.Test.TestPatientController2.sim & ./MEV_MEV.Test.TestPatientController2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > MEV_MEV.Test.TestPatientController2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.684603671077639]