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.000849/0.000849, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001142/0.001991, allocations: 435.8 kB / 10.33 MB, free: 368 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.000659/0.000659, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007717/0.001431, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.727/0.727, allocations: 158.6 MB / 171 MB, free: 2.59 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1206/0.8476, allocations: 49.5 MB / 220.5 MB, free: 1.445 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.004829/0.004829, allocations: 1.432 MB / 222.7 MB, free: 15.27 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001385/0.006214, allocations: 0.9405 MB / 223.6 MB, free: 14.33 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 6.91e-07/6.91e-07, allocations: 0 / 224.9 MB, free: 13.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.985e-06/8.676e-06, allocations: 2.312 kB / 224.9 MB, free: 13.06 MB / 234.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientController1): time 0.001469/0.001478, allocations: 1.597 MB / 226.5 MB, free: 11.45 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006564/0.002134, allocations: 0.7251 MB / 227.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.501e-05/0.002169, allocations: 4 kB / 227.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.695e-05/0.002246, allocations: 63.72 kB / 227.3 MB, free: 10.65 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.117e-05/0.002307, allocations: 67.72 kB / 227.4 MB, free: 10.58 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.002556, allocations: 143.5 kB / 227.5 MB, free: 10.44 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.002717, allocations: 155.7 kB / 227.6 MB, free: 10.29 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.86e-05/0.002766, allocations: 23.97 kB / 227.7 MB, free: 10.27 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.00287, allocations: 103.8 kB / 227.8 MB, free: 10.16 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.002972, allocations: 87.81 kB / 227.9 MB, free: 10.08 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.00299, allocations: 12 kB / 227.9 MB, free: 10.07 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.003147, allocations: 175.7 kB / 228 MB, free: 9.895 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.687e-05/0.003184, allocations: 27.88 kB / 228.1 MB, free: 9.867 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.003221, allocations: 27.94 kB / 228.1 MB, free: 9.84 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.003401, allocations: 195.5 kB / 228.3 MB, free: 9.648 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.003411, allocations: 0 / 228.3 MB, free: 9.648 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003412, allocations: 0 / 228.3 MB, free: 9.648 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.003423, allocations: 4 kB / 228.3 MB, free: 9.645 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.0004346/0.003857, allocations: 463 kB / 228.7 MB, free: 9.156 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.236e-05/0.00388, allocations: 15.97 kB / 228.8 MB, free: 9.141 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.003913, allocations: 16.92 kB / 228.8 MB, free: 9.125 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.004042, allocations: 154.2 kB / 228.9 MB, free: 8.949 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/0.004083, allocations: 67.95 kB / 229 MB, free: 8.871 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.004094, allocations: 4.375 kB / 229 MB, free: 8.867 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.004226, allocations: 169.1 kB / 229.2 MB, free: 8.68 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-06/0.004232, allocations: 8.125 kB / 229.2 MB, free: 8.672 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.00424, allocations: 8.062 kB / 229.2 MB, free: 8.664 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.004245, allocations: 4 kB / 229.2 MB, free: 8.66 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.02e-05/0.004305, allocations: 91.38 kB / 229.3 MB, free: 8.559 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.004568, allocations: 199 kB / 229.5 MB, free: 8.348 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.004673, allocations: 162 kB / 229.6 MB, free: 8.168 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/0.004724, allocations: 100.2 kB / 229.7 MB, free: 8.055 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-06/0.00473, allocations: 0 / 229.7 MB, free: 8.055 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.004885, allocations: 260.6 kB / 230 MB, free: 7.766 MB / 234.7 MB Notification: Performance of pre-optimization done (n=23): time 1.212e-06/0.004886, allocations: 0 / 230 MB, free: 7.766 MB / 234.7 MB Notification: Performance of matching and sorting (n=23): time 0.0002199/0.005106, allocations: 364.3 kB / 230.3 MB, free: 7.367 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.005145, allocations: 110.8 kB / 230.4 MB, free: 7.234 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.865e-05/0.005214, allocations: 163.4 kB / 230.6 MB, free: 7.062 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.005229, allocations: 33.7 kB / 230.6 MB, free: 7.023 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.522e-05/0.005255, allocations: 92.61 kB / 230.7 MB, free: 6.93 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.005288, allocations: 55.52 kB / 230.8 MB, free: 6.875 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.005333, allocations: 53.66 kB / 230.8 MB, free: 6.816 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.238e-05/0.005395, allocations: 326.8 kB / 231.1 MB, free: 6.488 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.576e-05/0.005451, allocations: 98.45 kB / 231.2 MB, free: 6.379 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.65e-05/0.005497, allocations: 91.84 kB / 231.3 MB, free: 6.277 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.005605, allocations: 215.3 kB / 231.5 MB, free: 6.039 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.005607, allocations: 4 kB / 231.5 MB, free: 6.035 MB / 234.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001419/0.005749, allocations: 265.6 kB / 231.8 MB, free: 5.746 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/0.005787, allocations: 79.31 kB / 231.9 MB, free: 5.656 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.227e-06/0.00579, allocations: 0 / 231.9 MB, free: 5.656 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.731e-06/0.005796, allocations: 0 / 231.9 MB, free: 5.656 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.531e-05/0.005861, allocations: 20 kB / 231.9 MB, free: 5.637 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.005864, allocations: 3.984 kB / 231.9 MB, free: 5.633 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.164e-05/0.005916, allocations: 19.95 kB / 231.9 MB, free: 5.613 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.005926, allocations: 8 kB / 231.9 MB, free: 5.605 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 8.627e-05/0.006012, allocations: 206 kB / 232.1 MB, free: 5.379 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.006034, allocations: 27.92 kB / 232.2 MB, free: 5.352 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.863e-05/0.006053, allocations: 17.95 kB / 232.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.006054, allocations: 0 / 232.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.006055, allocations: 0 / 232.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.006057, allocations: 4 kB / 232.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.609e-05/0.006133, allocations: 109.7 kB / 232.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.006135, allocations: 8 kB / 232.3 MB, free: 5.203 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.211e-05/0.006157, allocations: 15.92 kB / 232.3 MB, free: 5.188 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.006168, allocations: 15.84 kB / 232.3 MB, free: 5.172 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.006169, allocations: 0 / 232.3 MB, free: 5.172 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.006182, allocations: 15.92 kB / 232.3 MB, free: 5.156 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.006183, allocations: 4 kB / 232.3 MB, free: 5.152 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.006183, allocations: 0 / 232.3 MB, free: 5.152 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.006358, allocations: 317.3 kB / 232.7 MB, free: 4.797 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.00638, allocations: 12 kB / 232.7 MB, free: 4.785 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.006576, allocations: 11.92 kB / 232.7 MB, free: 4.773 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.006612, allocations: 27.97 kB / 232.7 MB, free: 4.746 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.006623, allocations: 4 kB / 232.7 MB, free: 4.742 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.711e-05/0.00665, allocations: 44.8 kB / 232.8 MB, free: 4.695 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00665, allocations: 0 / 232.8 MB, free: 4.695 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001395/0.00679, allocations: 71.94 kB / 232.8 MB, free: 4.625 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.0001311/0.006921, allocations: 160 kB / 233 MB, free: 4.457 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.007122, allocations: 370.2 kB / 233.3 MB, free: 4.043 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.007127, allocations: 0 / 233.3 MB, free: 4.043 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.007239, allocations: 251 kB / 233.6 MB, free: 3.758 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001005/0.007339, allocations: 39.98 kB / 233.6 MB, free: 3.719 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.00775, allocations: 361.4 kB / 234 MB, free: 3.324 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.225e-05/0.007782, allocations: 75.33 kB / 234.1 MB, free: 3.23 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.656e-05/0.007809, allocations: 8.484 kB / 234.1 MB, free: 3.219 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.613e-05/0.007905, allocations: 99.36 kB / 234.2 MB, free: 3.121 MB / 234.7 MB Notification: Performance of SimCode: time 8.51e-07/0.007906, allocations: 4 kB / 234.2 MB, free: 3.117 MB / 234.7 MB Notification: Performance of Templates: time 0.00371/0.01162, allocations: 2.954 MB / 237.1 MB, free: 160 kB / 234.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.033874899148941]