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.0008805/0.0008805, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.000948/0.000948, allocations: 177 kB / 23.36 MB, free: 1.129 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.9209/0.9209, allocations: 158.6 MB / 185.2 MB, free: 2.773 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.006664/0.006664, allocations: 1.432 MB / 239 MB, free: 13.57 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 1.973e-06/1.973e-06, allocations: 0 / 256 MB, free: 12.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.07e-05, allocations: 6.312 kB / 256 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(MEV.Controls.PatientController): time 0.001639/0.001659, allocations: 1.313 MB / 257.3 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001465/0.001806, allocations: 35.83 kB / 257.3 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.501e-05/0.001831, allocations: 0 / 257.3 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.227e-05/0.001853, allocations: 0 / 257.3 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.882e-05/0.001882, allocations: 4 kB / 257.3 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.002034, allocations: 7.984 kB / 257.3 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.914e-05/0.002103, allocations: 31.89 kB / 257.4 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.002139, allocations: 0 / 257.4 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.744e-05/0.002196, allocations: 19.98 kB / 257.4 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.183e-05/0.002248, allocations: 11.97 kB / 257.4 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.002267, allocations: 4 kB / 257.4 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-06/0.002276, allocations: 3.938 kB / 257.4 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.002295, allocations: 11.98 kB / 257.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.261e-05/0.002328, allocations: 7.984 kB / 257.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 6.796e-05/0.002396, allocations: 23.91 kB / 257.4 MB, free: 11.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002398, allocations: 0 / 257.4 MB, free: 11.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.002399, allocations: 0 / 257.4 MB, free: 11.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.002403, allocations: 0 / 257.4 MB, free: 11.09 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.000345/0.002748, allocations: 244.7 kB / 257.7 MB, free: 10.83 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.002783, allocations: 15.98 kB / 257.7 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.647e-05/0.002809, allocations: 4.938 kB / 257.7 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.56e-05/0.002865, allocations: 101.8 kB / 257.8 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.641e-05/0.002941, allocations: 63.95 kB / 257.9 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.002953, allocations: 8.375 kB / 257.9 MB, free: 10.6 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.281e-05/0.003046, allocations: 54.94 kB / 257.9 MB, free: 10.54 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.003053, allocations: 4.172 kB / 257.9 MB, free: 10.54 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.003061, allocations: 384 / 257.9 MB, free: 10.54 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.003066, allocations: 4.125 kB / 257.9 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.739e-05/0.003084, allocations: 11.92 kB / 257.9 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.004e-05/0.003164, allocations: 65.33 kB / 258 MB, free: 10.44 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.328e-05/0.003227, allocations: 27.28 kB / 258 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.429e-05/0.003241, allocations: 8.859 kB / 258 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-06/0.003247, allocations: 4 kB / 258.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.267e-05/0.003339, allocations: 83.38 kB / 258.1 MB, free: 10.3 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.00334, allocations: 0 / 258.1 MB, free: 10.3 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001018/0.003442, allocations: 57.67 kB / 258.2 MB, free: 10.23 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.478e-05/0.003527, allocations: 59.39 kB / 258.2 MB, free: 10.16 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.268e-05/0.00359, allocations: 98.72 kB / 258.3 MB, free: 10.05 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.003602, allocations: 29.7 kB / 258.4 MB, free: 10.02 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.003639, allocations: 84.09 kB / 258.5 MB, free: 9.934 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.003654, allocations: 19.88 kB / 258.5 MB, free: 9.914 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.003684, allocations: 29.83 kB / 258.5 MB, free: 9.879 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.417e-05/0.003758, allocations: 314.8 kB / 258.8 MB, free: 9.562 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.154e-05/0.00378, allocations: 15.92 kB / 258.8 MB, free: 9.547 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.919e-05/0.003809, allocations: 30.56 kB / 258.9 MB, free: 9.508 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.218e-05/0.003861, allocations: 38.55 kB / 258.9 MB, free: 9.461 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.003863, allocations: 0 / 258.9 MB, free: 9.461 MB / 250.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.796e-05/0.003941, allocations: 65.55 kB / 259 MB, free: 9.391 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.003953, allocations: 11.94 kB / 259 MB, free: 9.379 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.003958, allocations: 64 / 259 MB, free: 9.379 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.003971, allocations: 4 kB / 259 MB, free: 9.375 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/0.004037, allocations: 11.98 kB / 259 MB, free: 9.363 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.00404, allocations: 4 kB / 259 MB, free: 9.359 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.00407, allocations: 15.88 kB / 259 MB, free: 9.344 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.004075, allocations: 0 / 259 MB, free: 9.344 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 0.0001176/0.004192, allocations: 117.8 kB / 259.1 MB, free: 9.219 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.004203, allocations: 7.938 kB / 259.1 MB, free: 9.211 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.645e-05/0.00422, allocations: 4.125 kB / 259.1 MB, free: 9.207 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.004221, allocations: 0 / 259.1 MB, free: 9.207 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.004224, allocations: 4 kB / 259.1 MB, free: 9.203 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.004228, allocations: 8 kB / 259.1 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.723e-05/0.004285, allocations: 77.78 kB / 259.2 MB, free: 9.102 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.004286, allocations: 0 / 259.2 MB, free: 9.102 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.183e-05/0.004298, allocations: 4 kB / 259.2 MB, free: 9.098 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.004299, allocations: 0 / 259.2 MB, free: 9.098 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.004303, allocations: 0 / 259.2 MB, free: 9.098 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.004304, allocations: 0 / 259.2 MB, free: 9.098 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.004305, allocations: 0 / 259.2 MB, free: 9.098 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.951e-05/0.004375, allocations: 85.03 kB / 259.3 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-06/0.004378, allocations: 0 / 259.3 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.004389, allocations: 8 kB / 259.3 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.033e-05/0.004409, allocations: 7.984 kB / 259.3 MB, free: 8.98 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.004441, allocations: 11.92 kB / 259.3 MB, free: 8.969 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.004446, allocations: 4 kB / 259.3 MB, free: 8.965 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.114e-05/0.004457, allocations: 8.859 kB / 259.3 MB, free: 8.953 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.004457, allocations: 0 / 259.3 MB, free: 8.953 MB / 250.7 MB Notification: Performance of remove unused functions: time 9.675e-05/0.004553, allocations: 11.98 kB / 259.4 MB, free: 8.941 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 6.403e-05/0.004618, allocations: 72.42 kB / 259.4 MB, free: 8.859 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.103e-05/0.004699, allocations: 44.86 kB / 259.5 MB, free: 8.812 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.004701, allocations: 0 / 259.5 MB, free: 8.812 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.356e-05/0.004735, allocations: 21.48 kB / 259.5 MB, free: 8.789 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.155e-05/0.004786, allocations: 7.922 kB / 259.5 MB, free: 8.781 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002121/0.004998, allocations: 120.6 kB / 259.6 MB, free: 8.637 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.586e-05/0.005024, allocations: 55.36 kB / 259.7 MB, free: 8.562 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.97e-05/0.005044, allocations: 11.92 kB / 259.7 MB, free: 8.551 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.005084, allocations: 55.5 kB / 259.7 MB, free: 8.496 MB / 250.7 MB Notification: Performance of SimCode: time 3.81e-07/0.005085, allocations: 0 / 259.7 MB, free: 8.496 MB / 250.7 MB Notification: Performance of Templates: time 0.001953/0.007038, allocations: 0.7066 MB / 260.4 MB, free: 7.789 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 -lv LOG_STATS > MEV_MEV.Controls.PatientController.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.563391918782145]