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.002372/0.002372, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002993/0.002993, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.29/1.29, allocations: 158.6 MB / 184.6 MB, free: 2.891 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.009285/0.009285, allocations: 1.443 MB / 238.3 MB, free: 13.72 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.633e-06/1.633e-06, allocations: 0 / 303.9 MB, free: 61.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.428e-05, allocations: 2.312 kB / 303.9 MB, free: 61.3 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientController2): time 0.00239/0.002414, allocations: 1.516 MB / 305.4 MB, free: 60.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.003532, allocations: 0.7152 MB / 306.1 MB, free: 59.81 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.003593, allocations: 9.281 kB / 306.1 MB, free: 59.8 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.003752, allocations: 60.31 kB / 306.2 MB, free: 59.79 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.003873, allocations: 69.03 kB / 306.3 MB, free: 59.78 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005314/0.004404, allocations: 170 kB / 306.4 MB, free: 59.71 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.004644, allocations: 164.5 kB / 306.6 MB, free: 59.64 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.558e-05/0.00474, allocations: 13.81 kB / 306.6 MB, free: 59.64 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.004925, allocations: 104.2 kB / 306.7 MB, free: 59.6 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.005152, allocations: 109.7 kB / 306.8 MB, free: 59.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.005188, allocations: 10.12 kB / 306.8 MB, free: 59.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00026/0.005448, allocations: 148.1 kB / 307 MB, free: 59.55 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.952e-05/0.005528, allocations: 34.45 kB / 307 MB, free: 59.54 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.539e-05/0.005613, allocations: 48.55 kB / 307.1 MB, free: 59.51 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.006018, allocations: 272.3 kB / 307.3 MB, free: 59.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.006021, allocations: 1.125 kB / 307.3 MB, free: 59.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.006023, allocations: 4 kB / 307.3 MB, free: 59.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.006029, allocations: 0 / 307.3 MB, free: 59.41 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.0007457/0.006775, allocations: 0.5672 MB / 307.9 MB, free: 58.89 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.006814, allocations: 13.17 kB / 307.9 MB, free: 58.88 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.929e-05/0.006893, allocations: 25.16 kB / 307.9 MB, free: 58.88 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.007097, allocations: 165.3 kB / 308.1 MB, free: 58.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.506e-05/0.007153, allocations: 64.3 kB / 308.2 MB, free: 58.65 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.007174, allocations: 7.25 kB / 308.2 MB, free: 58.65 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.007417, allocations: 170.8 kB / 308.3 MB, free: 58.53 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.007427, allocations: 0.9844 kB / 308.3 MB, free: 58.53 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.007444, allocations: 6.719 kB / 308.3 MB, free: 58.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.007448, allocations: 1.312 kB / 308.3 MB, free: 58.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.007628, allocations: 119.3 kB / 308.5 MB, free: 58.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.008086, allocations: 368.3 kB / 308.8 MB, free: 58.13 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.008336, allocations: 162.7 kB / 309 MB, free: 58.01 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.008466, allocations: 120.1 kB / 309.1 MB, free: 57.92 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.008482, allocations: 10.34 kB / 309.1 MB, free: 57.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002933/0.008775, allocations: 273.5 kB / 309.4 MB, free: 57.7 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.302e-06/0.008777, allocations: 0 / 309.4 MB, free: 57.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006512/0.009428, allocations: 491.1 kB / 309.8 MB, free: 57.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.009465, allocations: 112.7 kB / 310 MB, free: 57.28 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.009622, allocations: 255.4 kB / 310.2 MB, free: 57.08 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.009641, allocations: 33.83 kB / 310.2 MB, free: 57.05 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.009697, allocations: 169 kB / 310.4 MB, free: 56.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.009742, allocations: 62.03 kB / 310.5 MB, free: 56.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.328e-05/0.009815, allocations: 54.58 kB / 310.5 MB, free: 56.81 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.275e-05/0.009888, allocations: 0.5126 MB / 311 MB, free: 56.3 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.01002, allocations: 120.6 kB / 311.2 MB, free: 56.22 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.01015, allocations: 118 kB / 311.3 MB, free: 56.14 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.0104, allocations: 260.3 kB / 311.5 MB, free: 55.95 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.0104, allocations: 0 / 311.5 MB, free: 55.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004285/0.01083, allocations: 388.2 kB / 311.9 MB, free: 55.72 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.323e-05/0.01088, allocations: 74.55 kB / 312 MB, free: 55.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.01088, allocations: 1.062 kB / 312 MB, free: 55.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.0109, allocations: 5 kB / 312 MB, free: 55.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.01101, allocations: 25.69 kB / 312 MB, free: 55.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.01102, allocations: 2.422 kB / 312 MB, free: 55.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.01112, allocations: 18.77 kB / 312 MB, free: 55.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.01115, allocations: 15.42 kB / 312 MB, free: 55.63 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 0.0001157/0.01126, allocations: 244.4 kB / 312.3 MB, free: 55.39 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.01131, allocations: 41.3 kB / 312.3 MB, free: 55.37 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.01135, allocations: 19.36 kB / 312.3 MB, free: 55.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01135, allocations: 1.219 kB / 312.3 MB, free: 55.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.01136, allocations: 4 kB / 312.3 MB, free: 55.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01136, allocations: 2.625 kB / 312.3 MB, free: 55.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.01151, allocations: 200.4 kB / 312.5 MB, free: 55.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01151, allocations: 0.7031 kB / 312.5 MB, free: 55.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.929e-05/0.01156, allocations: 9.891 kB / 312.6 MB, free: 55.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.01156, allocations: 3.938 kB / 312.6 MB, free: 55.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.01159, allocations: 11.06 kB / 312.6 MB, free: 55.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01159, allocations: 1.344 kB / 312.6 MB, free: 55.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01159, allocations: 0 / 312.6 MB, free: 55.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005348/0.01212, allocations: 466.1 kB / 313 MB, free: 54.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.01215, allocations: 21.67 kB / 313 MB, free: 54.88 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.01219, allocations: 10.69 kB / 313.1 MB, free: 54.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.59e-05/0.01228, allocations: 14.28 kB / 313.1 MB, free: 54.87 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/0.01235, allocations: 17.62 kB / 313.1 MB, free: 54.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.01238, allocations: 14.08 kB / 313.1 MB, free: 54.86 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.206e-05/0.01247, allocations: 174 kB / 313.3 MB, free: 54.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01247, allocations: 0 / 313.3 MB, free: 54.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000319/0.01278, allocations: 80.94 kB / 313.3 MB, free: 54.71 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.0002164/0.013, allocations: 165.3 kB / 313.5 MB, free: 54.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004638/0.01346, allocations: 447.1 kB / 313.9 MB, free: 54.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01347, allocations: 0 / 313.9 MB, free: 54.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.01369, allocations: 299.8 kB / 314.2 MB, free: 54.05 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.01392, allocations: 28.14 kB / 314.3 MB, free: 54.04 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.01444, allocations: 389.8 kB / 314.6 MB, free: 53.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.017e-05/0.01451, allocations: 117.3 kB / 314.8 MB, free: 53.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.008e-05/0.01455, allocations: 3.188 kB / 314.8 MB, free: 53.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.01458, allocations: 21.95 kB / 314.8 MB, free: 53.67 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01458, allocations: 0 / 314.8 MB, free: 53.67 MB / 282.7 MB Notification: Performance of Templates: time 0.005682/0.02027, allocations: 2.734 MB / 317.5 MB, free: 51.5 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: 4.2659769570454955]