Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Controls.PatientController.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.001097/0.001097, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001208/0.001208, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.855/0.855, allocations: 158.6 MB / 186 MB, free: 2.785 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.01022/0.01022, allocations: 1.436 MB / 239.8 MB, free: 13.49 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.Controls.PatientController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Controls.PatientController") translateModel(MEV.Controls.PatientController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Controls.PatientController") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 1.188 kB / 305.8 MB, free: 60.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.884e-05, allocations: 3.781 kB / 305.8 MB, free: 60.88 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Controls.PatientController): time 0.001691/0.001709, allocations: 1.305 MB / 307.1 MB, free: 60 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001298/0.001839, allocations: 31.92 kB / 307.2 MB, free: 59.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.358e-05/0.001863, allocations: 0 / 307.2 MB, free: 59.98 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.001886, allocations: 0 / 307.2 MB, free: 59.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.542e-05/0.001912, allocations: 1.094 kB / 307.2 MB, free: 59.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.002032, allocations: 11.45 kB / 307.2 MB, free: 59.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.946e-05/0.002102, allocations: 28.38 kB / 307.2 MB, free: 59.97 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.338e-05/0.002135, allocations: 1.719 kB / 307.2 MB, free: 59.97 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.903e-05/0.002184, allocations: 20.73 kB / 307.2 MB, free: 59.96 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.861e-05/0.002233, allocations: 13.48 kB / 307.2 MB, free: 59.96 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.002248, allocations: 6.375 kB / 307.2 MB, free: 59.96 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-06/0.002256, allocations: 2.906 kB / 307.3 MB, free: 59.96 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.002276, allocations: 8.312 kB / 307.3 MB, free: 59.95 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.002303, allocations: 5.578 kB / 307.3 MB, free: 59.95 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 5.806e-05/0.002361, allocations: 34.38 kB / 307.3 MB, free: 59.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.002364, allocations: 0 / 307.3 MB, free: 59.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.002364, allocations: 4.969 kB / 307.3 MB, free: 59.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.896e-06/0.002367, allocations: 0 / 307.3 MB, free: 59.93 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002794/0.002646, allocations: 365.8 kB / 307.7 MB, free: 59.56 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.002677, allocations: 17.56 kB / 307.7 MB, free: 59.55 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.002704, allocations: 6.344 kB / 307.7 MB, free: 59.55 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.338e-05/0.002737, allocations: 107.6 kB / 307.8 MB, free: 59.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.001e-05/0.002777, allocations: 57.17 kB / 307.8 MB, free: 59.36 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.002785, allocations: 3.797 kB / 307.8 MB, free: 59.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.195e-05/0.002857, allocations: 58.36 kB / 307.9 MB, free: 59.31 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.371e-06/0.002863, allocations: 192 / 307.9 MB, free: 59.31 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.00287, allocations: 2.281 kB / 307.9 MB, free: 59.31 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.002873, allocations: 4.125 kB / 307.9 MB, free: 59.31 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.772e-05/0.002891, allocations: 9.75 kB / 307.9 MB, free: 59.3 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.674e-05/0.002958, allocations: 111.3 kB / 308 MB, free: 59.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.204e-05/0.00303, allocations: 35.2 kB / 308.1 MB, free: 59.14 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.438e-05/0.003044, allocations: 14.5 kB / 308.1 MB, free: 59.13 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.73e-06/0.00305, allocations: 1.578 kB / 308.1 MB, free: 59.13 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.133e-05/0.003141, allocations: 73.84 kB / 308.2 MB, free: 59.07 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.003142, allocations: 3.938 kB / 308.2 MB, free: 59.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001311/0.003273, allocations: 74.83 kB / 308.2 MB, free: 59.03 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.003294, allocations: 54.81 kB / 308.3 MB, free: 58.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.021e-05/0.003334, allocations: 167 kB / 308.4 MB, free: 58.79 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.003342, allocations: 30.64 kB / 308.5 MB, free: 58.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.257e-05/0.003364, allocations: 136.5 kB / 308.6 MB, free: 58.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/0.003376, allocations: 20.48 kB / 308.6 MB, free: 58.6 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.003404, allocations: 31.56 kB / 308.7 MB, free: 58.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.545e-05/0.003439, allocations: 496.2 kB / 309.1 MB, free: 58.08 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/0.003456, allocations: 7.312 kB / 309.2 MB, free: 58.08 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.385e-05/0.00348, allocations: 43.47 kB / 309.2 MB, free: 58.04 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.098e-05/0.003521, allocations: 49.69 kB / 309.2 MB, free: 57.99 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.003522, allocations: 4.125 kB / 309.2 MB, free: 57.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.164e-05/0.003594, allocations: 77.09 kB / 309.3 MB, free: 57.94 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.003605, allocations: 4.844 kB / 309.3 MB, free: 57.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.003609, allocations: 1.188 kB / 309.3 MB, free: 57.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.003617, allocations: 0.9688 kB / 309.3 MB, free: 57.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.811e-05/0.003676, allocations: 10.47 kB / 309.3 MB, free: 57.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.003678, allocations: 5.609 kB / 309.3 MB, free: 57.94 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.116e-05/0.00371, allocations: 21.72 kB / 309.4 MB, free: 57.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-06/0.003716, allocations: 2.312 kB / 309.4 MB, free: 57.92 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition3,active,$PRE.active,t_off,$PRE.t_off,t_on,$PRE.t_on,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 3.899e-05/0.003755, allocations: 165.5 kB / 309.5 MB, free: 57.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-06/0.003763, allocations: 3.469 kB / 309.5 MB, free: 57.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.668e-05/0.003779, allocations: 8.688 kB / 309.5 MB, free: 57.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.003782, allocations: 1.828 kB / 309.5 MB, free: 57.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.003784, allocations: 5.312 kB / 309.5 MB, free: 57.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.003787, allocations: 4.594 kB / 309.6 MB, free: 57.74 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.457e-05/0.003832, allocations: 99.72 kB / 309.7 MB, free: 57.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.003833, allocations: 0.6094 kB / 309.7 MB, free: 57.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.034e-05/0.003844, allocations: 3.969 kB / 309.7 MB, free: 57.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.003845, allocations: 3 kB / 309.7 MB, free: 57.62 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.00385, allocations: 9.578 kB / 309.7 MB, free: 57.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.003852, allocations: 2 kB / 309.7 MB, free: 57.62 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.003852, allocations: 0 / 309.7 MB, free: 57.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.878e-05/0.003931, allocations: 107 kB / 309.8 MB, free: 57.53 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-06/0.003935, allocations: 1.969 kB / 309.8 MB, free: 57.53 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.003945, allocations: 6.25 kB / 309.8 MB, free: 57.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.077e-05/0.003966, allocations: 4.203 kB / 309.8 MB, free: 57.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.003996, allocations: 7.719 kB / 309.8 MB, free: 57.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.004, allocations: 2.25 kB / 309.8 MB, free: 57.52 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.295e-05/0.004013, allocations: 134.7 kB / 309.9 MB, free: 57.39 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004013, allocations: 4.094 kB / 309.9 MB, free: 57.39 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001204/0.004133, allocations: 9.266 kB / 309.9 MB, free: 57.39 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: 6 ($whenCondition2,$whenCondition3,$whenCondition1,t_on,t_off,active) * Number of discrete states: 2 (active,t_on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 4.863e-05/0.004182, allocations: 90.98 kB / 310 MB, free: 57.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.787e-05/0.00426, allocations: 46.23 kB / 310.1 MB, free: 57.28 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.004261, allocations: 1.031 kB / 310.1 MB, free: 57.28 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.927e-05/0.00429, allocations: 22.98 kB / 310.1 MB, free: 57.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.004415, allocations: 3.469 kB / 310.1 MB, free: 57.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000213/0.004628, allocations: 133.5 kB / 310.2 MB, free: 57.14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.756e-05/0.004646, allocations: 61.47 kB / 310.3 MB, free: 57.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.981e-05/0.004665, allocations: 3.516 kB / 310.3 MB, free: 57.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.004695, allocations: 72.03 kB / 310.4 MB, free: 57 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.004696, allocations: 1.094 kB / 310.4 MB, free: 57 MB / 282.7 MB Notification: Performance of Templates: time 0.001944/0.00664, allocations: 0.7409 MB / 311.1 MB, free: 56.91 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Controls.PatientController.makefile [Timeout 660] (rm -f MEV_MEV.Controls.PatientController.pipe ; mkfifo MEV_MEV.Controls.PatientController.pipe ; head -c 1048576 < MEV_MEV.Controls.PatientController.pipe >> ../files/MEV_MEV.Controls.PatientController.sim & ./MEV_MEV.Controls.PatientController -abortSlowSimulation -alarm=240 -lv LOG_STATS > MEV_MEV.Controls.PatientController.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.551894904114306]