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.00155/0.00155, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001668/0.001668, allocations: 221.5 kB / 23 MB, free: 4.91 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.32/1.32, allocations: 207.7 MB / 233.8 MB, free: 9.809 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.00858/0.00858, allocations: 1.974 MB / 288.1 MB, free: 3.68 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.002205/0.002205, allocations: 77.89 kB / 403 MB, free: 50.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0607/0.0629, allocations: 49.71 MB / 452.7 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003048/0.06595, allocations: 3.136 MB / 455.9 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.067, allocations: 0.8966 MB / 456.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.06713, allocations: 4 kB / 456.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.475e-05/0.06723, allocations: 67.34 kB / 456.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.06746, allocations: 154.7 kB / 457 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.06778, allocations: 147.8 kB / 457.1 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003579/0.06813, allocations: 0.5677 MB / 457.7 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.06829, allocations: 97 kB / 457.8 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.06845, allocations: 207.2 kB / 458 MB, free: 296 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.06863, allocations: 195.1 kB / 458.2 MB, free: 100 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.781e-05/0.06868, allocations: 48 kB / 458.2 MB, free: 52 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.06882, allocations: 68.03 kB / 458.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.836e-05/0.06891, allocations: 91.64 kB / 458.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.06911, allocations: 195.2 kB / 458.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005593/0.06967, allocations: 0.5176 MB / 459.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.06968, allocations: 4 kB / 459.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.06968, allocations: 0 / 459.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.06968, allocations: 4 kB / 459.1 MB, free: 15.17 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.00134/0.07102, allocations: 0.676 MB / 459.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.07106, allocations: 11.98 kB / 459.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.723e-05/0.07115, allocations: 48.66 kB / 459.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.07153, allocations: 257.2 kB / 460.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.07156, allocations: 25.03 kB / 460.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.31e-05/0.07164, allocations: 36.38 kB / 460.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000639/0.07227, allocations: 310.3 kB / 460.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.07229, allocations: 0 / 460.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/0.07233, allocations: 16 kB / 460.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.07234, allocations: 11.94 kB / 460.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006005/0.07294, allocations: 258.4 kB / 460.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.07478, allocations: 0.9288 MB / 461.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007442/0.07552, allocations: 258.8 kB / 461.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/0.0758, allocations: 116.7 kB / 462 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.07582, allocations: 4 kB / 462 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003851/0.07621, allocations: 167.2 kB / 462.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.07621, allocations: 0 / 462.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.002719/0.07893, allocations: 0.6234 MB / 462.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.07898, allocations: 59.41 kB / 462.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.0793, allocations: 284.5 kB / 463.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.07934, allocations: 37.64 kB / 463.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.0795, allocations: 212.4 kB / 463.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.161e-05/0.07958, allocations: 91.2 kB / 463.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.07969, allocations: 65.64 kB / 463.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.07986, allocations: 342.8 kB / 463.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.08015, allocations: 130.5 kB / 464 MB, free: 10.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/0.08047, allocations: 187.4 kB / 464.2 MB, free: 9.848 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005596/0.08103, allocations: 291.5 kB / 464.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.08103, allocations: 0 / 464.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008509/0.08188, allocations: 437.5 kB / 464.9 MB, free: 9.086 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/0.08193, allocations: 37.69 kB / 464.9 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.08193, allocations: 0 / 464.9 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001664/0.08359, allocations: 232.8 kB / 465.2 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.08379, allocations: 43.92 kB / 465.2 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007624/0.08455, allocations: 0.6967 MB / 465.9 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.08483, allocations: 35.77 kB / 465.9 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.08485, allocations: 12 kB / 466 MB, free: 8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003727/0.08523, allocations: 233.8 kB / 466.2 MB, free: 7.762 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003062/0.08553, allocations: 187.4 kB / 466.4 MB, free: 7.551 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005127/0.08605, allocations: 275.8 kB / 466.6 MB, free: 7.254 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.08605, allocations: 0 / 466.6 MB, free: 7.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001045/0.08709, allocations: 457.4 kB / 467.1 MB, free: 6.785 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.08712, allocations: 29.7 kB / 467.1 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.08713, allocations: 4 kB / 467.1 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004041/0.08753, allocations: 116.7 kB / 467.2 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.08773, allocations: 39.98 kB / 467.3 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002429/0.09016, allocations: 1.95 MB / 469.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.09041, allocations: 35.77 kB / 469.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.09044, allocations: 12 kB / 469.3 MB, free: 4.496 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.0001654/0.0906, allocations: 196.2 kB / 469.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.09065, allocations: 31.88 kB / 469.5 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.09172, allocations: 381.5 kB / 469.9 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.09173, allocations: 7.938 kB / 469.9 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.09173, allocations: 3.938 kB / 469.9 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.09174, allocations: 7.984 kB / 469.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.09208, allocations: 273 kB / 470.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.09208, allocations: 0 / 470.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.09226, allocations: 27.98 kB / 470.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.09327, allocations: 180.7 kB / 470.3 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.09329, allocations: 8 kB / 470.4 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006796/0.09397, allocations: 0.7046 MB / 471.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.09397, allocations: 8 kB / 471.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.09525, allocations: 0.5016 MB / 471.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.0954, allocations: 71.69 kB / 471.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.09545, allocations: 12.03 kB / 471.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.09564, allocations: 16.17 kB / 471.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.222e-05/0.09572, allocations: 27.94 kB / 471.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.09574, allocations: 11.94 kB / 471.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002208/0.09596, allocations: 203.1 kB / 471.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09596, allocations: 0 / 471.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005716/0.09653, allocations: 187.6 kB / 472.1 MB, free: 1.57 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.000153/0.09669, allocations: 111.2 kB / 472.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.09826, allocations: 0.7159 MB / 472.9 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.09826, allocations: 0 / 472.9 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003854/0.09865, allocations: 128.6 kB / 473 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.09894, allocations: 36.62 kB / 473.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.1005, allocations: 0.8747 MB / 473.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.1007, allocations: 186.8 kB / 474.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.1008, allocations: 19.44 kB / 474.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1008, allocations: 0 / 474.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of Templates: time 0.00791/0.1087, allocations: 5.312 MB / 479.5 MB, free: 10.07 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: 6.6274988651275635] Failed to read output from testmodel.py, exit status != 0: 0.11621627677232027 0.131374178 0.058745081000000005 Calling exit ...