Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.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.001314/0.001314, allocations: 102.4 kB / 16.45 MB, free: 6.449 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.001311/0.001311, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.371/1.371, allocations: 230.6 MB / 252.8 MB, free: 9.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002496/0.002496, allocations: 286.9 kB / 309.1 MB, free: 3.996 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.147/1.147, allocations: 180.9 MB / 0.5333 GB, free: 13.88 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002757/0.002757, allocations: 103.1 kB / 0.7342 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1583, allocations: 95.33 MB / 0.8273 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005872/0.1642, allocations: 4.111 MB / 0.8313 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002203/0.1644, allocations: 155.5 kB / 0.8315 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.1644, allocations: 0 / 0.8315 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.1645, allocations: 7.922 kB / 0.8315 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.25e-05/0.1646, allocations: 11.98 kB / 0.8315 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.165, allocations: 87.67 kB / 0.8316 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.995e-05/0.165, allocations: 35.78 kB / 0.8316 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.1651, allocations: 8 kB / 0.8316 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.819e-05/0.1651, allocations: 11.98 kB / 0.8316 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.532e-05/0.1652, allocations: 11.98 kB / 0.8317 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.1652, allocations: 0 / 0.8317 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.1654, allocations: 79.77 kB / 0.8317 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.34e-05/0.1655, allocations: 15.92 kB / 0.8317 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.1655, allocations: 8 kB / 0.8318 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.1657, allocations: 72 kB / 0.8318 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1657, allocations: 0 / 0.8318 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1657, allocations: 0 / 0.8318 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.1657, allocations: 0 / 0.8318 GB, free: 5.27 MB / 0.5762 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.0004704/0.1662, allocations: 331.5 kB / 0.8321 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1662, allocations: 12.03 kB / 0.8322 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.826e-05/0.1663, allocations: 38.75 kB / 0.8322 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.1663, allocations: 0.9375 kB / 0.8322 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.1664, allocations: 172.3 kB / 0.8324 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.169e-05/0.1665, allocations: 26.27 kB / 0.8324 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.1665, allocations: 4.125 kB / 0.8324 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.1666, allocations: 41.69 kB / 0.8324 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1666, allocations: 0 / 0.8324 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1667, allocations: 7.938 kB / 0.8324 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.1667, allocations: 0 / 0.8324 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.538e-05/0.1667, allocations: 19.92 kB / 0.8325 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.1672, allocations: 334 kB / 0.8328 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.451e-05/0.1673, allocations: 18.58 kB / 0.8328 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.841e-05/0.1673, allocations: 4.859 kB / 0.8328 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.1674, allocations: 85.16 kB / 0.8329 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.1674, allocations: 38.56 kB / 0.8329 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1674, allocations: 0 / 0.8329 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.000162/0.1676, allocations: 37.64 kB / 0.8329 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.1676, allocations: 51.41 kB / 0.833 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1678, allocations: 109.8 kB / 0.8331 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1678, allocations: 25.7 kB / 0.8331 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.229e-05/0.1678, allocations: 84.09 kB / 0.8332 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.805e-06/0.1678, allocations: 7.891 kB / 0.8332 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-05/0.1679, allocations: 25.83 kB / 0.8332 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1681, allocations: 314.8 kB / 0.8335 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.661e-05/0.1681, allocations: 4 kB / 0.8335 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.884e-05/0.1681, allocations: 17.72 kB / 0.8336 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.016e-05/0.1681, allocations: 25.64 kB / 0.8336 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1681, allocations: 0 / 0.8336 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.833e-05/0.1682, allocations: 49.64 kB / 0.8336 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1682, allocations: 7.984 kB / 0.8336 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1682, allocations: 4 kB / 0.8336 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1683, allocations: 0 / 0.8336 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.361e-05/0.1683, allocations: 8 kB / 0.8336 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1683, allocations: 0 / 0.8336 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.758e-05/0.1683, allocations: 0 / 0.8336 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1683, allocations: 4 kB / 0.8337 GB, free: 3.113 MB / 0.5762 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 9.41e-05/0.1684, allocations: 113.8 kB / 0.8338 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.1685, allocations: 8 kB / 0.8338 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.1686, allocations: 120.8 kB / 0.8339 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.103e-05/0.1687, allocations: 180.3 kB / 0.8341 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.088e-05/0.1688, allocations: 184.3 kB / 0.8342 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.064e-05/0.1688, allocations: 184.2 kB / 0.8344 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.1691, allocations: 409.5 kB / 0.8348 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.904e-05/0.1692, allocations: 108.9 kB / 0.8349 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.1692, allocations: 101 kB / 0.835 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.516e-05/0.1693, allocations: 180.3 kB / 0.8352 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.755e-05/0.1694, allocations: 180.2 kB / 0.8353 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.296e-05/0.1695, allocations: 184.2 kB / 0.8355 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.275e-05/0.1696, allocations: 188.2 kB / 0.8357 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.1698, allocations: 311.7 kB / 0.836 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.1699, allocations: 182 kB / 0.8362 GB, free: 352 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.17, allocations: 180.2 kB / 0.8363 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.1701, allocations: 116.9 kB / 0.8365 GB, free: 40 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.1702, allocations: 176.3 kB / 0.8366 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/0.1703, allocations: 101 kB / 0.8367 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.377e-05/0.1704, allocations: 91.2 kB / 0.8368 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1704, allocations: 0 / 0.8368 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002731/0.1706, allocations: 27.81 kB / 0.8368 GB, free: 15.64 MB / 0.5919 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.0005956/0.1712, allocations: 0.8282 MB / 0.8376 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.685e-05/0.1713, allocations: 11.94 kB / 0.8376 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1713, allocations: 0 / 0.8376 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.1713, allocations: 0 / 0.8376 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005526/0.1719, allocations: 459.8 kB / 0.8381 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.1732, allocations: 1.328 MB / 0.8394 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.1735, allocations: 0.6729 MB / 0.84 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.258e-05/0.1735, allocations: 15.92 kB / 0.8401 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.1736, allocations: 11.44 kB / 0.8401 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.1736, allocations: 0 / 0.8401 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.1965, allocations: 1.51 MB / 0.8415 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.554/7.75, allocations: 9.188 kB / 0.8416 GB, free: 10.8 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.594243314582855] Failed to read output from testmodel.py, exit status != 0: 7.815355599857867 7.829754864 7.661245491 Calling exit ...