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.00079/0.00079, allocations: 82.02 kB / 19.87 MB, free: 4.621 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.0009034/0.0009034, allocations: 173.7 kB / 23.27 MB, free: 1.227 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.9079/0.9079, allocations: 158.6 MB / 185.2 MB, free: 2.812 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.00724/0.00724, allocations: 1.439 MB / 239 MB, free: 13.5 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 2.004e-06/2.004e-06, allocations: 0 / 305.1 MB, free: 60.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.527e-05, allocations: 2.312 kB / 305.1 MB, free: 60.89 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientController1): time 0.002195/0.00222, allocations: 1.54 MB / 306.6 MB, free: 59.86 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.003328, allocations: 0.7069 MB / 307.3 MB, free: 59.4 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.183e-05/0.0034, allocations: 3.938 kB / 307.3 MB, free: 59.39 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.003543, allocations: 56.72 kB / 307.4 MB, free: 59.38 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.003648, allocations: 60.38 kB / 307.4 MB, free: 59.37 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005599/0.004208, allocations: 165.5 kB / 307.6 MB, free: 59.3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.004458, allocations: 169.2 kB / 307.7 MB, free: 59.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.622e-05/0.004545, allocations: 13.8 kB / 307.8 MB, free: 59.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.004703, allocations: 97.05 kB / 307.9 MB, free: 59.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.004884, allocations: 101.5 kB / 308 MB, free: 59.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.004911, allocations: 14.09 kB / 308 MB, free: 59.17 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.005121, allocations: 144.3 kB / 308.1 MB, free: 59.14 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.354e-05/0.005195, allocations: 37.38 kB / 308.1 MB, free: 59.12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.312e-05/0.005258, allocations: 38.61 kB / 308.2 MB, free: 59.11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.005613, allocations: 236.3 kB / 308.4 MB, free: 59.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.005617, allocations: 4 kB / 308.4 MB, free: 59.01 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005618, allocations: 0 / 308.4 MB, free: 59.01 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.005626, allocations: 1.312 kB / 308.4 MB, free: 59.01 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.0006168/0.006243, allocations: 0.5483 MB / 309 MB, free: 58.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.00628, allocations: 18.09 kB / 309 MB, free: 58.49 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.082e-05/0.006341, allocations: 24.03 kB / 309 MB, free: 58.48 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.006497, allocations: 159.7 kB / 309.2 MB, free: 58.33 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/0.006542, allocations: 64.12 kB / 309.2 MB, free: 58.26 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.006558, allocations: 7.859 kB / 309.2 MB, free: 58.26 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.00674, allocations: 154.3 kB / 309.4 MB, free: 58.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.006748, allocations: 192 / 309.4 MB, free: 58.14 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.006761, allocations: 10.39 kB / 309.4 MB, free: 58.14 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.006766, allocations: 1.406 kB / 309.4 MB, free: 58.14 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.189e-05/0.006838, allocations: 92.86 kB / 309.5 MB, free: 58.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.007126, allocations: 325.2 kB / 309.8 MB, free: 57.79 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.007258, allocations: 127 kB / 309.9 MB, free: 57.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.369e-05/0.007312, allocations: 95.42 kB / 310 MB, free: 57.61 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.007321, allocations: 2.75 kB / 310 MB, free: 57.61 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.007505, allocations: 249.6 kB / 310.3 MB, free: 57.4 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.734e-06/0.007507, allocations: 0 / 310.3 MB, free: 57.4 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0003517/0.007859, allocations: 421.2 kB / 310.7 MB, free: 57.14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.00789, allocations: 120.4 kB / 310.8 MB, free: 57.01 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.422e-05/0.007984, allocations: 227.7 kB / 311 MB, free: 56.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.007997, allocations: 33.16 kB / 311.1 MB, free: 56.79 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.008037, allocations: 153.6 kB / 311.2 MB, free: 56.64 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.008076, allocations: 60.56 kB / 311.3 MB, free: 56.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.00813, allocations: 49.64 kB / 311.3 MB, free: 56.56 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.956e-05/0.00819, allocations: 0.5049 MB / 311.8 MB, free: 56.05 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.986e-05/0.00825, allocations: 88.14 kB / 311.9 MB, free: 55.99 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.563e-05/0.008305, allocations: 96.27 kB / 312 MB, free: 55.92 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.008424, allocations: 212.1 kB / 312.2 MB, free: 55.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.008427, allocations: 0 / 312.2 MB, free: 55.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000245/0.008672, allocations: 348.9 kB / 312.5 MB, free: 55.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.008709, allocations: 70.45 kB / 312.6 MB, free: 55.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.008716, allocations: 3.266 kB / 312.6 MB, free: 55.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.008726, allocations: 0 / 312.6 MB, free: 55.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.994e-05/0.008806, allocations: 22.27 kB / 312.6 MB, free: 55.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.00881, allocations: 5.156 kB / 312.6 MB, free: 55.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.215e-05/0.008872, allocations: 19.44 kB / 312.7 MB, free: 55.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.008884, allocations: 5.984 kB / 312.7 MB, free: 55.45 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.0001014/0.008985, allocations: 250 kB / 312.9 MB, free: 55.21 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.009018, allocations: 32.42 kB / 312.9 MB, free: 55.2 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.009049, allocations: 18.33 kB / 313 MB, free: 55.19 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.009055, allocations: 3.469 kB / 313 MB, free: 55.19 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.009059, allocations: 0 / 313 MB, free: 55.19 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.009065, allocations: 0.5625 kB / 313 MB, free: 55.19 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.009208, allocations: 160.5 kB / 313.1 MB, free: 55.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.00921, allocations: 0 / 313.1 MB, free: 55.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/0.009248, allocations: 8.125 kB / 313.1 MB, free: 55.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.009251, allocations: 1.312 kB / 313.1 MB, free: 55.05 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.009267, allocations: 12.11 kB / 313.1 MB, free: 55.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.009271, allocations: 9.25 kB / 313.2 MB, free: 55.04 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.009272, allocations: 0 / 313.2 MB, free: 55.04 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/0.009668, allocations: 415.4 kB / 313.6 MB, free: 54.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.009693, allocations: 17.44 kB / 313.6 MB, free: 54.76 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.009727, allocations: 9.641 kB / 313.6 MB, free: 54.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.251e-05/0.00979, allocations: 14.73 kB / 313.6 MB, free: 54.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/0.009851, allocations: 19.61 kB / 313.6 MB, free: 54.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.009873, allocations: 17.53 kB / 313.6 MB, free: 54.74 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.332e-05/0.009927, allocations: 162.3 kB / 313.8 MB, free: 54.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009927, allocations: 1.312 kB / 313.8 MB, free: 54.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000255/0.01018, allocations: 79.5 kB / 313.9 MB, free: 54.59 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.0001702/0.01035, allocations: 150.5 kB / 314 MB, free: 54.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.01059, allocations: 373.9 kB / 314.4 MB, free: 54.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.01059, allocations: 1.344 kB / 314.4 MB, free: 54.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.0107, allocations: 255.7 kB / 314.6 MB, free: 53.99 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.01087, allocations: 27.27 kB / 314.7 MB, free: 53.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.01124, allocations: 345 kB / 315 MB, free: 53.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.62e-05/0.01127, allocations: 80.61 kB / 315.1 MB, free: 53.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.367e-05/0.01131, allocations: 10.61 kB / 315.1 MB, free: 53.65 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.01142, allocations: 126.2 kB / 315.2 MB, free: 53.57 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01142, allocations: 0 / 315.2 MB, free: 53.57 MB / 282.7 MB Notification: Performance of Templates: time 0.004235/0.01566, allocations: 2.977 MB / 318.2 MB, free: 51.18 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.788827988319099]