Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.002086/0.002086, allocations: 110.5 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.002696/0.002696, 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.532/1.532, 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 0.9734/0.9734, allocations: 150 MB / 459.5 MB, free: 5.656 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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",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.002018/0.002018, allocations: 76.45 kB / 0.6361 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1814, allocations: 89.13 MB / 0.7231 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003362/0.1848, allocations: 1.84 MB / 0.7249 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000327/0.1851, allocations: 123.8 kB / 0.725 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.325e-05/0.1852, allocations: 4 kB / 0.725 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.1854, allocations: 15.8 kB / 0.7251 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.1855, allocations: 47.55 kB / 0.7251 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.1856, allocations: 35.95 kB / 0.7251 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003371/0.1859, allocations: 171.2 kB / 0.7253 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.1861, allocations: 20.98 kB / 0.7253 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.833e-05/0.1862, allocations: 59.78 kB / 0.7254 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.1863, allocations: 67.75 kB / 0.7254 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.1864, allocations: 12 kB / 0.7255 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.394e-05/0.1864, allocations: 8 kB / 0.7255 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.802e-05/0.1864, allocations: 23.86 kB / 0.7255 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.727e-05/0.1865, allocations: 67.72 kB / 0.7256 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.1867, allocations: 119.5 kB / 0.7257 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1867, allocations: 0 / 0.7257 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1867, allocations: 4 kB / 0.7257 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.1867, allocations: 0 / 0.7257 GB, free: 1.484 MB / 0.5294 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.0008938/0.1876, allocations: 454.8 kB / 0.7261 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.1877, allocations: 8.031 kB / 0.7261 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.04e-05/0.1877, allocations: 42.73 kB / 0.7262 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.1878, allocations: 16.84 kB / 0.7262 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.1881, allocations: 217 kB / 0.7264 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1881, allocations: 384 / 0.7264 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.1882, allocations: 8.375 kB / 0.7264 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.1885, allocations: 119.8 kB / 0.7265 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1885, allocations: 7.875 kB / 0.7265 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.1885, allocations: 4 kB / 0.7265 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.1885, allocations: 11.94 kB / 0.7265 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003113/0.1888, allocations: 87.92 kB / 0.7266 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008164/0.1897, allocations: 468.9 kB / 0.7271 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000416/0.1901, allocations: 125.2 kB / 0.7272 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.1902, allocations: 61.77 kB / 0.7272 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.1903, allocations: 0 / 0.7272 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.1903, allocations: 42.5 kB / 0.7273 GB, free: 15.64 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 8.62e-07/0.1903, allocations: 0 / 0.7273 GB, free: 15.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0006067/0.1909, allocations: 181.5 kB / 0.7274 GB, free: 15.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.191, allocations: 77.11 kB / 0.7275 GB, free: 15.37 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.1911, allocations: 178.9 kB / 0.7277 GB, free: 15.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.1912, allocations: 25.7 kB / 0.7277 GB, free: 15.15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.35e-05/0.1912, allocations: 108 kB / 0.7278 GB, free: 15.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.1913, allocations: 27.75 kB / 0.7278 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.1913, allocations: 29.7 kB / 0.7279 GB, free: 14.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1915, allocations: 326.8 kB / 0.7282 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.1916, allocations: 40.22 kB / 0.7282 GB, free: 14.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.1918, allocations: 65.62 kB / 0.7283 GB, free: 14.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.1921, allocations: 105.7 kB / 0.7284 GB, free: 14.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1921, allocations: 0 / 0.7284 GB, free: 14.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003805/0.1925, allocations: 149.5 kB / 0.7285 GB, free: 14.28 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1925, allocations: 8 kB / 0.7285 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1925, allocations: 0 / 0.7285 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1925, allocations: 0 / 0.7285 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.1927, allocations: 19.98 kB / 0.7286 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.1927, allocations: 4 kB / 0.7286 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.1928, allocations: 11.92 kB / 0.7286 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.1928, allocations: 4 kB / 0.7286 GB, free: 14.23 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 (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.0001163/0.1929, allocations: 125.8 kB / 0.7287 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.376e-05/0.193, allocations: 15.91 kB / 0.7287 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004489/0.1934, allocations: 154.5 kB / 0.7289 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1934, allocations: 4 kB / 0.7289 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1934, allocations: 0 / 0.7289 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1934, allocations: 4.172 kB / 0.7289 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.1938, allocations: 229.6 kB / 0.7291 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1938, allocations: 8 kB / 0.7291 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.1939, allocations: 27.91 kB / 0.7291 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1939, allocations: 3.984 kB / 0.7291 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1939, allocations: 4 kB / 0.7291 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1939, allocations: 0 / 0.7291 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1939, allocations: 0 / 0.7291 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004484/0.1944, allocations: 318.7 kB / 0.7294 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/0.1945, allocations: 89.02 kB / 0.7295 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.1945, allocations: 7.984 kB / 0.7295 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.1947, allocations: 4 kB / 0.7295 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.1947, allocations: 11.92 kB / 0.7295 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.1947, allocations: 4 kB / 0.7295 GB, free: 13.15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000106/0.1948, allocations: 123.2 kB / 0.7297 GB, free: 13.03 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1948, allocations: 4 kB / 0.7297 GB, free: 13.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002871/0.1951, allocations: 32 kB / 0.7297 GB, free: 12.99 MB / 0.545 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.0008045/0.1959, allocations: 0.8405 MB / 0.7305 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003621/0.1963, allocations: 103.9 kB / 0.7306 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1963, allocations: 4 kB / 0.7306 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.1964, allocations: 47.91 kB / 0.7307 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.1969, allocations: 44.42 kB / 0.7307 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.1995, allocations: 1.832 MB / 0.7325 GB, free: 10 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.1999, allocations: 0.7045 MB / 0.7332 GB, free: 9.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.239e-05/0.2, allocations: 12.64 kB / 0.7332 GB, free: 9.258 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.708e-05/0.2001, allocations: 35.44 kB / 0.7332 GB, free: 9.227 MB / 0.545 GB Notification: Performance of SimCode: time 4.2e-07/0.2001, allocations: 0 / 0.7332 GB, free: 9.227 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.2297, allocations: 3.659 MB / 0.7368 GB, free: 5.742 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.164/8.393, allocations: 6.875 kB / 0.7368 GB, free: 5.738 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.391763425897807] Failed to read output from testmodel.py, exit status != 0: 8.464266518130898 8.480174529 8.290377398 Calling exit ...