Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001648/0.001648, allocations: 105.5 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.002097/0.002097, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.508/1.508, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8966/0.8966, allocations: 145 MB / 453.8 MB, free: 0.707 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.001906/0.001906, allocations: 66.41 kB / 0.628 GB, free: 10.67 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1838, allocations: 87.82 MB / 0.7138 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003334/0.1871, allocations: 1.855 MB / 0.7156 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003409/0.1875, allocations: 119.9 kB / 0.7157 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.683e-05/0.1876, allocations: 7.938 kB / 0.7157 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.1877, allocations: 11.86 kB / 0.7157 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.1878, allocations: 47.5 kB / 0.7157 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.1879, allocations: 31.95 kB / 0.7158 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.1882, allocations: 175.2 kB / 0.7159 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.1883, allocations: 21.05 kB / 0.716 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.483e-05/0.1884, allocations: 55.84 kB / 0.716 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.1885, allocations: 63.7 kB / 0.7161 GB, free: 472 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.1886, allocations: 12 kB / 0.7161 GB, free: 460 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.463e-05/0.1886, allocations: 11.94 kB / 0.7161 GB, free: 448 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.649e-05/0.1886, allocations: 27.91 kB / 0.7161 GB, free: 420 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.331e-05/0.1887, allocations: 67.66 kB / 0.7162 GB, free: 352 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.1889, allocations: 131.5 kB / 0.7163 GB, free: 220 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.189, allocations: 0 / 0.7163 GB, free: 220 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.522e-06/0.189, allocations: 0 / 0.7163 GB, free: 220 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.189, allocations: 0 / 0.7163 GB, free: 220 kB / 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.000898/0.1899, allocations: 458.8 kB / 0.7168 GB, free: 15.71 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1899, allocations: 8.031 kB / 0.7168 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.234e-05/0.19, allocations: 38.75 kB / 0.7168 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.19, allocations: 20.83 kB / 0.7168 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.1904, allocations: 201.7 kB / 0.717 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.1904, allocations: 12.38 kB / 0.717 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.1904, allocations: 8.359 kB / 0.717 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.1907, allocations: 119.8 kB / 0.7171 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1907, allocations: 3.938 kB / 0.7171 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1908, allocations: 0 / 0.7171 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.1908, allocations: 4 kB / 0.7172 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003267/0.1911, allocations: 103.8 kB / 0.7172 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008121/0.1919, allocations: 472.8 kB / 0.7177 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/0.1923, allocations: 125.2 kB / 0.7178 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.1925, allocations: 53.78 kB / 0.7179 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.1925, allocations: 0 / 0.7179 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.1925, allocations: 42.5 kB / 0.7179 GB, free: 14.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.1925, allocations: 0 / 0.7179 GB, free: 14.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0006393/0.1932, allocations: 181.5 kB / 0.7181 GB, free: 14.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.1932, allocations: 81.05 kB / 0.7182 GB, free: 14.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.1934, allocations: 164.9 kB / 0.7183 GB, free: 13.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.1934, allocations: 29.7 kB / 0.7183 GB, free: 13.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.083e-05/0.1935, allocations: 116 kB / 0.7185 GB, free: 13.78 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.1935, allocations: 35.8 kB / 0.7185 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/0.1936, allocations: 25.67 kB / 0.7185 GB, free: 13.71 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1938, allocations: 326.8 kB / 0.7188 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.1939, allocations: 39.97 kB / 0.7189 GB, free: 13.35 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.1941, allocations: 61.67 kB / 0.7189 GB, free: 13.28 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.1944, allocations: 105.9 kB / 0.719 GB, free: 13.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1944, allocations: 4 kB / 0.719 GB, free: 13.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003734/0.1948, allocations: 141.5 kB / 0.7192 GB, free: 13.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.1948, allocations: 4 kB / 0.7192 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1948, allocations: 4 kB / 0.7192 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1948, allocations: 0 / 0.7192 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.195, allocations: 31.97 kB / 0.7192 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.195, allocations: 0 / 0.7192 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.1951, allocations: 19.88 kB / 0.7192 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1951, allocations: 0 / 0.7192 GB, free: 12.96 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.000115/0.1953, allocations: 117.8 kB / 0.7193 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.1953, allocations: 15.91 kB / 0.7193 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004644/0.1958, allocations: 158.5 kB / 0.7195 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1958, allocations: 0 / 0.7195 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1958, allocations: 0 / 0.7195 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.1958, allocations: 7.922 kB / 0.7195 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.1961, allocations: 217.5 kB / 0.7197 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1961, allocations: 0 / 0.7197 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.1963, allocations: 27.92 kB / 0.7197 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.1963, allocations: 8.188 kB / 0.7198 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1963, allocations: 0 / 0.7198 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1963, allocations: 3.938 kB / 0.7198 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1963, allocations: 192 / 0.7198 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004863/0.1968, allocations: 326.8 kB / 0.7201 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/0.1969, allocations: 89.05 kB / 0.7202 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.1969, allocations: 0 / 0.7202 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.1971, allocations: 11.98 kB / 0.7202 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.1971, allocations: 15.86 kB / 0.7202 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.1971, allocations: 4 kB / 0.7202 GB, free: 11.88 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001287/0.1972, allocations: 132.2 kB / 0.7203 GB, free: 11.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1972, allocations: 4 kB / 0.7203 GB, free: 11.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002944/0.1975, allocations: 27.95 kB / 0.7203 GB, free: 11.72 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.0008468/0.1984, allocations: 0.8406 MB / 0.7212 GB, free: 10.85 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000378/0.1988, allocations: 99.88 kB / 0.7213 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1988, allocations: 0 / 0.7213 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.1989, allocations: 51.91 kB / 0.7213 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.1994, allocations: 48.41 kB / 0.7213 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.2019, allocations: 1.836 MB / 0.7231 GB, free: 8.734 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.2022, allocations: 0.7006 MB / 0.7238 GB, free: 8.008 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.364e-05/0.2023, allocations: 12.66 kB / 0.7238 GB, free: 7.996 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.399e-05/0.2024, allocations: 31.42 kB / 0.7239 GB, free: 7.965 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2024, allocations: 0 / 0.7239 GB, free: 7.965 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.2281, allocations: 3.67 MB / 0.7275 GB, free: 4.488 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.335/8.563, allocations: 11.94 kB / 0.7275 GB, free: 4.477 MB / 0.545 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.305691073997878] Failed to read output from testmodel.py, exit status != 0: 8.631287579002674 8.645413682 8.453637585 Calling exit ...