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.001546/0.001546, allocations: 106.4 kB / 18.94 MB, free: 2.957 MB / 14.72 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.001674/0.001674, allocations: 219 kB / 22.25 MB, free: 5.133 MB / 14.72 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.3/1.3, allocations: 207.6 MB / 233 MB, free: 10 MB / 190.1 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.008824/0.008824, allocations: 1.969 MB / 287.2 MB, free: 3.852 MB / 222.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 72.55 kB / 402.3 MB, free: 50.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06191/0.06406, allocations: 49.71 MB / 452 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003215/0.06728, allocations: 3.459 MB / 455.4 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.06842, allocations: 0.9472 MB / 456.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.06855, allocations: 4 kB / 456.4 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.06865, allocations: 59.41 kB / 456.4 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.06888, allocations: 158.7 kB / 456.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.06919, allocations: 155.7 kB / 456.8 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003656/0.06956, allocations: 0.5677 MB / 457.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.06972, allocations: 93 kB / 457.4 MB, free: 432 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.06987, allocations: 211.3 kB / 457.6 MB, free: 220 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.07009, allocations: 223.1 kB / 457.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.946e-05/0.07015, allocations: 44 kB / 457.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.07029, allocations: 71.94 kB / 457.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.597e-05/0.07037, allocations: 95.69 kB / 458 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.07059, allocations: 234.9 kB / 458.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005591/0.07115, allocations: 0.5176 MB / 458.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.07115, allocations: 0 / 458.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.07116, allocations: 0 / 458.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.07117, allocations: 0 / 458.8 MB, free: 15.04 MB / 334.1 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.001322/0.07249, allocations: 0.6721 MB / 459.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.07252, allocations: 11.98 kB / 459.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.819e-05/0.07261, allocations: 48.66 kB / 459.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.07297, allocations: 261.2 kB / 459.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.073, allocations: 25.03 kB / 459.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-05/0.07306, allocations: 32.38 kB / 459.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006231/0.07368, allocations: 318.3 kB / 460.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.0737, allocations: 0 / 460.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.07373, allocations: 16 kB / 460.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.07374, allocations: 8 kB / 460.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000575/0.07431, allocations: 258.5 kB / 460.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.07618, allocations: 1.096 MB / 461.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006939/0.07687, allocations: 262.9 kB / 461.8 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.07713, allocations: 112.7 kB / 461.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.07717, allocations: 4 kB / 461.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003899/0.07756, allocations: 175.3 kB / 462.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.543e-06/0.07756, allocations: 0 / 462.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.002762/0.08032, allocations: 0.6201 MB / 462.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.08037, allocations: 55.41 kB / 462.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/0.08077, allocations: 353.7 kB / 463.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.0808, allocations: 33.7 kB / 463.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.08096, allocations: 200.5 kB / 463.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.508e-05/0.08104, allocations: 91.2 kB / 463.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.08115, allocations: 69.64 kB / 463.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.08132, allocations: 342.8 kB / 463.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.08159, allocations: 108.8 kB / 463.9 MB, free: 9.715 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.08188, allocations: 161.6 kB / 464.1 MB, free: 9.535 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000531/0.08241, allocations: 283.6 kB / 464.3 MB, free: 9.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.08242, allocations: 0 / 464.3 MB, free: 9.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008165/0.08323, allocations: 419.9 kB / 464.7 MB, free: 8.805 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.08327, allocations: 33.7 kB / 464.8 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.08328, allocations: 4 kB / 464.8 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/0.08506, allocations: 232.6 kB / 465 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.08526, allocations: 47.91 kB / 465.1 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007349/0.086, allocations: 0.6928 MB / 465.7 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.08628, allocations: 35.77 kB / 465.8 MB, free: 7.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.08631, allocations: 16 kB / 465.8 MB, free: 7.715 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003468/0.08665, allocations: 208.1 kB / 466 MB, free: 7.508 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002733/0.08693, allocations: 153.8 kB / 466.2 MB, free: 7.336 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004947/0.08742, allocations: 279.8 kB / 466.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.08742, allocations: 0 / 466.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.00104/0.08846, allocations: 435.7 kB / 466.9 MB, free: 6.594 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.08849, allocations: 33.7 kB / 466.9 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.0885, allocations: 3.938 kB / 466.9 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004248/0.08892, allocations: 104.8 kB / 467 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.08912, allocations: 43.92 kB / 467 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002443/0.09157, allocations: 2.016 MB / 469 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.09182, allocations: 35.7 kB / 469.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.09185, allocations: 16 kB / 469.1 MB, free: 4.223 MB / 334.1 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.0001478/0.092, allocations: 188.3 kB / 469.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.018e-05/0.09205, allocations: 35.77 kB / 469.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.09315, allocations: 394.2 kB / 469.7 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.09315, allocations: 4 kB / 469.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-06/0.09315, allocations: 0 / 469.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.09316, allocations: 3.984 kB / 469.7 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.09358, allocations: 364.4 kB / 470.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.09358, allocations: 0 / 470.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.09375, allocations: 31.98 kB / 470.1 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00108/0.09483, allocations: 180.7 kB / 470.3 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.09486, allocations: 11.94 kB / 470.3 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006709/0.09553, allocations: 0.689 MB / 471 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.09553, allocations: 4.062 kB / 471 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.09681, allocations: 0.5132 MB / 471.5 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.09696, allocations: 71.7 kB / 471.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.021e-05/0.09701, allocations: 11.98 kB / 471.6 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.09722, allocations: 19.92 kB / 471.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.428e-05/0.09729, allocations: 19.97 kB / 471.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.09732, allocations: 11.98 kB / 471.6 MB, free: 1.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002834/0.0976, allocations: 243.4 kB / 471.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0976, allocations: 0 / 471.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005583/0.09816, allocations: 183.7 kB / 472 MB, free: 1.176 MB / 334.1 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.0001434/0.0983, allocations: 111.2 kB / 472.1 MB, free: 1.055 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.09979, allocations: 0.6622 MB / 472.8 MB, free: 364 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.09979, allocations: 0 / 472.8 MB, free: 364 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000387/0.1002, allocations: 131.8 kB / 472.9 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.1005, allocations: 49.81 kB / 473 MB, free: 184 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.102, allocations: 0.8424 MB / 473.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.1024, allocations: 0.7954 MB / 474.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.1025, allocations: 30.95 kB / 474.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.1026, allocations: 19.44 kB / 474.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1026, allocations: 4 kB / 474.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of Templates: time 0.01114/0.1137, allocations: 5.72 MB / 480.4 MB, free: 8.707 MB / 350.1 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.319091854151338] Failed to read output from testmodel.py, exit status != 0: 0.121344885090366 0.136657801 0.062499497 Calling exit ...