Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001377/0.001377, allocations: 114 kB / 17.12 MB, free: 6.008 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.00156/0.00156, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.548/1.548, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 1.022/1.022, allocations: 150 MB / 459.5 MB, free: 5.309 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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.002054/0.002054, allocations: 67.5 kB / 0.6361 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.158, allocations: 89.14 MB / 0.7232 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005337/0.1633, allocations: 3.364 MB / 0.7265 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001336/0.1635, allocations: 51.84 kB / 0.7265 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.2e-05/0.1635, allocations: 0 / 0.7265 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.1636, allocations: 3.938 kB / 0.7265 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.976e-05/0.1637, allocations: 15.92 kB / 0.7265 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006109/0.1643, allocations: 193.5 kB / 0.7267 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.389e-05/0.1644, allocations: 27.86 kB / 0.7267 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.221e-05/0.1645, allocations: 7.984 kB / 0.7267 GB, free: 368 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.225e-05/0.1645, allocations: 15.94 kB / 0.7268 GB, free: 352 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.612e-05/0.1646, allocations: 15.92 kB / 0.7268 GB, free: 336 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.1646, allocations: 0 / 0.7268 GB, free: 336 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003772/0.165, allocations: 187.5 kB / 0.727 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.948e-05/0.165, allocations: 7.969 kB / 0.727 GB, free: 140 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.165, allocations: 15.94 kB / 0.727 GB, free: 124 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.1654, allocations: 132 kB / 0.7271 GB, free: 15.99 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1654, allocations: 3.938 kB / 0.7271 GB, free: 15.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1654, allocations: 0 / 0.7271 GB, free: 15.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.1654, allocations: 0 / 0.7271 GB, free: 15.98 MB / 0.545 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.0004905/0.1659, allocations: 351.2 kB / 0.7274 GB, free: 15.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.1659, allocations: 12.03 kB / 0.7274 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.166, allocations: 30.75 kB / 0.7275 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.166, allocations: 8.938 kB / 0.7275 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.1661, allocations: 160.4 kB / 0.7276 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.489e-05/0.1662, allocations: 30.27 kB / 0.7277 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.1662, allocations: 4.125 kB / 0.7277 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.1663, allocations: 41.67 kB / 0.7277 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1663, allocations: 0 / 0.7277 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1664, allocations: 4 kB / 0.7277 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.1664, allocations: 0 / 0.7277 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.176e-05/0.1664, allocations: 27.86 kB / 0.7277 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007535/0.1672, allocations: 0.5833 MB / 0.7283 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.387e-05/0.1672, allocations: 18.56 kB / 0.7283 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.639e-05/0.1672, allocations: 4.859 kB / 0.7283 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002919/0.1675, allocations: 344.5 kB / 0.7287 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.1676, allocations: 38.56 kB / 0.7287 GB, free: 14.03 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1676, allocations: 0 / 0.7287 GB, free: 14.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001625/0.1677, allocations: 45.58 kB / 0.7287 GB, free: 13.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.1678, allocations: 51.41 kB / 0.7288 GB, free: 13.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.734e-05/0.1679, allocations: 101.8 kB / 0.7289 GB, free: 13.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1679, allocations: 25.7 kB / 0.7289 GB, free: 13.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.1679, allocations: 92.08 kB / 0.729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.192e-06/0.1679, allocations: 3.938 kB / 0.729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.168, allocations: 21.84 kB / 0.729 GB, free: 13.65 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1681, allocations: 318.8 kB / 0.7293 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.635e-05/0.1681, allocations: 4 kB / 0.7293 GB, free: 13.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.844e-05/0.1682, allocations: 21.7 kB / 0.7294 GB, free: 13.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.814e-05/0.1682, allocations: 17.66 kB / 0.7294 GB, free: 13.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1682, allocations: 0 / 0.7294 GB, free: 13.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.582e-05/0.1683, allocations: 61.58 kB / 0.7294 GB, free: 13.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1683, allocations: 5.875 kB / 0.7294 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1683, allocations: 0 / 0.7294 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1683, allocations: 0 / 0.7294 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.717e-05/0.1684, allocations: 8 kB / 0.7294 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1684, allocations: 0 / 0.7294 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.782e-05/0.1684, allocations: 0 / 0.7294 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.1684, allocations: 7.984 kB / 0.7295 GB, free: 13.19 MB / 0.545 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 8.559e-05/0.1685, allocations: 113.8 kB / 0.7296 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.1685, allocations: 4.062 kB / 0.7296 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.1687, allocations: 116.9 kB / 0.7297 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.857e-05/0.1687, allocations: 180.2 kB / 0.7298 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-05/0.1688, allocations: 180.3 kB / 0.73 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.589e-05/0.1689, allocations: 184.3 kB / 0.7302 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.1692, allocations: 417.2 kB / 0.7306 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.608e-05/0.1693, allocations: 104.9 kB / 0.7307 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.597e-05/0.1693, allocations: 105 kB / 0.7308 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.485e-05/0.1694, allocations: 176.3 kB / 0.731 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.464e-05/0.1695, allocations: 188.2 kB / 0.7311 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.665e-05/0.1696, allocations: 176.3 kB / 0.7313 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.572e-05/0.1697, allocations: 184.2 kB / 0.7315 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.1699, allocations: 303.8 kB / 0.7318 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.17, allocations: 190 kB / 0.732 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.1701, allocations: 184.2 kB / 0.7321 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.1702, allocations: 120.9 kB / 0.7322 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.1703, allocations: 180.3 kB / 0.7324 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-05/0.1704, allocations: 104.9 kB / 0.7325 GB, free: 9.828 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.799e-05/0.1705, allocations: 79.28 kB / 0.7326 GB, free: 9.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1705, allocations: 3.938 kB / 0.7326 GB, free: 9.746 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003121/0.1708, allocations: 43.8 kB / 0.7326 GB, free: 9.703 MB / 0.545 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.0006772/0.1714, allocations: 0.8594 MB / 0.7335 GB, free: 8.812 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.198e-05/0.1715, allocations: 11.92 kB / 0.7335 GB, free: 8.801 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1715, allocations: 0 / 0.7335 GB, free: 8.801 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.1715, allocations: 0 / 0.7335 GB, free: 8.801 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005206/0.1721, allocations: 462.9 kB / 0.7339 GB, free: 8.348 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.1734, allocations: 1.332 MB / 0.7352 GB, free: 6.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.1737, allocations: 0.6733 MB / 0.7359 GB, free: 6.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.206e-05/0.1738, allocations: 9.953 kB / 0.7359 GB, free: 6.223 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.1738, allocations: 11.44 kB / 0.7359 GB, free: 6.211 MB / 0.545 GB Notification: Performance of SimCode: time 3.5e-07/0.1738, allocations: 0 / 0.7359 GB, free: 6.211 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.2009, allocations: 2.161 MB / 0.738 GB, free: 4.238 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.298/8.499, allocations: 9.188 kB / 0.738 GB, free: 4.234 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_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_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.538814876927063] Failed to read output from testmodel.py, exit status != 0: 8.56844648392871 8.584375263 8.416077556 Calling exit ...