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.0009322/0.0009322, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.0009232/0.0009232, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.8879/0.8879, allocations: 158.6 MB / 185.9 MB, free: 2.754 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.006971/0.006971, allocations: 1.435 MB / 239.8 MB, free: 13.49 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.122e-06/1.122e-06, allocations: 0 / 305.8 MB, free: 60.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.327e-05, allocations: 4.156 kB / 305.8 MB, free: 60.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003296/0.003319, allocations: 3.398 MB / 309.2 MB, free: 58.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.00484, allocations: 0.91 MB / 310.1 MB, free: 57.94 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000216/0.005056, allocations: 8.25 kB / 310.2 MB, free: 57.94 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.005176, allocations: 66.08 kB / 310.2 MB, free: 57.9 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.005501, allocations: 165.8 kB / 310.4 MB, free: 57.78 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.005918, allocations: 151.4 kB / 310.5 MB, free: 57.69 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005668/0.006485, allocations: 0.5818 MB / 311.1 MB, free: 57.36 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.006685, allocations: 94.98 kB / 311.2 MB, free: 57.31 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004192/0.007104, allocations: 309.2 kB / 311.5 MB, free: 57.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.007335, allocations: 171.9 kB / 311.7 MB, free: 57.12 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.809e-05/0.007393, allocations: 46.81 kB / 311.7 MB, free: 57.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.007524, allocations: 68.77 kB / 311.8 MB, free: 57.11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.954e-05/0.007584, allocations: 97.72 kB / 311.9 MB, free: 57.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.007744, allocations: 167.6 kB / 312 MB, free: 56.97 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004336/0.008178, allocations: 364.4 kB / 312.4 MB, free: 56.79 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.008183, allocations: 0 / 312.4 MB, free: 56.79 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.008185, allocations: 4 kB / 312.4 MB, free: 56.78 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.008196, allocations: 0 / 312.4 MB, free: 56.78 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.0008557/0.009051, allocations: 0.7674 MB / 313.2 MB, free: 56.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.009088, allocations: 13.77 kB / 313.2 MB, free: 56.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.009195, allocations: 78.38 kB / 313.3 MB, free: 56.12 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.009425, allocations: 249.2 kB / 313.5 MB, free: 55.9 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.009447, allocations: 23.38 kB / 313.5 MB, free: 55.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.573e-05/0.009493, allocations: 34.16 kB / 313.6 MB, free: 55.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.009797, allocations: 211.2 kB / 313.8 MB, free: 55.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.009808, allocations: 192 / 313.8 MB, free: 55.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.009829, allocations: 19.34 kB / 313.8 MB, free: 55.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.009838, allocations: 11.53 kB / 313.8 MB, free: 55.78 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.00999, allocations: 95.67 kB / 313.9 MB, free: 55.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.01109, allocations: 0.9352 MB / 314.8 MB, free: 55.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.01138, allocations: 157.5 kB / 315 MB, free: 55.01 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.161e-05/0.01145, allocations: 63.42 kB / 315 MB, free: 54.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.01148, allocations: 4.312 kB / 315 MB, free: 54.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.01163, allocations: 116.8 kB / 315.2 MB, free: 54.88 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.984e-06/0.01164, allocations: 0 / 315.2 MB, free: 54.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.001246/0.01288, allocations: 480.6 kB / 315.6 MB, free: 54.63 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.01291, allocations: 55.06 kB / 315.7 MB, free: 54.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.01309, allocations: 323.5 kB / 316 MB, free: 54.31 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.01311, allocations: 31.52 kB / 316 MB, free: 54.28 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.057e-05/0.0132, allocations: 258.8 kB / 316.3 MB, free: 54.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.01324, allocations: 88.89 kB / 316.4 MB, free: 53.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.799e-05/0.01332, allocations: 75.47 kB / 316.4 MB, free: 53.9 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.238e-05/0.01339, allocations: 0.5096 MB / 317 MB, free: 53.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.996e-05/0.01348, allocations: 68.86 kB / 317 MB, free: 53.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.322e-05/0.01357, allocations: 143.5 kB / 317.2 MB, free: 53.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.01372, allocations: 195.1 kB / 317.4 MB, free: 53.03 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01373, allocations: 1.781 kB / 317.4 MB, free: 53.03 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003064/0.01403, allocations: 314.3 kB / 317.7 MB, free: 52.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.01406, allocations: 33.73 kB / 317.7 MB, free: 52.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01406, allocations: 4 kB / 317.7 MB, free: 52.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007428/0.01481, allocations: 209 kB / 317.9 MB, free: 52.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.01491, allocations: 47.91 kB / 317.9 MB, free: 52.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002982/0.01521, allocations: 0.8857 MB / 318.8 MB, free: 51.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.01538, allocations: 27.83 kB / 318.9 MB, free: 51.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.01539, allocations: 12 kB / 318.9 MB, free: 51.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001187/0.01551, allocations: 189.6 kB / 319.1 MB, free: 51.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.322e-05/0.01557, allocations: 143.8 kB / 319.2 MB, free: 51.14 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001046/0.01568, allocations: 175.4 kB / 319.4 MB, free: 50.94 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.01568, allocations: 0 / 319.4 MB, free: 50.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.000342/0.01602, allocations: 344.5 kB / 319.7 MB, free: 50.58 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.01604, allocations: 33.89 kB / 319.7 MB, free: 50.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-06/0.01604, allocations: 4 kB / 319.7 MB, free: 50.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002522/0.0163, allocations: 107.5 kB / 319.8 MB, free: 50.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.0164, allocations: 43.92 kB / 319.9 MB, free: 50.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.0175, allocations: 2.308 MB / 322.2 MB, free: 47.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.01767, allocations: 23.84 kB / 322.2 MB, free: 47.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.01768, allocations: 12 kB / 322.2 MB, free: 47.93 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 9.679e-05/0.01778, allocations: 284 kB / 322.5 MB, free: 47.64 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.01782, allocations: 39.81 kB / 322.5 MB, free: 47.61 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004116/0.01823, allocations: 266.8 kB / 322.8 MB, free: 47.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.01823, allocations: 4 kB / 322.8 MB, free: 47.33 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.01823, allocations: 4 kB / 322.8 MB, free: 47.33 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01824, allocations: 0 / 322.8 MB, free: 47.33 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.01842, allocations: 220.9 kB / 323 MB, free: 47.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01843, allocations: 3.984 kB / 323 MB, free: 47.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/0.01851, allocations: 27.98 kB / 323.1 MB, free: 47.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004402/0.01895, allocations: 171.4 kB / 323.2 MB, free: 46.88 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.01897, allocations: 8 kB / 323.2 MB, free: 46.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002401/0.01921, allocations: 0.8849 MB / 324.1 MB, free: 45.96 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01921, allocations: 0 / 324.1 MB, free: 45.96 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.0196, allocations: 345.9 kB / 324.5 MB, free: 45.6 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.304e-05/0.0197, allocations: 67.72 kB / 324.5 MB, free: 45.53 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.01973, allocations: 7.984 kB / 324.5 MB, free: 45.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.0198, allocations: 12 kB / 324.5 MB, free: 45.51 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.01985, allocations: 19.95 kB / 324.6 MB, free: 45.49 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.01986, allocations: 4 kB / 324.6 MB, free: 45.49 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.234e-05/0.01993, allocations: 214.9 kB / 324.8 MB, free: 45.28 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01993, allocations: 0 / 324.8 MB, free: 45.28 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003968/0.02033, allocations: 199.5 kB / 325 MB, free: 45.09 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.0001167/0.02044, allocations: 104.1 kB / 325.1 MB, free: 44.97 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006136/0.02106, allocations: 0.6312 MB / 325.7 MB, free: 44.28 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.02106, allocations: 4.688 kB / 325.7 MB, free: 44.28 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.02119, allocations: 95.36 kB / 325.8 MB, free: 44.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.02143, allocations: 33.17 kB / 325.8 MB, free: 44.15 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.02244, allocations: 0.7386 MB / 326.6 MB, free: 43.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.292e-05/0.02248, allocations: 100.9 kB / 326.7 MB, free: 43.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.319e-05/0.02256, allocations: 17.95 kB / 326.7 MB, free: 43.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.521e-05/0.02263, allocations: 102.2 kB / 326.8 MB, free: 43.15 MB / 282.7 MB Notification: Performance of SimCode: time 1.392e-06/0.02263, allocations: 3.938 kB / 326.8 MB, free: 43.14 MB / 282.7 MB Notification: Performance of Templates: time 0.006144/0.02878, allocations: 4.684 MB / 331.5 MB, free: 38.5 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=240 -lv LOG_STATS > MEV_MEV.Test.TestStandardPatient.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6730805207043886]