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.0009037/0.0009037, allocations: 92.31 kB / 20.19 MB, free: 4.352 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.0009505/0.0009505, allocations: 169 kB / 23.49 MB, free: 1.047 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.8642/0.8642, allocations: 158.6 MB / 185.3 MB, free: 2.93 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.005636/0.005636, allocations: 1.443 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.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.503e-06/1.503e-06, allocations: 0 / 304.6 MB, free: 61.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.7e-05, allocations: 2.312 kB / 304.6 MB, free: 61.39 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientController1): time 0.001769/0.001786, allocations: 1.552 MB / 306.2 MB, free: 60.36 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007908/0.002577, allocations: 0.718 MB / 306.9 MB, free: 59.89 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.611e-05/0.002633, allocations: 1.312 kB / 306.9 MB, free: 59.89 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.002755, allocations: 56.25 kB / 306.9 MB, free: 59.88 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.278e-05/0.002848, allocations: 65.66 kB / 307 MB, free: 59.86 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.003267, allocations: 164.7 kB / 307.2 MB, free: 59.79 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.003441, allocations: 160.5 kB / 307.3 MB, free: 59.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.943e-05/0.003521, allocations: 14.02 kB / 307.3 MB, free: 59.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.003648, allocations: 97.03 kB / 307.4 MB, free: 59.7 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.0038, allocations: 103.2 kB / 307.5 MB, free: 59.68 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.003825, allocations: 10.06 kB / 307.5 MB, free: 59.68 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.003986, allocations: 151.3 kB / 307.7 MB, free: 59.64 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.661e-05/0.004043, allocations: 33.03 kB / 307.7 MB, free: 59.62 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.063e-05/0.004103, allocations: 41.55 kB / 307.8 MB, free: 59.6 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.004364, allocations: 229.3 kB / 308 MB, free: 59.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004367, allocations: 4.891 kB / 308 MB, free: 59.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004367, allocations: 0 / 308 MB, free: 59.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.004372, allocations: 1.156 kB / 308 MB, free: 59.52 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.0004963/0.004868, allocations: 0.5513 MB / 308.5 MB, free: 59 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.0049, allocations: 18.5 kB / 308.6 MB, free: 58.99 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.906e-05/0.004959, allocations: 23.8 kB / 308.6 MB, free: 58.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.005109, allocations: 164.4 kB / 308.7 MB, free: 58.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.368e-05/0.005153, allocations: 63.52 kB / 308.8 MB, free: 58.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.005169, allocations: 13.22 kB / 308.8 MB, free: 58.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.005339, allocations: 160.6 kB / 309 MB, free: 58.63 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.005345, allocations: 4.125 kB / 309 MB, free: 58.63 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.005357, allocations: 6.438 kB / 309 MB, free: 58.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.005364, allocations: 1.844 kB / 309 MB, free: 58.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.193e-05/0.005446, allocations: 98.98 kB / 309.1 MB, free: 58.55 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.005762, allocations: 343.4 kB / 309.4 MB, free: 58.26 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.005893, allocations: 139.7 kB / 309.6 MB, free: 58.14 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.436e-05/0.005957, allocations: 97.91 kB / 309.7 MB, free: 58.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.005964, allocations: 13.25 kB / 309.7 MB, free: 58.05 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.006147, allocations: 254.2 kB / 309.9 MB, free: 57.85 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.303e-06/0.006149, allocations: 0 / 309.9 MB, free: 57.85 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004006/0.006549, allocations: 441.2 kB / 310.3 MB, free: 57.58 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.006586, allocations: 116.5 kB / 310.5 MB, free: 57.45 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.937e-05/0.006686, allocations: 229.8 kB / 310.7 MB, free: 57.26 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.0067, allocations: 33.67 kB / 310.7 MB, free: 57.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.006737, allocations: 154.5 kB / 310.9 MB, free: 57.08 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.006773, allocations: 52.14 kB / 310.9 MB, free: 57.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.006825, allocations: 54.08 kB / 311 MB, free: 57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.095e-05/0.006876, allocations: 0.5052 MB / 311.5 MB, free: 56.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.378e-05/0.00695, allocations: 101.6 kB / 311.6 MB, free: 56.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.601e-05/0.007016, allocations: 96.22 kB / 311.7 MB, free: 56.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.007148, allocations: 225.2 kB / 311.9 MB, free: 56.19 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.00715, allocations: 0 / 311.9 MB, free: 56.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002502/0.0074, allocations: 356.5 kB / 312.2 MB, free: 55.97 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.007433, allocations: 74.61 kB / 312.3 MB, free: 55.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.007438, allocations: 0 / 312.3 MB, free: 55.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.007452, allocations: 1.984 kB / 312.3 MB, free: 55.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.079e-05/0.007533, allocations: 17.66 kB / 312.3 MB, free: 55.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.007538, allocations: 5.375 kB / 312.3 MB, free: 55.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.835e-05/0.007596, allocations: 18.62 kB / 312.4 MB, free: 55.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.007609, allocations: 11.53 kB / 312.4 MB, free: 55.88 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.134e-05/0.00769, allocations: 246.5 kB / 312.6 MB, free: 55.64 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.00772, allocations: 31.84 kB / 312.6 MB, free: 55.63 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.007745, allocations: 18.83 kB / 312.7 MB, free: 55.62 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.007747, allocations: 6.688 kB / 312.7 MB, free: 55.62 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.007751, allocations: 0 / 312.7 MB, free: 55.62 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.007754, allocations: 4.797 kB / 312.7 MB, free: 55.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.007856, allocations: 189.3 kB / 312.9 MB, free: 55.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.007858, allocations: 0.75 kB / 312.9 MB, free: 55.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.79e-05/0.007886, allocations: 13.73 kB / 312.9 MB, free: 55.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.007888, allocations: 3.938 kB / 312.9 MB, free: 55.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.007902, allocations: 7.094 kB / 312.9 MB, free: 55.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.007904, allocations: 2.641 kB / 312.9 MB, free: 55.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.007905, allocations: 0 / 312.9 MB, free: 55.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.008219, allocations: 427.6 kB / 313.3 MB, free: 55.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.008234, allocations: 18.02 kB / 313.3 MB, free: 55.15 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.008261, allocations: 9.672 kB / 313.3 MB, free: 55.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.786e-05/0.008309, allocations: 19.86 kB / 313.3 MB, free: 55.14 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.008363, allocations: 24.61 kB / 313.4 MB, free: 55.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.008387, allocations: 10.67 kB / 313.4 MB, free: 55.13 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.555e-05/0.008433, allocations: 163.5 kB / 313.5 MB, free: 55 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008433, allocations: 1.062 kB / 313.5 MB, free: 55 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001918/0.008625, allocations: 79.73 kB / 313.6 MB, free: 54.99 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.0001582/0.008783, allocations: 156.1 kB / 313.8 MB, free: 54.89 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.009048, allocations: 389.9 kB / 314.1 MB, free: 54.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.00905, allocations: 4 kB / 314.2 MB, free: 54.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.009168, allocations: 260.3 kB / 314.4 MB, free: 54.37 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.009324, allocations: 27.06 kB / 314.4 MB, free: 54.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/0.009691, allocations: 352.3 kB / 314.8 MB, free: 54.11 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.101e-05/0.009722, allocations: 75.77 kB / 314.9 MB, free: 54.04 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.969e-05/0.009752, allocations: 18.19 kB / 314.9 MB, free: 54.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.009777, allocations: 23.06 kB / 314.9 MB, free: 54.01 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.009777, allocations: 0 / 314.9 MB, free: 54.01 MB / 282.7 MB Notification: Performance of Templates: time 0.003629/0.01341, allocations: 2.744 MB / 317.6 MB, free: 52.14 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.7262220489792526]