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.001339/0.001339, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001516/0.001516, allocations: 216.9 kB / 23.04 MB, free: 5.074 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.002512/0.002512, allocations: 285.6 kB / 313.5 MB, free: 2.816 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.23/1.23, allocations: 180.6 MB / 0.5377 GB, free: 13.09 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="cs",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.002752/0.002752, allocations: 103.3 kB / 0.7403 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1742, allocations: 95.39 MB / 0.8335 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003205/0.1774, allocations: 1.85 MB / 0.8353 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003005/0.1777, allocations: 123.9 kB / 0.8354 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.714e-05/0.1778, allocations: 3.938 kB / 0.8354 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.1779, allocations: 15.8 kB / 0.8354 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.178, allocations: 59.55 kB / 0.8355 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.1782, allocations: 31.95 kB / 0.8355 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.1784, allocations: 167.1 kB / 0.8357 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.1785, allocations: 33 kB / 0.8357 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.383e-05/0.1786, allocations: 55.84 kB / 0.8357 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.1787, allocations: 63.7 kB / 0.8358 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.1788, allocations: 8 kB / 0.8358 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.504e-05/0.1788, allocations: 12 kB / 0.8358 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.1788, allocations: 31.91 kB / 0.8359 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.353e-05/0.1789, allocations: 63.67 kB / 0.8359 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.1791, allocations: 123.4 kB / 0.836 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1791, allocations: 0 / 0.836 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1791, allocations: 4 kB / 0.836 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.1791, allocations: 0 / 0.836 GB, free: 6.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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007919/0.1799, allocations: 382.3 kB / 0.8364 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.18, allocations: 13.34 kB / 0.8364 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.305e-05/0.18, allocations: 192 / 0.8364 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.053e-05/0.18, allocations: 38.75 kB / 0.8365 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.18, allocations: 12.84 kB / 0.8365 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.1803, allocations: 150.3 kB / 0.8366 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.1803, allocations: 8.359 kB / 0.8366 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.1803, allocations: 12.31 kB / 0.8366 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.1806, allocations: 125.4 kB / 0.8367 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1807, allocations: 0 / 0.8367 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1807, allocations: 0 / 0.8367 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1807, allocations: 4 kB / 0.8368 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.181, allocations: 99.86 kB / 0.8368 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007534/0.1817, allocations: 439.8 kB / 0.8373 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/0.1821, allocations: 125.2 kB / 0.8374 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.1823, allocations: 57.78 kB / 0.8374 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.1823, allocations: 0 / 0.8374 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.1823, allocations: 34.56 kB / 0.8375 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.1824, allocations: 3.938 kB / 0.8375 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0006016/0.183, allocations: 185.5 kB / 0.8377 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.183, allocations: 81.05 kB / 0.8377 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.1832, allocations: 171.2 kB / 0.8379 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.1832, allocations: 29.7 kB / 0.8379 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.21e-05/0.1833, allocations: 116 kB / 0.838 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.1833, allocations: 31.73 kB / 0.8381 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.06e-05/0.1834, allocations: 29.67 kB / 0.8381 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1836, allocations: 326.8 kB / 0.8384 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.1837, allocations: 43.97 kB / 0.8384 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.1838, allocations: 57.67 kB / 0.8385 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.1841, allocations: 109.9 kB / 0.8386 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1841, allocations: 4 kB / 0.8386 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000353/0.1845, allocations: 137.6 kB / 0.8387 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1845, allocations: 4 kB / 0.8387 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1845, allocations: 0 / 0.8387 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1845, allocations: 0 / 0.8387 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.1847, allocations: 31.91 kB / 0.8388 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.1847, allocations: 7.984 kB / 0.8388 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.1848, allocations: 15.89 kB / 0.8388 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.1848, allocations: 3.984 kB / 0.8388 GB, free: 2.996 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.0001102/0.1849, allocations: 118.5 kB / 0.8389 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.185, allocations: 15.91 kB / 0.8389 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000449/0.1854, allocations: 158.6 kB / 0.8391 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1854, allocations: 0 / 0.8391 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1855, allocations: 0 / 0.8391 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.1855, allocations: 7.922 kB / 0.8391 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.1858, allocations: 196.7 kB / 0.8393 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1858, allocations: 0 / 0.8393 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.1859, allocations: 20.17 kB / 0.8393 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.1859, allocations: 8 kB / 0.8393 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1859, allocations: 240 / 0.8393 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1859, allocations: 3.938 kB / 0.8393 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1859, allocations: 4 kB / 0.8393 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004379/0.1864, allocations: 326.7 kB / 0.8396 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.1864, allocations: 7.953 kB / 0.8396 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.1864, allocations: 4 kB / 0.8396 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.1866, allocations: 15.98 kB / 0.8396 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.1866, allocations: 7.922 kB / 0.8397 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.1867, allocations: 11.94 kB / 0.8397 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001107/0.1868, allocations: 127.2 kB / 0.8398 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1868, allocations: 0 / 0.8398 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002898/0.1871, allocations: 31.95 kB / 0.8398 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.0007438/0.1878, allocations: 0.8367 MB / 0.8406 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000356/0.1882, allocations: 99.88 kB / 0.8407 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1882, allocations: 0 / 0.8407 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.1883, allocations: 51.91 kB / 0.8408 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.1888, allocations: 48.41 kB / 0.8408 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.1912, allocations: 1.825 MB / 0.8426 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.1916, allocations: 0.7045 MB / 0.8433 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.949e-05/0.1916, allocations: 8.656 kB / 0.8433 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.1917, allocations: 43.42 kB / 0.8433 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.1917, allocations: 0 / 0.8433 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.2159, allocations: 3.829 MB / 0.8471 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.16, allocations: 3.281 kB / 0.8471 GB, free: 10.49 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.336887396988459] Failed to read output from testmodel.py, exit status != 0: 11.321903084986843 11.33893227 11.156671855 Calling exit ...