Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.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.001319/0.001319, allocations: 109 kB / 17.12 MB, free: 5.926 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.001505/0.001505, allocations: 205 kB / 20.09 MB, free: 2.977 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.533/1.533, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9992/0.9992, allocations: 150 MB / 459.5 MB, free: 5.277 MB / 350.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.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck",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.002014/0.002014, allocations: 69.59 kB / 0.6361 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.172, allocations: 89.13 MB / 0.7231 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002446/0.1744, allocations: 1.271 MB / 0.7244 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1915/0.366, allocations: 140.9 MB / 0.862 GB, free: 5.277 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.874e-05/0.366, allocations: 0 / 0.862 GB, free: 5.277 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.366, allocations: 3.984 kB / 0.862 GB, free: 5.273 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.155e-05/0.3661, allocations: 7.938 kB / 0.862 GB, free: 5.266 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.3675, allocations: 466.6 kB / 0.8625 GB, free: 4.809 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 9.447e-05/0.3676, allocations: 39.86 kB / 0.8625 GB, free: 4.77 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.3677, allocations: 7.922 kB / 0.8625 GB, free: 4.762 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 6.23e-05/0.3677, allocations: 19.98 kB / 0.8625 GB, free: 4.742 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 7.948e-05/0.3678, allocations: 23.91 kB / 0.8626 GB, free: 4.719 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.3678, allocations: 4 kB / 0.8626 GB, free: 4.715 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.3695, allocations: 0.8309 MB / 0.8634 GB, free: 3.883 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.3696, allocations: 15.98 kB / 0.8634 GB, free: 3.867 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.3696, allocations: 15.92 kB / 0.8634 GB, free: 3.852 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.000727/0.3703, allocations: 451 kB / 0.8638 GB, free: 3.41 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3703, allocations: 0 / 0.8638 GB, free: 3.41 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3703, allocations: 0 / 0.8638 GB, free: 3.41 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3703, allocations: 0 / 0.8638 GB, free: 3.41 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006146/0.3709, allocations: 372.9 kB / 0.8642 GB, free: 3 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.371, allocations: 12.03 kB / 0.8642 GB, free: 2.988 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.207e-05/0.371, allocations: 34.69 kB / 0.8642 GB, free: 2.945 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.3712, allocations: 20.92 kB / 0.8643 GB, free: 2.926 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.3714, allocations: 160.4 kB / 0.8644 GB, free: 2.73 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.3714, allocations: 4.375 kB / 0.8644 GB, free: 2.727 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.3714, allocations: 11.94 kB / 0.8644 GB, free: 2.715 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.3716, allocations: 53.66 kB / 0.8645 GB, free: 2.656 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.3716, allocations: 0 / 0.8645 GB, free: 2.656 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.3716, allocations: 0 / 0.8645 GB, free: 2.656 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3716, allocations: 0 / 0.8645 GB, free: 2.656 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.379e-05/0.3717, allocations: 19.98 kB / 0.8645 GB, free: 2.637 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.3719, allocations: 177.5 kB / 0.8647 GB, free: 2.414 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.372, allocations: 54.48 kB / 0.8647 GB, free: 2.352 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/0.372, allocations: 12.86 kB / 0.8647 GB, free: 2.336 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3442/0.7162, allocations: 3.205 MB / 0.8679 GB, free: 148.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.7163, allocations: 37.78 kB / 0.8679 GB, free: 148.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/0.7163, allocations: 0 / 0.8679 GB, free: 148.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.04614/0.7624, allocations: 15 MB / 0.8825 GB, free: 143.2 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.7624, allocations: 55.41 kB / 0.8826 GB, free: 143.1 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.73e-05/0.7625, allocations: 93.84 kB / 0.8827 GB, free: 143 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.7625, allocations: 32.72 kB / 0.8827 GB, free: 143 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 1.355e-05/0.7625, allocations: 80.27 kB / 0.8828 GB, free: 142.9 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.7626, allocations: 46.84 kB / 0.8828 GB, free: 142.9 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.7626, allocations: 28.34 kB / 0.8829 GB, free: 142.8 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.701e-05/0.7626, allocations: 321.8 kB / 0.8832 GB, free: 142.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.058e-05/0.7627, allocations: 22.56 kB / 0.8832 GB, free: 142.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.967e-05/0.7627, allocations: 26.11 kB / 0.8832 GB, free: 142.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.7628, allocations: 69.34 kB / 0.8833 GB, free: 142.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.7628, allocations: 0 / 0.8833 GB, free: 142.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000196/0.763, allocations: 98.38 kB / 0.8834 GB, free: 142.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.7631, allocations: 8 kB / 0.8834 GB, free: 142.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.7631, allocations: 0 / 0.8834 GB, free: 142.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.7631, allocations: 0 / 0.8834 GB, free: 142.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.7632, allocations: 28.08 kB / 0.8834 GB, free: 142.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.7632, allocations: 4 kB / 0.8834 GB, free: 142.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.679e-05/0.7632, allocations: 0 / 0.8834 GB, free: 142.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.7632, allocations: 7.188 kB / 0.8834 GB, free: 142.3 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * 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 6.183e-05/0.7633, allocations: 121 kB / 0.8835 GB, free: 142.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-05/0.7633, allocations: 7.953 kB / 0.8836 GB, free: 142.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.7636, allocations: 130.6 kB / 0.8837 GB, free: 142.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.7636, allocations: 0 / 0.8837 GB, free: 142.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.7636, allocations: 0 / 0.8837 GB, free: 142.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.7636, allocations: 0 / 0.8837 GB, free: 142.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.7637, allocations: 177.9 kB / 0.8838 GB, free: 141.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7637, allocations: 2.156 kB / 0.8838 GB, free: 141.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.7638, allocations: 23.98 kB / 0.8839 GB, free: 141.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.7638, allocations: 8 kB / 0.8839 GB, free: 141.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.7638, allocations: 3 kB / 0.8839 GB, free: 141.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.7638, allocations: 0 / 0.8839 GB, free: 141.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7638, allocations: 0 / 0.8839 GB, free: 141.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.7641, allocations: 164.6 kB / 0.884 GB, free: 141.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.7641, allocations: 85.14 kB / 0.8841 GB, free: 141.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.7642, allocations: 7.5 kB / 0.8841 GB, free: 141.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.7643, allocations: 15.98 kB / 0.8841 GB, free: 141.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-05/0.7643, allocations: 10.86 kB / 0.8842 GB, free: 141.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.7643, allocations: 4 kB / 0.8842 GB, free: 141.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 1.511e-05/0.7643, allocations: 75.28 kB / 0.8842 GB, free: 141.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.7643, allocations: 0 / 0.8842 GB, free: 141.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002041/0.7664, allocations: 0.571 MB / 0.8848 GB, free: 141 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.005211/0.7716, allocations: 0.9477 MB / 0.8857 GB, free: 140 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0002647/0.7719, allocations: 67.34 kB / 0.8858 GB, free: 140 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.7719, allocations: 0 / 0.8858 GB, free: 140 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 6.612e-05/0.7719, allocations: 30.23 kB / 0.8858 GB, free: 140 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.7721, allocations: 13.25 kB / 0.8858 GB, free: 140 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.7746, allocations: 1.537 MB / 0.8873 GB, free: 138.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001579/0.7748, allocations: 0.6846 MB / 0.888 GB, free: 137.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 7.865e-05/0.7748, allocations: 24.53 kB / 0.888 GB, free: 137.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.7749, allocations: 25.94 kB / 0.888 GB, free: 137.7 MB / 0.67 GB Notification: Performance of SimCode: time 8.52e-07/0.7749, allocations: 0 / 0.888 GB, free: 137.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05698/0.8319, allocations: 25.47 MB / 0.9129 GB, free: 112.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.134/9.966, allocations: 16.55 kB / 0.9129 GB, free: 112.2 MB / 0.67 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.493836894165725] Failed to read output from testmodel.py, exit status != 0: 10.048395452089608 10.066367511 9.692381787 Calling exit ...