Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.001258/0.001258, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001537/0.001537, allocations: 216 kB / 22.26 MB, free: 5.113 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.394/1.394, allocations: 230.6 MB / 256 MB, free: 8.031 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.002437/0.002437, allocations: 292.1 kB / 312.7 MB, free: 2.812 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.179/1.179, allocations: 180.6 MB / 0.5369 GB, free: 13.06 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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",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.002771/0.002771, allocations: 110.3 kB / 0.7395 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.161, allocations: 95.38 MB / 0.8327 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002963/0.1639, allocations: 1.861 MB / 0.8345 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002854/0.1642, allocations: 115.9 kB / 0.8346 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.64e-05/0.1643, allocations: 4 kB / 0.8346 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.966e-05/0.1644, allocations: 15.8 kB / 0.8346 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.426e-05/0.1645, allocations: 51.55 kB / 0.8347 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001385/0.1646, allocations: 31.95 kB / 0.8347 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.1648, allocations: 175.1 kB / 0.8349 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1649, allocations: 25 kB / 0.8349 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.001e-05/0.165, allocations: 51.86 kB / 0.835 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1651, allocations: 71.69 kB / 0.835 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.1652, allocations: 12 kB / 0.835 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.303e-05/0.1652, allocations: 8 kB / 0.835 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.149e-05/0.1652, allocations: 27.92 kB / 0.8351 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.211e-05/0.1653, allocations: 67.66 kB / 0.8351 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.1655, allocations: 123.5 kB / 0.8353 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1655, allocations: 0 / 0.8353 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1655, allocations: 3.938 kB / 0.8353 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.1655, allocations: 3.938 kB / 0.8353 GB, free: 6.043 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007465/0.1662, allocations: 381.6 kB / 0.8356 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1663, allocations: 9.938 kB / 0.8356 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.1663, allocations: 42.73 kB / 0.8357 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.1663, allocations: 12.84 kB / 0.8357 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.1666, allocations: 150.3 kB / 0.8358 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1666, allocations: 8.375 kB / 0.8358 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.1666, allocations: 4.375 kB / 0.8358 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.1669, allocations: 126.3 kB / 0.836 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1669, allocations: 7.938 kB / 0.836 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.1669, allocations: 4 kB / 0.836 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1669, allocations: 4 kB / 0.836 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.1672, allocations: 87.94 kB / 0.8361 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000732/0.168, allocations: 451.8 kB / 0.8365 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.1683, allocations: 121.2 kB / 0.8366 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.1685, allocations: 61.78 kB / 0.8367 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.1685, allocations: 4 kB / 0.8367 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.1685, allocations: 34.56 kB / 0.8367 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.1685, allocations: 0 / 0.8367 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0005654/0.1691, allocations: 181.5 kB / 0.8369 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.1692, allocations: 81.09 kB / 0.837 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.1693, allocations: 167.3 kB / 0.8371 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1693, allocations: 29.64 kB / 0.8371 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.1694, allocations: 116 kB / 0.8373 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.1694, allocations: 31.73 kB / 0.8373 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.1695, allocations: 17.72 kB / 0.8373 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1696, allocations: 338.8 kB / 0.8376 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.1698, allocations: 43.91 kB / 0.8377 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.1699, allocations: 53.69 kB / 0.8377 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.1702, allocations: 101.7 kB / 0.8378 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1702, allocations: 4 kB / 0.8378 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003447/0.1705, allocations: 145.5 kB / 0.838 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1705, allocations: 8 kB / 0.838 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.1705, allocations: 384 / 0.838 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1706, allocations: 0 / 0.838 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.1707, allocations: 24.17 kB / 0.838 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.1707, allocations: 4 kB / 0.838 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.1708, allocations: 27.81 kB / 0.838 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.1708, allocations: 7.938 kB / 0.838 GB, free: 2.98 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 (10): * Single equations (assignments): 10 * 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.999e-05/0.1709, allocations: 114.5 kB / 0.8381 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.171, allocations: 15.94 kB / 0.8382 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004146/0.1714, allocations: 162.6 kB / 0.8383 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1714, allocations: 4 kB / 0.8383 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1714, allocations: 0 / 0.8383 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1714, allocations: 3.938 kB / 0.8383 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.1717, allocations: 192.7 kB / 0.8385 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1717, allocations: 0 / 0.8385 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.1719, allocations: 27.97 kB / 0.8385 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1719, allocations: 4 kB / 0.8385 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.547e-06/0.1719, allocations: 0 / 0.8385 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1719, allocations: 0 / 0.8385 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1719, allocations: 0 / 0.8385 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/0.1723, allocations: 318.6 kB / 0.8388 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.1723, allocations: 11.94 kB / 0.8388 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.1723, allocations: 0 / 0.8388 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.1725, allocations: 15.98 kB / 0.8389 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.1725, allocations: 7.938 kB / 0.8389 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.1725, allocations: 11.92 kB / 0.8389 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.837e-05/0.1726, allocations: 131.2 kB / 0.839 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1726, allocations: 4 kB / 0.839 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002752/0.1729, allocations: 24 kB / 0.839 GB, free: 1.875 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 9 * 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.0006763/0.1736, allocations: 0.8444 MB / 0.8399 GB, free: 1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003255/0.1739, allocations: 95.88 kB / 0.8399 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1739, allocations: 192 / 0.8399 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.1741, allocations: 51.97 kB / 0.84 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.1745, allocations: 59.33 kB / 0.8401 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.1767, allocations: 1.817 MB / 0.8418 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.177, allocations: 0.7084 MB / 0.8425 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.549e-05/0.1771, allocations: 8.656 kB / 0.8425 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.378e-05/0.1772, allocations: 39.42 kB / 0.8426 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of SimCode: time 3.8e-07/0.1772, allocations: 4 kB / 0.8426 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.2071, allocations: 3.797 MB / 0.8463 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.56, allocations: 15.17 kB / 0.8463 GB, free: 10.5 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_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_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.629263135000656] Failed to read output from testmodel.py, exit status != 0: 10.661482191997493 10.688682756 10.518069876 Calling exit ...