Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamProperties.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.00134/0.00134, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001632/0.001632, allocations: 212.7 kB / 23 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9787/0.9787, allocations: 150 MB / 463.2 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(IBPSA.Media.Examples.SteamProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 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.00212/0.00212, allocations: 62.91 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2059, allocations: 89.18 MB / 0.7284 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.6237/0.8295, allocations: 139.4 MB / 0.8645 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03003/0.8596, allocations: 22.88 MB / 0.8868 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.8598, allocations: 7.938 kB / 0.8868 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.8601, allocations: 47.67 kB / 0.8869 GB, free: 4.902 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.8605, allocations: 91.42 kB / 0.887 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.02184/0.8823, allocations: 6.987 MB / 0.8938 GB, free: 13.85 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0005679/0.8829, allocations: 255.8 kB / 0.894 GB, free: 13.6 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 6.545e-05/0.8829, allocations: 9.75 kB / 0.894 GB, free: 13.59 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004191/0.8833, allocations: 143.5 kB / 0.8942 GB, free: 13.45 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.8835, allocations: 95.59 kB / 0.8943 GB, free: 13.36 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.8836, allocations: 8 kB / 0.8943 GB, free: 13.35 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02483/0.9084, allocations: 11.7 MB / 0.9057 GB, free: 1.641 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.9085, allocations: 39.84 kB / 0.9057 GB, free: 1.602 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.9087, allocations: 79.66 kB / 0.9058 GB, free: 1.523 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01642/0.9251, allocations: 6.505 MB / 0.9122 GB, free: 11 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.9251, allocations: 7.875 kB / 0.9122 GB, free: 11 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9251, allocations: 0 / 0.9122 GB, free: 11 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.9251, allocations: 4 kB / 0.9122 GB, free: 10.99 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003939/0.929, allocations: 1.175 MB / 0.9133 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.9291, allocations: 8.031 kB / 0.9133 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.449e-05/0.9292, allocations: 46.73 kB / 0.9134 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.9303, allocations: 89.33 kB / 0.9134 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.9306, allocations: 166.5 kB / 0.9136 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.9306, allocations: 15.94 kB / 0.9136 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.9306, allocations: 12 kB / 0.9136 GB, free: 9.418 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.9319, allocations: 484.5 kB / 0.9141 GB, free: 8.926 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.9319, allocations: 0 / 0.9141 GB, free: 8.926 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.9319, allocations: 11.94 kB / 0.9141 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.9319, allocations: 5.438 kB / 0.9141 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.9332, allocations: 0.6205 MB / 0.9147 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.9345, allocations: 0.858 MB / 0.9156 GB, free: 7.352 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008338/0.9353, allocations: 236.3 kB / 0.9158 GB, free: 7.113 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.9355, allocations: 68.83 kB / 0.9158 GB, free: 7.043 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08596/1.021, allocations: 23.29 MB / 0.9386 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/1.021, allocations: 34.56 kB / 0.9386 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 1.844e-06/1.021, allocations: 4 kB / 0.9386 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.001839/1.023, allocations: 418.7 kB / 0.939 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/1.023, allocations: 55.41 kB / 0.9391 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/1.023, allocations: 140.8 kB / 0.9392 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/1.024, allocations: 33.7 kB / 0.9392 GB, free: 15 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.773e-05/1.024, allocations: 112.4 kB / 0.9394 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.3e-05/1.024, allocations: 83.23 kB / 0.9394 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/1.024, allocations: 85.66 kB / 0.9395 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.024, allocations: 334.7 kB / 0.9398 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/1.024, allocations: 79.95 kB / 0.9399 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/1.024, allocations: 125.1 kB / 0.94 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004779/1.025, allocations: 232.2 kB / 0.9402 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.025, allocations: 0 / 0.9402 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008085/1.026, allocations: 297.3 kB / 0.9405 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/1.026, allocations: 4 kB / 0.9405 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.525e-06/1.026, allocations: 4 kB / 0.9405 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.026, allocations: 160 / 0.9405 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/1.026, allocations: 88.62 kB / 0.9406 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/1.026, allocations: 0 / 0.9406 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/1.026, allocations: 23.83 kB / 0.9406 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.241e-05/1.026, allocations: 19.98 kB / 0.9407 GB, free: 13.48 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001573/1.026, allocations: 141.6 kB / 0.9408 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/1.027, allocations: 15.91 kB / 0.9408 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/1.029, allocations: 2.488 MB / 0.9432 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/1.029, allocations: 15.97 kB / 0.9433 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.029, allocations: 7.625 kB / 0.9433 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/1.029, allocations: 3.938 kB / 0.9433 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00386/1.033, allocations: 3.598 MB / 0.9468 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/1.033, allocations: 0 / 0.9468 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/1.034, allocations: 51.95 kB / 0.9468 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/1.034, allocations: 0 / 0.9468 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/1.034, allocations: 15.92 kB / 0.9469 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/1.034, allocations: 0 / 0.9469 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.034, allocations: 4 kB / 0.9469 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008427/1.035, allocations: 0.5584 MB / 0.9474 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/1.035, allocations: 63.67 kB / 0.9475 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/1.035, allocations: 7.938 kB / 0.9475 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/1.035, allocations: 15.98 kB / 0.9475 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/1.035, allocations: 19.97 kB / 0.9475 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/1.035, allocations: 8 kB / 0.9475 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.476e-05/1.035, allocations: 111.2 kB / 0.9476 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/1.035, allocations: 4 kB / 0.9476 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00443/1.039, allocations: 1.719 MB / 0.9493 GB, free: 4.5 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01028/1.05, allocations: 2.964 MB / 0.9522 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007915/1.051, allocations: 323 kB / 0.9525 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.051, allocations: 0 / 0.9525 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003237/1.051, allocations: 196.8 kB / 0.9527 GB, free: 1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006014/1.051, allocations: 68.52 kB / 0.9528 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00749/1.059, allocations: 3.1 MB / 0.9558 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/1.059, allocations: 0.766 MB / 0.9565 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006819/1.06, allocations: 409.2 kB / 0.9569 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/1.06, allocations: 95.39 kB / 0.957 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of SimCode: time 1.132e-06/1.06, allocations: 0 / 0.957 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1281/1.188, allocations: 63.79 MB / 1.019 GB, free: 12.74 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.06/17.25, allocations: 4 kB / 1.019 GB, free: 12.73 MB / 0.795 GB " [Timeout remaining time 643] (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamProperties.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.SteamProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_SteamProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.34964297499755] Failed to read output from testmodel.py, exit status != 0: 17.40594521499952 17.422525582 16.494005114 Calling exit ...