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.0009869/0.0009869, allocations: 92.22 kB / 19.65 MB, free: 276 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.001046/0.001046, allocations: 169 kB / 23.02 MB, free: 1.547 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.9216/0.9216, allocations: 158.6 MB / 184.9 MB, free: 2.914 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.006303/0.006303, allocations: 1.443 MB / 238.7 MB, free: 13.66 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.484e-06/2.484e-06, allocations: 0 / 304.6 MB, free: 61.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.265e-05, allocations: 2.312 kB / 304.6 MB, free: 61.01 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Controls.PatientController): time 0.005206/0.005229, allocations: 1.308 MB / 305.9 MB, free: 60.14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001748/0.005404, allocations: 34.75 kB / 305.9 MB, free: 60.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.701e-05/0.005431, allocations: 0 / 305.9 MB, free: 60.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.193e-05/0.005463, allocations: 1.734 kB / 305.9 MB, free: 60.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.835e-05/0.005491, allocations: 3.938 kB / 305.9 MB, free: 60.11 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.005641, allocations: 11.25 kB / 305.9 MB, free: 60.11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.865e-05/0.00572, allocations: 28.75 kB / 306 MB, free: 60.1 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.00576, allocations: 1.812 kB / 306 MB, free: 60.1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.843e-05/0.005818, allocations: 20.5 kB / 306 MB, free: 60.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.757e-05/0.005876, allocations: 10.33 kB / 306 MB, free: 60.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.005896, allocations: 6.219 kB / 306 MB, free: 60.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.005906, allocations: 2.062 kB / 306 MB, free: 60.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.005927, allocations: 11.73 kB / 306 MB, free: 60.08 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.005968, allocations: 9.828 kB / 306 MB, free: 60.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.703e-05/0.006045, allocations: 26.94 kB / 306.1 MB, free: 60.06 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.006047, allocations: 4 kB / 306.1 MB, free: 60.06 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006048, allocations: 0 / 306.1 MB, free: 60.06 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.006052, allocations: 1.062 kB / 306.1 MB, free: 60.06 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.0003996/0.006452, allocations: 365.5 kB / 306.4 MB, free: 59.69 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.006492, allocations: 14.11 kB / 306.4 MB, free: 59.69 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.006534, allocations: 6.172 kB / 306.4 MB, free: 59.69 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.592e-05/0.00658, allocations: 106.8 kB / 306.6 MB, free: 59.56 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.005e-05/0.00664, allocations: 61.41 kB / 306.6 MB, free: 59.49 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.006655, allocations: 7.25 kB / 306.6 MB, free: 59.49 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.006761, allocations: 56.56 kB / 306.7 MB, free: 59.44 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.006769, allocations: 192 / 306.7 MB, free: 59.44 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.006778, allocations: 5.172 kB / 306.7 MB, free: 59.44 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.006788, allocations: 5.094 kB / 306.7 MB, free: 59.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.887e-05/0.006817, allocations: 13.73 kB / 306.7 MB, free: 59.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.772e-05/0.006914, allocations: 121.2 kB / 306.8 MB, free: 59.28 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.09e-05/0.006985, allocations: 33.94 kB / 306.8 MB, free: 59.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/0.00701, allocations: 18.44 kB / 306.9 MB, free: 59.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.964e-06/0.007017, allocations: 1.531 kB / 306.9 MB, free: 59.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.007126, allocations: 81.5 kB / 306.9 MB, free: 59.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.007127, allocations: 0 / 306.9 MB, free: 59.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.003213/0.01034, allocations: 81.94 kB / 307 MB, free: 59.12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.01036, allocations: 57.41 kB / 307.1 MB, free: 59.05 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.505e-05/0.01042, allocations: 163.4 kB / 307.2 MB, free: 58.88 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.01043, allocations: 26.89 kB / 307.3 MB, free: 58.85 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.49e-05/0.01045, allocations: 132.7 kB / 307.4 MB, free: 58.72 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.01047, allocations: 20.34 kB / 307.4 MB, free: 58.7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.01051, allocations: 32.06 kB / 307.5 MB, free: 58.67 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.125e-05/0.01055, allocations: 499.3 kB / 307.9 MB, free: 58.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.942e-05/0.01058, allocations: 12.39 kB / 307.9 MB, free: 58.17 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.583e-05/0.01061, allocations: 40.89 kB / 308 MB, free: 58.13 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.89e-05/0.01067, allocations: 49.98 kB / 308 MB, free: 58.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.01067, allocations: 0 / 308 MB, free: 58.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001031/0.01078, allocations: 79.75 kB / 308.1 MB, free: 58.04 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.01079, allocations: 6.344 kB / 308.1 MB, free: 58.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.0108, allocations: 3.734 kB / 308.1 MB, free: 58.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.01081, allocations: 9.406 kB / 308.1 MB, free: 58.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.018e-05/0.01089, allocations: 10.17 kB / 308.1 MB, free: 58.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.0109, allocations: 5.547 kB / 308.2 MB, free: 58.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.185e-05/0.01094, allocations: 21.5 kB / 308.2 MB, free: 58.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.01095, allocations: 2.25 kB / 308.2 MB, free: 58.01 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 4.674e-05/0.011, allocations: 160.7 kB / 308.3 MB, free: 57.85 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.01101, allocations: 5.703 kB / 308.3 MB, free: 57.85 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.01104, allocations: 12.86 kB / 308.3 MB, free: 57.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01104, allocations: 1.469 kB / 308.4 MB, free: 57.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.01104, allocations: 7.938 kB / 308.4 MB, free: 57.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01105, allocations: 0.7031 kB / 308.4 MB, free: 57.83 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.958e-05/0.01111, allocations: 117.3 kB / 308.5 MB, free: 57.69 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.01111, allocations: 0 / 308.5 MB, free: 57.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.532e-05/0.01112, allocations: 3.172 kB / 308.5 MB, free: 57.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.01113, allocations: 5.812 kB / 308.5 MB, free: 57.69 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.01114, allocations: 0.5156 kB / 308.5 MB, free: 57.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01114, allocations: 2.047 kB / 308.5 MB, free: 57.69 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01114, allocations: 0 / 308.5 MB, free: 57.69 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.01127, allocations: 117.5 kB / 308.6 MB, free: 57.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-06/0.01128, allocations: 0.75 kB / 308.6 MB, free: 57.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.01129, allocations: 6.156 kB / 308.6 MB, free: 57.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.195e-05/0.01132, allocations: 9.078 kB / 308.6 MB, free: 57.58 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.01137, allocations: 11.84 kB / 308.6 MB, free: 57.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.01138, allocations: 6.562 kB / 308.6 MB, free: 57.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.202e-05/0.0114, allocations: 126 kB / 308.8 MB, free: 57.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0114, allocations: 0 / 308.8 MB, free: 57.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002171/0.01162, allocations: 9.406 kB / 308.8 MB, free: 57.45 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 6.203e-05/0.01168, allocations: 91.11 kB / 308.9 MB, free: 57.37 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.01181, allocations: 48.33 kB / 308.9 MB, free: 57.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01181, allocations: 1.125 kB / 308.9 MB, free: 57.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.486e-05/0.01186, allocations: 26.47 kB / 308.9 MB, free: 57.33 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.01201, allocations: 5.078 kB / 308.9 MB, free: 57.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.01228, allocations: 130.5 kB / 309.1 MB, free: 57.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.39e-05/0.01231, allocations: 60.66 kB / 309.1 MB, free: 57.13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.592e-05/0.01233, allocations: 4.547 kB / 309.1 MB, free: 57.13 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.01237, allocations: 15.55 kB / 309.1 MB, free: 57.11 MB / 282.7 MB Notification: Performance of SimCode: time 3.3e-07/0.01237, allocations: 0 / 309.1 MB, free: 57.11 MB / 282.7 MB Notification: Performance of Templates: time 0.002781/0.01515, allocations: 0.6587 MB / 309.8 MB, free: 57.04 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.9427507910877466]