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.0007558/0.0007558, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001103/0.001859, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000753/0.000753, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001784, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9111/0.9111, allocations: 158.6 MB / 171.1 MB, free: 2.516 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1303/1.041, allocations: 49.51 MB / 220.7 MB, free: 1.363 MB / 218.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.005664/0.005664, allocations: 1.424 MB / 222.8 MB, free: 15.18 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003713/0.009377, allocations: 0.9515 MB / 223.8 MB, free: 14.23 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.603e-06/1.603e-06, allocations: 0 / 225.1 MB, free: 12.94 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.441e-05, allocations: 2.312 kB / 225.1 MB, free: 12.93 MB / 234.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientController1): time 0.002632/0.002657, allocations: 1.604 MB / 226.7 MB, free: 11.31 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008193/0.003476, allocations: 0.7135 MB / 227.4 MB, free: 10.59 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.966e-05/0.003536, allocations: 7.938 kB / 227.4 MB, free: 10.58 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.003646, allocations: 55.78 kB / 227.5 MB, free: 10.53 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.271e-05/0.003719, allocations: 75.72 kB / 227.5 MB, free: 10.45 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.004078, allocations: 147.5 kB / 227.7 MB, free: 10.31 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.004277, allocations: 159.6 kB / 227.8 MB, free: 10.15 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.26e-05/0.004349, allocations: 15.98 kB / 227.8 MB, free: 10.14 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.004487, allocations: 111.8 kB / 228 MB, free: 10.03 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.004627, allocations: 87.81 kB / 228 MB, free: 9.941 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.004651, allocations: 8 kB / 228 MB, free: 9.934 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.004857, allocations: 167.8 kB / 228.2 MB, free: 9.77 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.353e-05/0.00491, allocations: 35.86 kB / 228.2 MB, free: 9.734 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.751e-05/0.004958, allocations: 27.94 kB / 228.3 MB, free: 9.707 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.005172, allocations: 195.4 kB / 228.5 MB, free: 9.516 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.372e-05/0.005186, allocations: 4 kB / 228.5 MB, free: 9.512 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005187, allocations: 0 / 228.5 MB, free: 9.512 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.0052, allocations: 4 kB / 228.5 MB, free: 9.508 MB / 234.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.0005524/0.005752, allocations: 459 kB / 228.9 MB, free: 9.023 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.687e-05/0.005779, allocations: 8.031 kB / 228.9 MB, free: 9.016 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.005828, allocations: 20.92 kB / 228.9 MB, free: 8.996 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.005982, allocations: 158.1 kB / 229.1 MB, free: 8.816 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/0.006031, allocations: 59.95 kB / 229.2 MB, free: 8.746 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.006053, allocations: 16.31 kB / 229.2 MB, free: 8.73 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.00621, allocations: 161.1 kB / 229.3 MB, free: 8.551 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.006217, allocations: 4.188 kB / 229.3 MB, free: 8.547 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.006229, allocations: 12.12 kB / 229.4 MB, free: 8.535 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.006234, allocations: 0 / 229.4 MB, free: 8.535 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.091e-05/0.006304, allocations: 95.38 kB / 229.4 MB, free: 8.43 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.006553, allocations: 199 kB / 229.6 MB, free: 8.219 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.006681, allocations: 165.8 kB / 229.8 MB, free: 8.035 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.00674, allocations: 92.25 kB / 229.9 MB, free: 7.93 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.006747, allocations: 4 kB / 229.9 MB, free: 7.926 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.00694, allocations: 256.9 kB / 230.1 MB, free: 7.637 MB / 234.7 MB Notification: Performance of pre-optimization done (n=23): time 1.322e-06/0.006942, allocations: 0 / 230.1 MB, free: 7.637 MB / 234.7 MB Notification: Performance of matching and sorting (n=23): time 0.0002594/0.007201, allocations: 355.7 kB / 230.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.007303, allocations: 289 kB / 230.8 MB, free: 6.902 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.032e-05/0.007393, allocations: 163.4 kB / 230.9 MB, free: 6.73 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.007412, allocations: 29.7 kB / 231 MB, free: 6.695 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.007445, allocations: 96.61 kB / 231.1 MB, free: 6.598 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.54e-05/0.007501, allocations: 63.44 kB / 231.1 MB, free: 6.535 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.00755, allocations: 45.67 kB / 231.2 MB, free: 6.484 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.277e-05/0.007622, allocations: 330.7 kB / 231.5 MB, free: 6.152 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.169e-05/0.007684, allocations: 98.45 kB / 231.6 MB, free: 6.043 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.51e-05/0.007739, allocations: 100.8 kB / 231.7 MB, free: 5.934 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.007863, allocations: 215.6 kB / 231.9 MB, free: 5.695 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.007865, allocations: 0 / 231.9 MB, free: 5.695 MB / 234.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001655/0.00803, allocations: 260.6 kB / 232.1 MB, free: 5.41 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/0.008074, allocations: 75.31 kB / 232.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.008078, allocations: 0 / 232.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.008089, allocations: 4 kB / 232.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.007e-05/0.008169, allocations: 23.92 kB / 232.2 MB, free: 5.297 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.008172, allocations: 0 / 232.2 MB, free: 5.297 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.972e-05/0.008232, allocations: 27.95 kB / 232.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.008242, allocations: 4 kB / 232.3 MB, free: 5.266 MB / 234.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.0001038/0.008346, allocations: 198 kB / 232.5 MB, free: 5.047 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.008374, allocations: 31.92 kB / 232.5 MB, free: 5.016 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.261e-05/0.008397, allocations: 13.95 kB / 232.5 MB, free: 5.008 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.008398, allocations: 4 kB / 232.5 MB, free: 5.004 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.008405, allocations: 0 / 232.5 MB, free: 5.004 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.008408, allocations: 0 / 232.5 MB, free: 5.004 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.442e-05/0.008503, allocations: 113.7 kB / 232.6 MB, free: 4.875 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.008504, allocations: 4 kB / 232.6 MB, free: 4.871 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.611e-05/0.00853, allocations: 11.98 kB / 232.6 MB, free: 4.859 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.008545, allocations: 19.84 kB / 232.7 MB, free: 4.84 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.008547, allocations: 0 / 232.7 MB, free: 4.84 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.008559, allocations: 11.94 kB / 232.7 MB, free: 4.828 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.008561, allocations: 0 / 232.7 MB, free: 4.828 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.008562, allocations: 0 / 232.7 MB, free: 4.828 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.008769, allocations: 329.8 kB / 233 MB, free: 4.461 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.008793, allocations: 8 kB / 233 MB, free: 4.453 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.613e-05/0.008839, allocations: 15.92 kB / 233 MB, free: 4.438 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.008881, allocations: 19.97 kB / 233 MB, free: 4.418 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.008899, allocations: 12 kB / 233.1 MB, free: 4.406 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.076e-05/0.00893, allocations: 44.78 kB / 233.1 MB, free: 4.359 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00893, allocations: 0 / 233.1 MB, free: 4.359 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001755/0.009105, allocations: 75.94 kB / 233.2 MB, free: 4.285 MB / 234.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.000171/0.009276, allocations: 152.1 kB / 233.3 MB, free: 4.125 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.009531, allocations: 382.2 kB / 233.7 MB, free: 3.699 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.009538, allocations: 0 / 233.7 MB, free: 3.699 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.009676, allocations: 259 kB / 233.9 MB, free: 3.406 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.00981, allocations: 95.38 kB / 234 MB, free: 3.301 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004884/0.0103, allocations: 353.4 kB / 234.4 MB, free: 2.914 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.581e-05/0.01034, allocations: 75.33 kB / 234.5 MB, free: 2.82 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.09e-05/0.01038, allocations: 8.484 kB / 234.5 MB, free: 2.812 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.01049, allocations: 95.36 kB / 234.6 MB, free: 2.719 MB / 234.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01049, allocations: 4 kB / 234.6 MB, free: 2.715 MB / 234.7 MB Notification: Performance of Templates: time 0.004321/0.01481, allocations: 2.967 MB / 237.5 MB, free: 15.74 MB / 250.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.4661493161693215]