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.001878/0.001878, allocations: 85.48 kB / 19.44 MB, free: 344 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.002076/0.002076, allocations: 173.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.282/1.282, allocations: 158.6 MB / 184.6 MB, free: 2.879 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.009/0.009, allocations: 1.443 MB / 238.3 MB, free: 13.71 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.332e-06/1.332e-06, allocations: 0 / 303.9 MB, free: 61.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.177e-05, allocations: 2.312 kB / 303.9 MB, free: 61.29 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientController1): time 0.002202/0.002224, allocations: 1.519 MB / 305.4 MB, free: 60.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.003287, allocations: 0.7102 MB / 306.1 MB, free: 59.8 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.003342, allocations: 9.188 kB / 306.1 MB, free: 59.8 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.003481, allocations: 47.56 kB / 306.2 MB, free: 59.79 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.003587, allocations: 65.56 kB / 306.2 MB, free: 59.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.004095, allocations: 168.7 kB / 306.4 MB, free: 59.7 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.004281, allocations: 162 kB / 306.6 MB, free: 59.64 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.096e-05/0.004352, allocations: 9.609 kB / 306.6 MB, free: 59.64 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.004505, allocations: 100.2 kB / 306.7 MB, free: 59.6 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.004685, allocations: 100 kB / 306.8 MB, free: 59.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.004719, allocations: 9.094 kB / 306.8 MB, free: 59.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.004931, allocations: 148.1 kB / 306.9 MB, free: 59.55 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.329e-05/0.005005, allocations: 33.77 kB / 307 MB, free: 59.54 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.39e-05/0.005079, allocations: 44.44 kB / 307 MB, free: 59.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.005427, allocations: 268 kB / 307.3 MB, free: 59.42 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.00543, allocations: 0.7031 kB / 307.3 MB, free: 59.42 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.005431, allocations: 0 / 307.3 MB, free: 59.42 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.005435, allocations: 4 kB / 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.0006777/0.006113, allocations: 0.5515 MB / 307.8 MB, free: 58.9 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.006144, allocations: 13.36 kB / 307.8 MB, free: 58.9 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.765e-05/0.006222, allocations: 30.22 kB / 307.9 MB, free: 58.89 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.006416, allocations: 165 kB / 308 MB, free: 58.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.35e-05/0.006469, allocations: 63.64 kB / 308.1 MB, free: 58.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.006491, allocations: 6.938 kB / 308.1 MB, free: 58.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.006718, allocations: 164 kB / 308.2 MB, free: 58.55 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.006728, allocations: 4.188 kB / 308.3 MB, free: 58.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.006745, allocations: 7.047 kB / 308.3 MB, free: 58.54 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.006749, allocations: 1.062 kB / 308.3 MB, free: 58.54 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.00693, allocations: 123.8 kB / 308.4 MB, free: 58.46 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.007352, allocations: 361.3 kB / 308.7 MB, free: 58.15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.007583, allocations: 157.3 kB / 308.9 MB, free: 58.03 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.007707, allocations: 121.2 kB / 309 MB, free: 57.94 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.007723, allocations: 9.312 kB / 309 MB, free: 57.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002788/0.008002, allocations: 268.8 kB / 309.3 MB, free: 57.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.412e-06/0.008003, allocations: 0 / 309.3 MB, free: 57.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006475/0.00865, allocations: 488.5 kB / 309.8 MB, free: 57.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.008691, allocations: 123.5 kB / 309.9 MB, free: 57.3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.008849, allocations: 243.7 kB / 310.1 MB, free: 57.1 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.008869, allocations: 34.44 kB / 310.1 MB, free: 57.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.008926, allocations: 158.6 kB / 310.3 MB, free: 56.92 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.008975, allocations: 59 kB / 310.4 MB, free: 56.88 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.67e-05/0.009052, allocations: 60.39 kB / 310.4 MB, free: 56.83 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.656e-05/0.009129, allocations: 0.5083 MB / 310.9 MB, free: 56.33 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.009265, allocations: 117.2 kB / 311 MB, free: 56.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.009391, allocations: 126.2 kB / 311.2 MB, free: 56.17 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.009637, allocations: 258.1 kB / 311.4 MB, free: 55.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.00964, allocations: 0 / 311.4 MB, free: 55.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004395/0.01008, allocations: 395.7 kB / 311.8 MB, free: 55.74 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.01012, allocations: 69.95 kB / 311.9 MB, free: 55.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01012, allocations: 2.031 kB / 311.9 MB, free: 55.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.01014, allocations: 0 / 311.9 MB, free: 55.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.01025, allocations: 23.12 kB / 311.9 MB, free: 55.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.01025, allocations: 0 / 311.9 MB, free: 55.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.01036, allocations: 23.77 kB / 311.9 MB, free: 55.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.01038, allocations: 6.656 kB / 311.9 MB, free: 55.66 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.0001186/0.0105, allocations: 252.2 kB / 312.2 MB, free: 55.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.01055, allocations: 33.05 kB / 312.2 MB, free: 55.4 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.01058, allocations: 18.86 kB / 312.2 MB, free: 55.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01058, allocations: 1.406 kB / 312.2 MB, free: 55.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01059, allocations: 0 / 312.2 MB, free: 55.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.01059, allocations: 6.625 kB / 312.2 MB, free: 55.39 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.01075, allocations: 197.1 kB / 312.4 MB, free: 55.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01075, allocations: 1.438 kB / 312.4 MB, free: 55.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.915e-05/0.0108, allocations: 8.109 kB / 312.4 MB, free: 55.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.0108, allocations: 9.594 kB / 312.4 MB, free: 55.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.01082, allocations: 10.45 kB / 312.5 MB, free: 55.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.01083, allocations: 2.391 kB / 312.5 MB, free: 55.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.01083, allocations: 0.625 kB / 312.5 MB, free: 55.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005292/0.01136, allocations: 468.4 kB / 312.9 MB, free: 54.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.01138, allocations: 17.5 kB / 312.9 MB, free: 54.9 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.01142, allocations: 15.44 kB / 312.9 MB, free: 54.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.472e-05/0.01152, allocations: 9.828 kB / 313 MB, free: 54.89 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/0.01159, allocations: 22.22 kB / 313 MB, free: 54.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.01162, allocations: 8.891 kB / 313 MB, free: 54.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.597e-05/0.01171, allocations: 165.4 kB / 313.1 MB, free: 54.76 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01171, allocations: 0 / 313.1 MB, free: 54.76 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003146/0.01202, allocations: 79.33 kB / 313.2 MB, free: 54.75 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.0002217/0.01224, allocations: 163 kB / 313.4 MB, free: 54.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004614/0.0127, allocations: 451.5 kB / 313.8 MB, free: 54.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01271, allocations: 0 / 313.8 MB, free: 54.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.01294, allocations: 294.5 kB / 314.1 MB, free: 54.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.01317, allocations: 26.34 kB / 314.1 MB, free: 54.08 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005103/0.01368, allocations: 376 kB / 314.5 MB, free: 53.81 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.717e-05/0.01375, allocations: 108.8 kB / 314.6 MB, free: 53.73 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.869e-05/0.01379, allocations: 12.7 kB / 314.6 MB, free: 53.73 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.01382, allocations: 18.53 kB / 314.6 MB, free: 53.72 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01382, allocations: 0 / 314.6 MB, free: 53.72 MB / 282.7 MB Notification: Performance of Templates: time 0.005623/0.01944, allocations: 2.727 MB / 317.4 MB, free: 51.65 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: 4.279748467961326]