Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001284/0.001284, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001425/0.001425, allocations: 212.8 kB / 22.24 MB, free: 5.242 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002446/0.002446, allocations: 285.4 kB / 312.7 MB, free: 2.609 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.188/1.188, allocations: 180.6 MB / 0.5369 GB, free: 14.49 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.002891/0.002891, allocations: 107.2 kB / 0.7395 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1629, allocations: 95.39 MB / 0.8326 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005605/0.1685, allocations: 3.615 MB / 0.8362 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002244/0.1687, allocations: 163.5 kB / 0.8363 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.019e-05/0.1688, allocations: 0 / 0.8363 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.093e-05/0.1689, allocations: 0 / 0.8363 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.969e-05/0.1689, allocations: 11.92 kB / 0.8363 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.1693, allocations: 88.69 kB / 0.8364 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.726e-05/0.1693, allocations: 35.91 kB / 0.8364 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.514e-05/0.1694, allocations: 4 kB / 0.8364 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.498e-05/0.1694, allocations: 15.97 kB / 0.8365 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.024e-05/0.1695, allocations: 19.86 kB / 0.8365 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.1695, allocations: 0 / 0.8365 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005517/0.17, allocations: 207.6 kB / 0.8367 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.491e-05/0.1701, allocations: 4 kB / 0.8367 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.1701, allocations: 11.92 kB / 0.8367 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1702, allocations: 59.86 kB / 0.8368 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1702, allocations: 0 / 0.8368 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1702, allocations: 4 kB / 0.8368 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.1702, allocations: 0 / 0.8368 GB, free: 4.059 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.0003567/0.1706, allocations: 258.3 kB / 0.837 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.1706, allocations: 9.344 kB / 0.837 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.969e-05/0.1707, allocations: 30.75 kB / 0.837 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.1707, allocations: 4.938 kB / 0.837 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1708, allocations: 126.3 kB / 0.8372 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.029e-05/0.1709, allocations: 55.97 kB / 0.8372 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.1709, allocations: 4.125 kB / 0.8372 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.171, allocations: 63.39 kB / 0.8373 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.171, allocations: 7.938 kB / 0.8373 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1711, allocations: 8 kB / 0.8373 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.1711, allocations: 0 / 0.8373 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.261e-05/0.1711, allocations: 15.97 kB / 0.8373 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.1715, allocations: 224 kB / 0.8375 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.311e-05/0.1716, allocations: 22.52 kB / 0.8375 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.403e-05/0.1716, allocations: 4.859 kB / 0.8376 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.128e-05/0.1716, allocations: 12.05 kB / 0.8376 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.1716, allocations: 34.56 kB / 0.8376 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.1716, allocations: 4 kB / 0.8376 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001264/0.1718, allocations: 33.64 kB / 0.8376 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.1718, allocations: 55.41 kB / 0.8377 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.155e-05/0.1719, allocations: 101.8 kB / 0.8378 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.1719, allocations: 25.7 kB / 0.8378 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.172, allocations: 92.08 kB / 0.8379 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.292e-06/0.172, allocations: 3.953 kB / 0.8379 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.172, allocations: 21.7 kB / 0.8379 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1722, allocations: 314.8 kB / 0.8382 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.417e-05/0.1722, allocations: 4 kB / 0.8382 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.7e-05/0.1722, allocations: 25.83 kB / 0.8382 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.501e-05/0.1722, allocations: 17.72 kB / 0.8383 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1722, allocations: 0 / 0.8383 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.426e-05/0.1723, allocations: 49.62 kB / 0.8383 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.1723, allocations: 4 kB / 0.8383 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.145e-06/0.1723, allocations: 0 / 0.8383 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.1723, allocations: 4 kB / 0.8383 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.704e-05/0.1724, allocations: 4 kB / 0.8383 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.1724, allocations: 64 / 0.8383 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/0.1724, allocations: 8 kB / 0.8383 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1724, allocations: 11.94 kB / 0.8383 GB, free: 2.211 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 8.34e-05/0.1725, allocations: 114.4 kB / 0.8385 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.1725, allocations: 4 kB / 0.8385 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.1726, allocations: 120.9 kB / 0.8386 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.404e-05/0.1727, allocations: 184.2 kB / 0.8387 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-05/0.1728, allocations: 180.2 kB / 0.8389 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.33e-05/0.1729, allocations: 180.3 kB / 0.8391 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.1732, allocations: 388.1 kB / 0.8395 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.713e-05/0.1732, allocations: 109 kB / 0.8396 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.694e-05/0.1733, allocations: 108.9 kB / 0.8397 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.151e-05/0.1733, allocations: 180.3 kB / 0.8398 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.293e-05/0.1734, allocations: 176.3 kB / 0.84 GB, free: 396 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.691e-05/0.1735, allocations: 180.2 kB / 0.8402 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-05/0.1736, allocations: 180.3 kB / 0.8404 GB, free: 20 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.1738, allocations: 311.7 kB / 0.8406 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.914e-05/0.1738, allocations: 105 kB / 0.8407 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-05/0.1739, allocations: 184.2 kB / 0.8409 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.1741, allocations: 109 kB / 0.841 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.154e-05/0.1742, allocations: 184.2 kB / 0.8412 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/0.1742, allocations: 101 kB / 0.8413 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.354e-05/0.1743, allocations: 91.27 kB / 0.8414 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1743, allocations: 0 / 0.8414 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002636/0.1745, allocations: 15.94 kB / 0.8414 GB, free: 14.88 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.0005212/0.1751, allocations: 0.8243 MB / 0.8422 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.472e-05/0.1751, allocations: 12 kB / 0.8422 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1751, allocations: 0 / 0.8422 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.1751, allocations: 0 / 0.8422 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.1756, allocations: 470.4 kB / 0.8427 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.1767, allocations: 1.329 MB / 0.844 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.114e-05/0.1768, allocations: 55.36 kB / 0.844 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.047e-05/0.1768, allocations: 11.16 kB / 0.844 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.1769, allocations: 11.44 kB / 0.844 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of SimCode: time 3.9e-07/0.1769, allocations: 0 / 0.844 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.2044, allocations: 2.047 MB / 0.846 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.87, allocations: 10.56 kB / 0.846 GB, free: 10.14 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_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_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.951711905188859] Failed to read output from testmodel.py, exit status != 0: 10.975154628045857 10.990325649 10.817187613 Calling exit ...