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.0009467/0.0009467, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001058/0.001058, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.836/0.836, allocations: 158.6 MB / 185.2 MB, free: 2.734 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.009221/0.009221, allocations: 1.432 MB / 239 MB, free: 13.56 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 9.82e-07/9.82e-07, allocations: 0 / 256 MB, free: 12.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.648e-06/1.063e-05, allocations: 2.312 kB / 256 MB, free: 12.53 MB / 250.7 MB Notification: Performance of NFInst.instantiate(MEV.Controls.PatientController): time 0.001463/0.001474, allocations: 1.357 MB / 257.4 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 9.39e-05/0.001568, allocations: 39.83 kB / 257.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.398e-05/0.001582, allocations: 0 / 257.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.372e-05/0.001596, allocations: 3.984 kB / 257.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 1.679e-05/0.001612, allocations: 0 / 257.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.92e-05/0.001682, allocations: 7.984 kB / 257.4 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.49e-05/0.001726, allocations: 27.91 kB / 257.4 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 1.908e-05/0.001745, allocations: 7.984 kB / 257.5 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.498e-05/0.00178, allocations: 19.98 kB / 257.5 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.317e-05/0.001814, allocations: 7.984 kB / 257.5 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.001824, allocations: 4 kB / 257.5 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.941e-06/0.00183, allocations: 4 kB / 257.5 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.001845, allocations: 19.91 kB / 257.5 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.001869, allocations: 3.984 kB / 257.5 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 4.021e-05/0.001909, allocations: 23.91 kB / 257.5 MB, free: 11 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.272e-06/0.00191, allocations: 0 / 257.5 MB, free: 11 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.8e-07/0.001911, allocations: 0 / 257.5 MB, free: 11 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.954e-06/0.001912, allocations: 0 / 257.5 MB, free: 11 MB / 250.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.0002249/0.002137, allocations: 240.7 kB / 257.8 MB, free: 10.73 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.05e-05/0.002158, allocations: 11.98 kB / 257.8 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.84e-05/0.002176, allocations: 12.92 kB / 257.8 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.22e-05/0.002219, allocations: 105.8 kB / 257.9 MB, free: 10.58 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.002258, allocations: 59.97 kB / 258 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-06/0.002263, allocations: 384 / 258 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.822e-05/0.002321, allocations: 58.92 kB / 258 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-06/0.002325, allocations: 192 / 258 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.229e-06/0.00233, allocations: 4.375 kB / 258 MB, free: 10.44 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.002334, allocations: 4.125 kB / 258 MB, free: 10.44 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.558e-05/0.002349, allocations: 7.938 kB / 258 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.128e-05/0.002401, allocations: 65.33 kB / 258.1 MB, free: 10.35 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.325e-05/0.002444, allocations: 35.27 kB / 258.1 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.207e-05/0.002456, allocations: 8.859 kB / 258.1 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-06/0.00246, allocations: 0 / 258.1 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.611e-05/0.002526, allocations: 75.41 kB / 258.2 MB, free: 10.21 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 6.21e-07/0.002527, allocations: 0 / 258.2 MB, free: 10.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 7.317e-05/0.0026, allocations: 61.61 kB / 258.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.923e-05/0.002619, allocations: 51.41 kB / 258.3 MB, free: 10.08 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.885e-05/0.002658, allocations: 102.7 kB / 258.4 MB, free: 9.969 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.002671, allocations: 33.81 kB / 258.5 MB, free: 9.93 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.966e-05/0.002701, allocations: 92.09 kB / 258.5 MB, free: 9.836 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.043e-05/0.002711, allocations: 15.89 kB / 258.6 MB, free: 9.82 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.002736, allocations: 21.7 kB / 258.6 MB, free: 9.793 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.745e-05/0.002804, allocations: 322.8 kB / 258.9 MB, free: 9.469 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.002815, allocations: 4 kB / 258.9 MB, free: 9.465 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.478e-05/0.00284, allocations: 42.48 kB / 258.9 MB, free: 9.414 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.372e-05/0.002874, allocations: 34.56 kB / 259 MB, free: 9.371 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.002875, allocations: 0 / 259 MB, free: 9.371 MB / 250.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 5.843e-05/0.002933, allocations: 65.61 kB / 259 MB, free: 9.301 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.002941, allocations: 7.938 kB / 259 MB, free: 9.293 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.002943, allocations: 0 / 259 MB, free: 9.293 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-06/0.00295, allocations: 7.984 kB / 259.1 MB, free: 9.285 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.738e-05/0.002997, allocations: 8 kB / 259.1 MB, free: 9.277 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.003002, allocations: 11.98 kB / 259.1 MB, free: 9.266 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.663e-05/0.003028, allocations: 15.88 kB / 259.1 MB, free: 9.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.003032, allocations: 0 / 259.1 MB, free: 9.25 MB / 250.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 4.626e-05/0.003078, allocations: 117.8 kB / 259.2 MB, free: 9.125 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-06/0.003086, allocations: 12.05 kB / 259.2 MB, free: 9.113 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.187e-05/0.003098, allocations: 4.125 kB / 259.2 MB, free: 9.109 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.003099, allocations: 0 / 259.2 MB, free: 9.109 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.003101, allocations: 0 / 259.2 MB, free: 9.109 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.003103, allocations: 3.938 kB / 259.2 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.672e-05/0.00315, allocations: 77.8 kB / 259.3 MB, free: 9.012 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.00315, allocations: 0 / 259.3 MB, free: 9.012 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.059e-05/0.003161, allocations: 7.984 kB / 259.3 MB, free: 9.004 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.003162, allocations: 0 / 259.3 MB, free: 9.004 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-06/0.003166, allocations: 0 / 259.3 MB, free: 9.004 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-07/0.003167, allocations: 3.938 kB / 259.3 MB, free: 9 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.003168, allocations: 4 kB / 259.3 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.282e-05/0.00322, allocations: 85.03 kB / 259.4 MB, free: 8.895 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.376e-06/0.003224, allocations: 0 / 259.4 MB, free: 8.895 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-06/0.003232, allocations: 4 kB / 259.4 MB, free: 8.891 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.679e-05/0.003249, allocations: 4 kB / 259.4 MB, free: 8.887 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.003275, allocations: 11.97 kB / 259.4 MB, free: 8.875 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.003279, allocations: 4 kB / 259.4 MB, free: 8.871 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.516e-06/0.003288, allocations: 12.8 kB / 259.4 MB, free: 8.855 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003288, allocations: 0 / 259.4 MB, free: 8.855 MB / 250.7 MB Notification: Performance of remove unused functions: time 9.313e-05/0.003381, allocations: 8 kB / 259.4 MB, free: 8.848 MB / 250.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.352e-05/0.003424, allocations: 76.52 kB / 259.5 MB, free: 8.762 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.37e-05/0.003478, allocations: 41.23 kB / 259.6 MB, free: 8.719 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.003479, allocations: 0 / 259.6 MB, free: 8.719 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.584e-05/0.003505, allocations: 25 kB / 259.6 MB, free: 8.691 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.55e-05/0.003541, allocations: 3.938 kB / 259.6 MB, free: 8.688 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001504/0.003691, allocations: 124.8 kB / 259.7 MB, free: 8.539 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.265e-05/0.003714, allocations: 55.36 kB / 259.8 MB, free: 8.465 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.677e-05/0.003731, allocations: 8.125 kB / 259.8 MB, free: 8.457 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.003761, allocations: 55.36 kB / 259.8 MB, free: 8.402 MB / 250.7 MB Notification: Performance of SimCode: time 3.8e-07/0.003761, allocations: 0 / 259.8 MB, free: 8.402 MB / 250.7 MB Notification: Performance of Templates: time 0.001495/0.005256, allocations: 0.7103 MB / 260.5 MB, free: 7.691 MB / 250.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > MEV_MEV.Controls.PatientController.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.47000750573352]