Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.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.001335/0.001335, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001463/0.001463, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9164/0.9164, allocations: 145 MB / 457.4 MB, free: 15.48 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.001943/0.001943, allocations: 74.34 kB / 0.6332 GB, free: 7.273 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1831, allocations: 87.88 MB / 0.719 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.575/0.7581, allocations: 138.7 MB / 0.8544 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001765/0.7583, allocations: 59.34 kB / 0.8545 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.16e-05/0.7583, allocations: 0 / 0.8545 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.7584, allocations: 3.938 kB / 0.8545 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.68e-05/0.7585, allocations: 11.97 kB / 0.8545 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009002/0.7594, allocations: 257.6 kB / 0.8548 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 8.621e-05/0.7595, allocations: 27.92 kB / 0.8548 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.7595, allocations: 7.938 kB / 0.8548 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.1e-05/0.7595, allocations: 19.8 kB / 0.8548 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.51e-05/0.7596, allocations: 16 kB / 0.8548 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.7596, allocations: 0 / 0.8548 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005332/0.7602, allocations: 267.4 kB / 0.8551 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.7602, allocations: 3.984 kB / 0.8551 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.7602, allocations: 7.938 kB / 0.8551 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0003614/0.7606, allocations: 191.5 kB / 0.8553 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.7606, allocations: 0 / 0.8553 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7606, allocations: 4 kB / 0.8553 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.7606, allocations: 0 / 0.8553 GB, free: 1.758 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004795/0.7611, allocations: 290.1 kB / 0.8555 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.7611, allocations: 8.031 kB / 0.8556 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.7612, allocations: 30.75 kB / 0.8556 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.7612, allocations: 4.938 kB / 0.8556 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.7613, allocations: 102.5 kB / 0.8557 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.166e-05/0.7614, allocations: 56.84 kB / 0.8557 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.7614, allocations: 3.938 kB / 0.8557 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.7616, allocations: 45.62 kB / 0.8558 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.7616, allocations: 3.984 kB / 0.8558 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.7616, allocations: 4 kB / 0.8558 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.7616, allocations: 4 kB / 0.8558 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.607e-05/0.7617, allocations: 8 kB / 0.8558 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007169/0.7624, allocations: 291.8 kB / 0.8561 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 4.376e-05/0.7624, allocations: 14.58 kB / 0.8561 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.881e-05/0.7624, allocations: 12.92 kB / 0.8561 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.561e-05/0.7625, allocations: 31.97 kB / 0.8561 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.7625, allocations: 40.59 kB / 0.8562 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.7625, allocations: 0 / 0.8562 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001807/0.7627, allocations: 37.69 kB / 0.8562 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.7628, allocations: 51.41 kB / 0.8563 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.693e-05/0.7629, allocations: 97.86 kB / 0.8564 GB, free: 484 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.7629, allocations: 29.83 kB / 0.8564 GB, free: 448 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.7629, allocations: 100.1 kB / 0.8565 GB, free: 344 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.244e-06/0.763, allocations: 3.953 kB / 0.8565 GB, free: 340 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.763, allocations: 13.72 kB / 0.8565 GB, free: 320 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.7631, allocations: 318.9 kB / 0.8568 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.7632, allocations: 5 kB / 0.8568 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.834e-05/0.7632, allocations: 21.64 kB / 0.8568 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.928e-05/0.7632, allocations: 21.72 kB / 0.8569 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7632, allocations: 0 / 0.8569 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.452e-05/0.7633, allocations: 53.62 kB / 0.8569 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.7633, allocations: 6.188 kB / 0.8569 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.7633, allocations: 0 / 0.8569 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.7634, allocations: 0 / 0.8569 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.04e-05/0.7634, allocations: 8 kB / 0.8569 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.7634, allocations: 2.938 kB / 0.8569 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.7634, allocations: 4.062 kB / 0.8569 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.7634, allocations: 7.922 kB / 0.8569 GB, free: 15.84 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 7.516e-05/0.7635, allocations: 109.8 kB / 0.857 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.7635, allocations: 2.344 kB / 0.857 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.7637, allocations: 120.9 kB / 0.8572 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.371e-05/0.7637, allocations: 184.3 kB / 0.8573 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-05/0.7638, allocations: 188.2 kB / 0.8575 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.386e-05/0.7639, allocations: 176.3 kB / 0.8577 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.7642, allocations: 380.2 kB / 0.858 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.346e-05/0.7642, allocations: 104.9 kB / 0.8581 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.7642, allocations: 105 kB / 0.8582 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-05/0.7643, allocations: 184.2 kB / 0.8584 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.507e-05/0.7644, allocations: 184.2 kB / 0.8586 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.535e-05/0.7645, allocations: 180.3 kB / 0.8588 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.219e-05/0.7645, allocations: 180.2 kB / 0.8589 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.7647, allocations: 307.7 kB / 0.8592 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.7647, allocations: 120.9 kB / 0.8593 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.773e-05/0.7648, allocations: 180.2 kB / 0.8595 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.765, allocations: 108.9 kB / 0.8596 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.79e-05/0.7651, allocations: 180.2 kB / 0.8598 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/0.7651, allocations: 104.9 kB / 0.8599 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.344e-05/0.7652, allocations: 95.09 kB / 0.86 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.7652, allocations: 4 kB / 0.86 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003119/0.7655, allocations: 55.8 kB / 0.86 GB, free: 12.47 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0006537/0.7661, allocations: 0.8758 MB / 0.8609 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.86e-05/0.7662, allocations: 15.92 kB / 0.8609 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7662, allocations: 0.6562 kB / 0.8609 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.7662, allocations: 0 / 0.8609 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.7667, allocations: 463.8 kB / 0.8614 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.7679, allocations: 1.341 MB / 0.8627 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.7682, allocations: 0.6728 MB / 0.8633 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.929e-05/0.7682, allocations: 12.59 kB / 0.8633 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.7682, allocations: 19.36 kB / 0.8633 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of SimCode: time 3.91e-07/0.7682, allocations: 0 / 0.8633 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03013/0.7984, allocations: 2.356 MB / 0.8657 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.23, allocations: 8.75 kB / 0.8657 GB, free: 6.723 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.976492358997348] Failed to read output from testmodel.py, exit status != 0: 12.339975819999381 12.366070329 11.600783553 Calling exit ...