Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestStandardPatient.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.001323/0.001323, allocations: 88.72 kB / 19.44 MB, free: 356 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.001561/0.001561, allocations: 161.7 kB / 22.76 MB, free: 1.68 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 1.338/1.338, allocations: 158.6 MB / 184.5 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.009205/0.009205, allocations: 1.447 MB / 238.3 MB, free: 13.72 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.Test.TestStandardPatient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestStandardPatient") translateModel(MEV.Test.TestStandardPatient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestStandardPatient") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 303.9 MB, free: 61.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.356e-05, allocations: 3.438 kB / 303.9 MB, free: 61.3 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003634/0.003657, allocations: 3.149 MB / 307 MB, free: 59.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.00516, allocations: 0.894 MB / 307.9 MB, free: 58.56 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.005297, allocations: 4.469 kB / 307.9 MB, free: 58.56 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.005416, allocations: 62.78 kB / 308 MB, free: 58.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.005727, allocations: 168.4 kB / 308.2 MB, free: 58.4 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.006119, allocations: 154 kB / 308.3 MB, free: 58.3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005028/0.006622, allocations: 0.5792 MB / 308.9 MB, free: 57.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.006813, allocations: 89.77 kB / 309 MB, free: 57.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.007133, allocations: 305.2 kB / 309.3 MB, free: 57.8 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.007367, allocations: 169 kB / 309.4 MB, free: 57.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.267e-05/0.00743, allocations: 46.75 kB / 309.5 MB, free: 57.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.007581, allocations: 71.81 kB / 309.5 MB, free: 57.74 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.454e-05/0.007666, allocations: 107.2 kB / 309.7 MB, free: 57.66 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.007833, allocations: 162.8 kB / 309.8 MB, free: 57.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005599/0.008393, allocations: 0.5239 MB / 310.3 MB, free: 57.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.008396, allocations: 0 / 310.3 MB, free: 57.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.008397, allocations: 0 / 310.3 MB, free: 57.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.008405, allocations: 5.625 kB / 310.3 MB, free: 57.36 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00121/0.009615, allocations: 0.6703 MB / 311 MB, free: 56.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.009659, allocations: 14.14 kB / 311 MB, free: 56.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.009798, allocations: 73.69 kB / 311.1 MB, free: 56.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.01009, allocations: 253.2 kB / 311.3 MB, free: 56.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.01012, allocations: 23.53 kB / 311.4 MB, free: 56.58 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.309e-05/0.01018, allocations: 34.38 kB / 311.4 MB, free: 56.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005856/0.01077, allocations: 312.2 kB / 311.7 MB, free: 56.44 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.01078, allocations: 4.125 kB / 311.7 MB, free: 56.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.01081, allocations: 18.81 kB / 311.7 MB, free: 56.42 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.01082, allocations: 11.56 kB / 311.7 MB, free: 56.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005158/0.01134, allocations: 255.8 kB / 312 MB, free: 56.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.01296, allocations: 0.9414 MB / 312.9 MB, free: 55.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006696/0.01363, allocations: 261.9 kB / 313.2 MB, free: 55.61 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.01386, allocations: 115.5 kB / 313.3 MB, free: 55.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.01389, allocations: 4.25 kB / 313.3 MB, free: 55.55 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003564/0.01424, allocations: 160 kB / 313.5 MB, free: 55.44 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.382e-06/0.01425, allocations: 0 / 313.5 MB, free: 55.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.002604/0.01685, allocations: 0.633 MB / 314.1 MB, free: 55.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.01688, allocations: 61.81 kB / 314.2 MB, free: 55.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.01712, allocations: 292.5 kB / 314.4 MB, free: 54.83 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.01714, allocations: 30.95 kB / 314.5 MB, free: 54.79 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/0.01722, allocations: 208.4 kB / 314.7 MB, free: 54.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.01727, allocations: 86.09 kB / 314.8 MB, free: 54.53 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.054e-05/0.01736, allocations: 64.78 kB / 314.8 MB, free: 54.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.807e-05/0.01741, allocations: 346 kB / 315.2 MB, free: 54.14 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.01766, allocations: 131.5 kB / 315.3 MB, free: 54.06 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.01791, allocations: 189.9 kB / 315.5 MB, free: 53.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004423/0.01835, allocations: 299.1 kB / 315.8 MB, free: 53.67 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01836, allocations: 0 / 315.8 MB, free: 53.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006793/0.01904, allocations: 445.5 kB / 316.2 MB, free: 53.21 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.01906, allocations: 37.7 kB / 316.2 MB, free: 53.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01907, allocations: 3.984 kB / 316.2 MB, free: 53.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001644/0.02071, allocations: 236.8 kB / 316.5 MB, free: 52.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.02089, allocations: 39.98 kB / 316.5 MB, free: 52.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005317/0.02142, allocations: 0.7012 MB / 317.2 MB, free: 52.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.02172, allocations: 35.77 kB / 317.2 MB, free: 52.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.02174, allocations: 12.06 kB / 317.3 MB, free: 52.12 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002881/0.02203, allocations: 241.8 kB / 317.5 MB, free: 51.87 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002185/0.02225, allocations: 179.6 kB / 317.7 MB, free: 51.67 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004015/0.02265, allocations: 271.8 kB / 317.9 MB, free: 51.38 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.452e-06/0.02265, allocations: 0 / 317.9 MB, free: 51.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0008994/0.02355, allocations: 469.5 kB / 318.4 MB, free: 50.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.02357, allocations: 37.7 kB / 318.4 MB, free: 50.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.02357, allocations: 3.938 kB / 318.4 MB, free: 50.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004846/0.02406, allocations: 116.8 kB / 318.5 MB, free: 50.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.02424, allocations: 47.91 kB / 318.6 MB, free: 50.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.02608, allocations: 1.967 MB / 320.6 MB, free: 48.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.02636, allocations: 31.81 kB / 320.6 MB, free: 48.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.02638, allocations: 12 kB / 320.6 MB, free: 48.58 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.02651, allocations: 200.1 kB / 320.8 MB, free: 48.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.02656, allocations: 43.83 kB / 320.8 MB, free: 48.33 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009686/0.02753, allocations: 383.8 kB / 321.2 MB, free: 47.94 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.02753, allocations: 4 kB / 321.2 MB, free: 47.94 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.02753, allocations: 0 / 321.2 MB, free: 47.94 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.02754, allocations: 0 / 321.2 MB, free: 47.94 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.0278, allocations: 285 kB / 321.5 MB, free: 47.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.02781, allocations: 0 / 321.5 MB, free: 47.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.02797, allocations: 27.98 kB / 321.5 MB, free: 47.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009854/0.02896, allocations: 184.6 kB / 321.7 MB, free: 47.42 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.02898, allocations: 8 kB / 321.7 MB, free: 47.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004197/0.0294, allocations: 0.6965 MB / 322.4 MB, free: 46.69 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.0294, allocations: 8 kB / 322.4 MB, free: 46.68 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.03047, allocations: 0.507 MB / 322.9 MB, free: 46.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.0306, allocations: 71.75 kB / 323 MB, free: 46.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.03064, allocations: 4 kB / 323 MB, free: 46.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.03083, allocations: 19.98 kB / 323 MB, free: 46.06 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/0.0309, allocations: 28.73 kB / 323 MB, free: 46.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.03092, allocations: 4 kB / 323.1 MB, free: 46.03 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001432/0.03106, allocations: 207.1 kB / 323.3 MB, free: 45.83 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03106, allocations: 0 / 323.3 MB, free: 45.83 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005614/0.03162, allocations: 191.6 kB / 323.4 MB, free: 45.64 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (standardPatient.compliance.p,standardPatient.compliance.V,standardPatient.compliance.Vb) * Number of discrete variables: 3 ($whenCondition1,opening.T_start,opening.count) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001504/0.03178, allocations: 103.2 kB / 323.5 MB, free: 45.54 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.03305, allocations: 0.7187 MB / 324.3 MB, free: 44.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.03305, allocations: 0 / 324.3 MB, free: 44.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003395/0.03339, allocations: 128.9 kB / 324.4 MB, free: 44.64 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.03368, allocations: 41.88 kB / 324.4 MB, free: 44.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.03473, allocations: 0.7609 MB / 325.2 MB, free: 43.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.03484, allocations: 186.8 kB / 325.4 MB, free: 43.62 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.03494, allocations: 25.94 kB / 325.4 MB, free: 43.59 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.03499, allocations: 16.5 kB / 325.4 MB, free: 43.58 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.03499, allocations: 0 / 325.4 MB, free: 43.58 MB / 282.7 MB Notification: Performance of Templates: time 0.007255/0.04224, allocations: 4.251 MB / 329.7 MB, free: 39.37 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestStandardPatient.makefile [Timeout 660] (rm -f MEV_MEV.Test.TestStandardPatient.pipe ; mkfifo MEV_MEV.Test.TestStandardPatient.pipe ; head -c 1048576 < MEV_MEV.Test.TestStandardPatient.pipe >> ../files/MEV_MEV.Test.TestStandardPatient.sim & ./MEV_MEV.Test.TestStandardPatient -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestStandardPatient.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.438812703010626]