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.001641/0.001641, allocations: 88.72 kB / 19.44 MB, free: 356 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.00205/0.00205, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.454/1.454, allocations: 158.6 MB / 184.6 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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.01222/0.01222, allocations: 1.435 MB / 238.3 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 2.375e-06/2.375e-06, allocations: 0 / 303.9 MB, free: 61.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.888e-05/3.125e-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.00272/0.002752, allocations: 1.512 MB / 305.4 MB, free: 60.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.003872, allocations: 0.6916 MB / 306.1 MB, free: 59.82 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.753e-05/0.003939, allocations: 5.219 kB / 306.1 MB, free: 59.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.004139, allocations: 52.47 kB / 306.1 MB, free: 59.81 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.004292, allocations: 72.88 kB / 306.2 MB, free: 59.79 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000637/0.004929, allocations: 164.7 kB / 306.4 MB, free: 59.72 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.005159, allocations: 157.1 kB / 306.5 MB, free: 59.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.318e-05/0.005252, allocations: 10.28 kB / 306.5 MB, free: 59.66 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.005419, allocations: 96.81 kB / 306.6 MB, free: 59.62 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.00564, allocations: 106.8 kB / 306.7 MB, free: 59.6 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.005671, allocations: 10.31 kB / 306.7 MB, free: 59.6 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.005884, allocations: 147.2 kB / 306.9 MB, free: 59.57 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.096e-05/0.005944, allocations: 32.81 kB / 306.9 MB, free: 59.55 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.93e-05/0.006024, allocations: 44.86 kB / 307 MB, free: 59.53 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003632/0.006387, allocations: 260.9 kB / 307.2 MB, free: 59.44 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.006389, allocations: 0 / 307.2 MB, free: 59.44 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.00639, allocations: 0 / 307.2 MB, free: 59.44 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.006394, allocations: 1.906 kB / 307.2 MB, free: 59.44 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.0007141/0.007108, allocations: 470.1 kB / 307.7 MB, free: 59.03 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.007145, allocations: 12.55 kB / 307.7 MB, free: 59.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.269e-05/0.007228, allocations: 24.2 kB / 307.7 MB, free: 59.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.007456, allocations: 168 kB / 307.9 MB, free: 58.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.77e-05/0.007514, allocations: 58.95 kB / 307.9 MB, free: 58.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.007539, allocations: 11.25 kB / 308 MB, free: 58.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.007822, allocations: 192.4 kB / 308.1 MB, free: 58.67 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.007831, allocations: 4.188 kB / 308.1 MB, free: 58.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.00785, allocations: 6.609 kB / 308.1 MB, free: 58.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.007855, allocations: 1.125 kB / 308.2 MB, free: 58.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/0.008083, allocations: 154.2 kB / 308.3 MB, free: 58.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.008524, allocations: 289.3 kB / 308.6 MB, free: 58.33 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.008794, allocations: 174.6 kB / 308.8 MB, free: 58.22 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.008947, allocations: 139.1 kB / 308.9 MB, free: 58.13 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.008962, allocations: 10.66 kB / 308.9 MB, free: 58.12 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003281/0.00929, allocations: 304.8 kB / 309.2 MB, free: 57.9 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.323e-06/0.009291, allocations: 0 / 309.2 MB, free: 57.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007841/0.01008, allocations: 0.5813 MB / 309.8 MB, free: 57.57 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.01012, allocations: 119.9 kB / 309.9 MB, free: 57.44 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.01027, allocations: 179.9 kB / 310.1 MB, free: 57.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.01029, allocations: 33.83 kB / 310.1 MB, free: 57.29 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.01034, allocations: 104.9 kB / 310.2 MB, free: 57.19 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.01038, allocations: 57.69 kB / 310.3 MB, free: 57.14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.117e-05/0.01045, allocations: 43.39 kB / 310.3 MB, free: 57.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.56e-05/0.01052, allocations: 331.9 kB / 310.6 MB, free: 56.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.01069, allocations: 148.3 kB / 310.8 MB, free: 56.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.01086, allocations: 149.8 kB / 310.9 MB, free: 56.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.01117, allocations: 306.1 kB / 311.2 MB, free: 56.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.01117, allocations: 0 / 311.2 MB, free: 56.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005316/0.0117, allocations: 476.8 kB / 311.7 MB, free: 56.15 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.961e-05/0.01175, allocations: 70.77 kB / 311.8 MB, free: 56.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.01176, allocations: 4 kB / 311.8 MB, free: 56.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.01178, allocations: 1.984 kB / 311.8 MB, free: 56.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.01189, allocations: 15.12 kB / 311.8 MB, free: 56.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.0119, allocations: 2.297 kB / 311.8 MB, free: 56.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.01203, allocations: 24.84 kB / 311.8 MB, free: 56.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.01205, allocations: 7.422 kB / 311.8 MB, free: 56.07 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.0001364/0.01218, allocations: 214.5 kB / 312 MB, free: 55.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.01224, allocations: 36.55 kB / 312.1 MB, free: 55.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.01227, allocations: 22.5 kB / 312.1 MB, free: 55.85 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01228, allocations: 2.312 kB / 312.1 MB, free: 55.85 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.01228, allocations: 3.938 kB / 312.1 MB, free: 55.85 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01228, allocations: 0.75 kB / 312.1 MB, free: 55.85 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.01243, allocations: 174.2 kB / 312.3 MB, free: 55.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01243, allocations: 1.25 kB / 312.3 MB, free: 55.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.229e-05/0.01248, allocations: 11.09 kB / 312.3 MB, free: 55.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01249, allocations: 5.188 kB / 312.3 MB, free: 55.69 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.01251, allocations: 13.39 kB / 312.3 MB, free: 55.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.01251, allocations: 1.406 kB / 312.3 MB, free: 55.69 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01251, allocations: 0 / 312.3 MB, free: 55.69 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005993/0.01311, allocations: 0.5188 MB / 312.8 MB, free: 55.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.01313, allocations: 16.72 kB / 312.8 MB, free: 55.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.01317, allocations: 10.44 kB / 312.8 MB, free: 55.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.01328, allocations: 11.64 kB / 312.8 MB, free: 55.37 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.952e-05/0.01336, allocations: 17.8 kB / 312.9 MB, free: 55.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.01339, allocations: 14.03 kB / 312.9 MB, free: 55.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.153e-05/0.01347, allocations: 136 kB / 313 MB, free: 55.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01347, allocations: 0 / 313 MB, free: 55.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003461/0.01382, allocations: 81.75 kB / 313.1 MB, free: 55.26 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.0002261/0.01404, allocations: 170.9 kB / 313.3 MB, free: 55.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004839/0.01453, allocations: 470.2 kB / 313.7 MB, free: 54.83 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01453, allocations: 0 / 313.7 MB, free: 54.83 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.01476, allocations: 294 kB / 314 MB, free: 54.6 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.01499, allocations: 23.38 kB / 314 MB, free: 54.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005662/0.01556, allocations: 412.9 kB / 314.4 MB, free: 54.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.258e-05/0.01565, allocations: 118.2 kB / 314.5 MB, free: 54.24 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.223e-05/0.01569, allocations: 8.438 kB / 314.5 MB, free: 54.24 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.01573, allocations: 17.56 kB / 314.6 MB, free: 54.23 MB / 282.7 MB Notification: Performance of SimCode: time 3.41e-07/0.01573, allocations: 0 / 314.6 MB, free: 54.23 MB / 282.7 MB Notification: Performance of Templates: time 0.005299/0.02103, allocations: 2.742 MB / 317.3 MB, free: 51.77 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=480 -lv LOG_STATS > MEV_MEV.Test.TestPatientController1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.451047286973335]