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.001869/0.001869, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002438/0.002438, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.518/1.518, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.1 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.009842/0.009842, allocations: 1.97 MB / 288 MB, free: 3.855 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.002227/0.002227, allocations: 77.7 kB / 403 MB, free: 50.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07614/0.07836, allocations: 49.7 MB / 452.7 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003417/0.08178, allocations: 3.479 MB / 456.2 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.08306, allocations: 0.9394 MB / 457.1 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.0832, allocations: 4 kB / 457.2 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.0833, allocations: 59.41 kB / 457.2 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.08356, allocations: 158.7 kB / 457.4 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.0839, allocations: 155.7 kB / 457.5 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004052/0.08431, allocations: 0.56 MB / 458.1 MB, free: 400 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.08448, allocations: 97.02 kB / 458.2 MB, free: 292 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.08466, allocations: 211.2 kB / 458.4 MB, free: 80 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003203/0.08498, allocations: 219.2 kB / 458.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.726e-05/0.08504, allocations: 48 kB / 458.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.08519, allocations: 71.97 kB / 458.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.876e-05/0.08528, allocations: 99.67 kB / 458.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.08552, allocations: 234.9 kB / 459 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005903/0.08611, allocations: 0.5098 MB / 459.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.08611, allocations: 0 / 459.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.08611, allocations: 3.938 kB / 459.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.08613, allocations: 0 / 459.5 MB, free: 14.89 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.001354/0.08748, allocations: 0.6722 MB / 460.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.08752, allocations: 15.98 kB / 460.2 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.08762, allocations: 44.66 kB / 460.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.088, allocations: 257.2 kB / 460.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.08803, allocations: 25.03 kB / 460.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-05/0.0881, allocations: 32.38 kB / 460.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006641/0.08876, allocations: 330.3 kB / 460.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.08878, allocations: 0 / 460.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.189e-05/0.08882, allocations: 12 kB / 460.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.08883, allocations: 11.94 kB / 460.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006139/0.08944, allocations: 258.5 kB / 461.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.09142, allocations: 1.088 MB / 462.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007433/0.09217, allocations: 258.8 kB / 462.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.09243, allocations: 116.7 kB / 462.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.09246, allocations: 4 kB / 462.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004334/0.0929, allocations: 171.3 kB / 462.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.0929, allocations: 0 / 462.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.002857/0.09576, allocations: 0.6279 MB / 463.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.0958, allocations: 51.41 kB / 463.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/0.09622, allocations: 349.7 kB / 463.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.09626, allocations: 33.7 kB / 463.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.09643, allocations: 204.5 kB / 464.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.639e-05/0.09651, allocations: 95.22 kB / 464.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.09664, allocations: 65.66 kB / 464.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.09683, allocations: 350.7 kB / 464.6 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.0971, allocations: 100.8 kB / 464.7 MB, free: 9.578 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.0974, allocations: 161.7 kB / 464.8 MB, free: 9.398 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000556/0.09796, allocations: 291.5 kB / 465.1 MB, free: 9.086 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.09796, allocations: 0 / 465.1 MB, free: 9.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008248/0.09879, allocations: 407.8 kB / 465.5 MB, free: 8.672 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.91e-05/0.09884, allocations: 33.7 kB / 465.5 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.09884, allocations: 0 / 465.5 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00186/0.1007, allocations: 236.8 kB / 465.8 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.1009, allocations: 47.97 kB / 465.8 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007805/0.1017, allocations: 0.6927 MB / 466.5 MB, free: 7.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.102, allocations: 43.83 kB / 466.5 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.102, allocations: 11.98 kB / 466.6 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000366/0.1024, allocations: 212.1 kB / 466.8 MB, free: 7.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002819/0.1027, allocations: 145.7 kB / 466.9 MB, free: 7.203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000502/0.1032, allocations: 275.8 kB / 467.2 MB, free: 6.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.1032, allocations: 8 kB / 467.2 MB, free: 6.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001051/0.1042, allocations: 431.8 kB / 467.6 MB, free: 6.461 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.1043, allocations: 37.69 kB / 467.6 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1043, allocations: 7.938 kB / 467.7 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004421/0.1047, allocations: 100.7 kB / 467.8 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.1049, allocations: 51.91 kB / 467.8 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/0.1075, allocations: 1.985 MB / 469.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.1077, allocations: 39.77 kB / 469.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.1078, allocations: 8 kB / 469.8 MB, free: 4.113 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.0001697/0.1079, allocations: 204.2 kB / 470 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.108, allocations: 39.75 kB / 470.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.1092, allocations: 394.6 kB / 470.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.1092, allocations: 0 / 470.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-06/0.1092, allocations: 0 / 470.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.1092, allocations: 4 kB / 470.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004377/0.1096, allocations: 372.3 kB / 470.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1096, allocations: 0 / 470.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.1098, allocations: 23.98 kB / 470.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001084/0.1109, allocations: 188.7 kB / 471 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.1109, allocations: 11.94 kB / 471 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006805/0.1116, allocations: 0.6968 MB / 471.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1116, allocations: 0 / 471.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.1129, allocations: 0.5172 MB / 472.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.1131, allocations: 71.7 kB / 472.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.027e-05/0.1131, allocations: 8 kB / 472.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.1133, allocations: 12.17 kB / 472.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.222e-05/0.1134, allocations: 27.95 kB / 472.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.1134, allocations: 11.94 kB / 472.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003269/0.1138, allocations: 251.2 kB / 472.6 MB, free: 1.211 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1138, allocations: 0 / 472.6 MB, free: 1.211 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005752/0.1143, allocations: 179.7 kB / 472.8 MB, free: 1.035 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.0001741/0.1145, allocations: 103.3 kB / 472.9 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001517/0.116, allocations: 0.6696 MB / 473.6 MB, free: 220 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.116, allocations: 0 / 473.6 MB, free: 220 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003943/0.1164, allocations: 128.6 kB / 473.7 MB, free: 92 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.1167, allocations: 45.41 kB / 473.7 MB, free: 48 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.1184, allocations: 0.8754 MB / 474.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.1189, allocations: 0.7915 MB / 475.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.468e-05/0.1189, allocations: 19.44 kB / 475.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1189, allocations: 0 / 475.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of Templates: time 0.008682/0.1276, allocations: 5.499 MB / 480.9 MB, free: 8.789 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: 7.520011770073324] Failed to read output from testmodel.py, exit status != 0: 0.13567571202293038 0.15171163599999996 0.062393627999999944 Calling exit ...