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.001376/0.001376, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.001547/0.001547, allocations: 210.9 kB / 22.24 MB, free: 5.105 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.433/1.433, allocations: 230.6 MB / 256 MB, free: 7.789 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.002543/0.002543, allocations: 294.1 kB / 312.7 MB, free: 2.602 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.272/1.272, allocations: 180.6 MB / 0.5369 GB, free: 14.51 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.002948/0.002948, allocations: 105.4 kB / 0.7395 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1639, allocations: 95.38 MB / 0.8326 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003161/0.1671, allocations: 1.78 MB / 0.8344 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003355/0.1674, allocations: 123.8 kB / 0.8345 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.976e-05/0.1675, allocations: 7.938 kB / 0.8345 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.989e-05/0.1676, allocations: 15.8 kB / 0.8345 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.706e-05/0.1677, allocations: 51.56 kB / 0.8345 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.1678, allocations: 31.95 kB / 0.8346 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.168, allocations: 175.1 kB / 0.8347 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1682, allocations: 25.02 kB / 0.8348 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.049e-05/0.1682, allocations: 47.86 kB / 0.8348 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.1683, allocations: 67.69 kB / 0.8349 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.1684, allocations: 12 kB / 0.8349 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.639e-05/0.1684, allocations: 8 kB / 0.8349 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.942e-05/0.1684, allocations: 19.92 kB / 0.8349 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.988e-05/0.1685, allocations: 59.72 kB / 0.835 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.1687, allocations: 131.5 kB / 0.8351 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1687, allocations: 0 / 0.8351 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.123e-06/0.1687, allocations: 3.938 kB / 0.8351 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.1687, allocations: 0 / 0.8351 GB, free: 5.773 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.0007444/0.1694, allocations: 381.6 kB / 0.8355 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1695, allocations: 13.94 kB / 0.8355 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.229e-05/0.1695, allocations: 38.73 kB / 0.8355 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.1696, allocations: 20.84 kB / 0.8355 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.1698, allocations: 142.4 kB / 0.8357 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1698, allocations: 4.375 kB / 0.8357 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.1699, allocations: 8.375 kB / 0.8357 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.1702, allocations: 126.2 kB / 0.8358 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1702, allocations: 3.938 kB / 0.8358 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1702, allocations: 0 / 0.8358 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1702, allocations: 3.938 kB / 0.8358 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.1705, allocations: 95.94 kB / 0.8359 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007224/0.1712, allocations: 423.8 kB / 0.8363 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/0.1716, allocations: 125.2 kB / 0.8364 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.1718, allocations: 61.78 kB / 0.8365 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1718, allocations: 0 / 0.8365 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.1718, allocations: 34.56 kB / 0.8365 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 8.41e-07/0.1718, allocations: 0 / 0.8365 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0005831/0.1724, allocations: 181.5 kB / 0.8367 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.1725, allocations: 77.11 kB / 0.8368 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.1726, allocations: 168.1 kB / 0.8369 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.1727, allocations: 33.7 kB / 0.837 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.1728, allocations: 112 kB / 0.8371 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.1728, allocations: 31.73 kB / 0.8371 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.1728, allocations: 29.61 kB / 0.8371 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.173, allocations: 326.8 kB / 0.8374 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.1732, allocations: 43.97 kB / 0.8375 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.1733, allocations: 65.67 kB / 0.8375 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.1736, allocations: 101.9 kB / 0.8376 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1736, allocations: 0 / 0.8376 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003829/0.174, allocations: 141.5 kB / 0.8378 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.174, allocations: 4 kB / 0.8378 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.174, allocations: 4 kB / 0.8378 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.174, allocations: 0 / 0.8378 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.1742, allocations: 35.91 kB / 0.8378 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1742, allocations: 3.938 kB / 0.8378 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.1743, allocations: 19.88 kB / 0.8378 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.1743, allocations: 4 kB / 0.8378 GB, free: 2.738 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 0.0001177/0.1744, allocations: 118.5 kB / 0.838 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.1745, allocations: 16.09 kB / 0.838 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004345/0.1749, allocations: 158.6 kB / 0.8381 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1749, allocations: 4 kB / 0.8381 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1749, allocations: 3.984 kB / 0.8381 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1749, allocations: 3.938 kB / 0.8381 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.1752, allocations: 180.7 kB / 0.8383 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1752, allocations: 192 / 0.8383 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.1754, allocations: 19.98 kB / 0.8383 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1754, allocations: 3.938 kB / 0.8383 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1754, allocations: 4 kB / 0.8383 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1754, allocations: 192 / 0.8383 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1754, allocations: 0 / 0.8383 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.1758, allocations: 326.5 kB / 0.8386 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.1759, allocations: 7.953 kB / 0.8386 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.1759, allocations: 4 kB / 0.8387 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.1761, allocations: 11.98 kB / 0.8387 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.1761, allocations: 15.86 kB / 0.8387 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1761, allocations: 0 / 0.8387 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001118/0.1762, allocations: 131.2 kB / 0.8388 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1762, allocations: 4 kB / 0.8388 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002795/0.1765, allocations: 31.95 kB / 0.8388 GB, free: 1.637 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.0007573/0.1773, allocations: 0.8327 MB / 0.8397 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003427/0.1776, allocations: 99.88 kB / 0.8397 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1776, allocations: 0 / 0.8397 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.1778, allocations: 51.97 kB / 0.8398 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.1782, allocations: 44.39 kB / 0.8398 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.1806, allocations: 1.84 MB / 0.8416 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.147e-05/0.1807, allocations: 89.62 kB / 0.8417 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.524e-05/0.1808, allocations: 12.8 kB / 0.8417 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.59e-05/0.1809, allocations: 31.42 kB / 0.8418 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.1809, allocations: 0 / 0.8418 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.2124, allocations: 4.508 MB / 0.8462 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.13, allocations: 19.3 kB / 0.8462 GB, free: 10.2 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: 15.429809950757772] Failed to read output from testmodel.py, exit status != 0: 11.236412240192294 11.263837309 11.090230995 Calling exit ...