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.0008655/0.0008655, 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.000849/0.000849, allocations: 173 kB / 23.03 MB, free: 1.543 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.7877/0.7877, allocations: 158.6 MB / 184.9 MB, free: 2.918 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.009445/0.009445, allocations: 1.451 MB / 238.7 MB, free: 13.65 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.755e-06/2.755e-06, allocations: 0 / 304.6 MB, free: 61.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.246e-05, allocations: 2.312 kB / 304.6 MB, free: 61.02 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Controls.PatientController): time 0.001765/0.001788, allocations: 1.305 MB / 305.9 MB, free: 60.14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001487/0.001936, allocations: 35.27 kB / 305.9 MB, free: 60.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.001961, allocations: 1.156 kB / 305.9 MB, free: 60.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.083e-05/0.001992, allocations: 0.5625 kB / 305.9 MB, free: 60.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.783e-05/0.00202, allocations: 3.938 kB / 305.9 MB, free: 60.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.002161, allocations: 12.64 kB / 305.9 MB, free: 60.11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.481e-05/0.002236, allocations: 30.59 kB / 306 MB, free: 60.1 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.393e-05/0.00227, allocations: 2.781 kB / 306 MB, free: 60.1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.3e-05/0.002323, allocations: 16.66 kB / 306 MB, free: 60.1 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.225e-05/0.002375, allocations: 9.719 kB / 306 MB, free: 60.1 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.002396, allocations: 6.031 kB / 306 MB, free: 60.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.057e-06/0.002405, allocations: 2.375 kB / 306 MB, free: 60.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.002426, allocations: 16.52 kB / 306 MB, free: 60.08 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.002466, allocations: 5.625 kB / 306 MB, free: 60.08 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.977e-05/0.002536, allocations: 22.7 kB / 306.1 MB, free: 60.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.002538, allocations: 4 kB / 306.1 MB, free: 60.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.002539, allocations: 1 kB / 306.1 MB, free: 60.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.002543, allocations: 0 / 306.1 MB, free: 60.07 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.0003707/0.002913, allocations: 369.3 kB / 306.4 MB, free: 59.7 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.00295, allocations: 14.7 kB / 306.4 MB, free: 59.7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.002991, allocations: 6.031 kB / 306.4 MB, free: 59.7 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.331e-05/0.003034, allocations: 110.5 kB / 306.5 MB, free: 59.56 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.387e-05/0.003088, allocations: 64.92 kB / 306.6 MB, free: 59.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.003098, allocations: 7.656 kB / 306.6 MB, free: 59.49 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.0032, allocations: 59.88 kB / 306.7 MB, free: 59.44 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.003207, allocations: 192 / 306.7 MB, free: 59.44 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.003216, allocations: 0.9844 kB / 306.7 MB, free: 59.44 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.003223, allocations: 5.188 kB / 306.7 MB, free: 59.44 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.492e-05/0.003248, allocations: 18.22 kB / 306.7 MB, free: 59.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.522e-05/0.003333, allocations: 121.1 kB / 306.8 MB, free: 59.28 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.254e-05/0.003405, allocations: 33.02 kB / 306.9 MB, free: 59.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.003427, allocations: 15.22 kB / 306.9 MB, free: 59.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-06/0.003433, allocations: 1.219 kB / 306.9 MB, free: 59.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/0.003536, allocations: 85.39 kB / 307 MB, free: 59.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.003537, allocations: 0 / 307 MB, free: 59.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001661/0.003703, allocations: 78.44 kB / 307 MB, free: 59.12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.003729, allocations: 58.14 kB / 307.1 MB, free: 59.06 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.453e-05/0.003773, allocations: 158.7 kB / 307.2 MB, free: 58.89 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.003781, allocations: 31.34 kB / 307.3 MB, free: 58.86 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.218e-05/0.003803, allocations: 132.8 kB / 307.4 MB, free: 58.72 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.003816, allocations: 23.91 kB / 307.4 MB, free: 58.7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.003843, allocations: 28.69 kB / 307.5 MB, free: 58.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.551e-05/0.003879, allocations: 0.4922 MB / 307.9 MB, free: 58.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.402e-05/0.003903, allocations: 11.66 kB / 308 MB, free: 58.17 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.87e-05/0.003932, allocations: 40.53 kB / 308 MB, free: 58.13 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.95e-05/0.003981, allocations: 48.33 kB / 308 MB, free: 58.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.003983, allocations: 0 / 308 MB, free: 58.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.718e-05/0.00406, allocations: 79.86 kB / 308.1 MB, free: 58.04 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.004072, allocations: 5.969 kB / 308.1 MB, free: 58.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.004076, allocations: 0.6094 kB / 308.1 MB, free: 58.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.004088, allocations: 6.219 kB / 308.1 MB, free: 58.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.215e-05/0.00416, allocations: 10.44 kB / 308.1 MB, free: 58.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.004166, allocations: 5.781 kB / 308.1 MB, free: 58.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/0.004197, allocations: 16.59 kB / 308.2 MB, free: 58.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.004204, allocations: 3.875 kB / 308.2 MB, free: 58.02 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.427e-05/0.004248, allocations: 160.4 kB / 308.3 MB, free: 57.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.004259, allocations: 4.75 kB / 308.3 MB, free: 57.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.004278, allocations: 12.58 kB / 308.3 MB, free: 57.85 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.00428, allocations: 1.906 kB / 308.3 MB, free: 57.85 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.004284, allocations: 8.5 kB / 308.4 MB, free: 57.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.004287, allocations: 0 / 308.4 MB, free: 57.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.961e-05/0.004337, allocations: 116.1 kB / 308.5 MB, free: 57.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.004338, allocations: 1.25 kB / 308.5 MB, free: 57.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.258e-05/0.00435, allocations: 2.938 kB / 308.5 MB, free: 57.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.004352, allocations: 5.906 kB / 308.5 MB, free: 57.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.00436, allocations: 6.547 kB / 308.5 MB, free: 57.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.004361, allocations: 0 / 308.5 MB, free: 57.7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.004363, allocations: 0.9062 kB / 308.5 MB, free: 57.7 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.7e-05/0.00445, allocations: 112 kB / 308.6 MB, free: 57.6 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-06/0.004454, allocations: 1.75 kB / 308.6 MB, free: 57.6 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.004466, allocations: 11.23 kB / 308.6 MB, free: 57.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2e-05/0.004486, allocations: 4.219 kB / 308.6 MB, free: 57.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.004529, allocations: 16.05 kB / 308.6 MB, free: 57.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.004536, allocations: 6.953 kB / 308.6 MB, free: 57.58 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.411e-05/0.004551, allocations: 121.1 kB / 308.7 MB, free: 57.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004551, allocations: 1.375 kB / 308.8 MB, free: 57.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001198/0.00467, allocations: 12.44 kB / 308.8 MB, free: 57.46 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 5.224e-05/0.004723, allocations: 91.16 kB / 308.9 MB, free: 57.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.004827, allocations: 49.83 kB / 308.9 MB, free: 57.35 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.004828, allocations: 0 / 308.9 MB, free: 57.35 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.497e-05/0.004863, allocations: 30.38 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 9.812e-05/0.004961, allocations: 5.047 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.0002184/0.00518, allocations: 130.5 kB / 309.1 MB, free: 57.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.158e-05/0.005201, allocations: 61.27 kB / 309.1 MB, free: 57.13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.915e-05/0.005221, allocations: 3.656 kB / 309.1 MB, free: 57.13 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.005249, allocations: 16.8 kB / 309.1 MB, free: 57.12 MB / 282.7 MB Notification: Performance of SimCode: time 7.32e-07/0.00525, allocations: 0 / 309.1 MB, free: 57.12 MB / 282.7 MB Notification: Performance of Templates: time 0.002167/0.007417, allocations: 0.6923 MB / 309.8 MB, free: 57.03 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.442235335242003]