Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 192.5 kB / 16.13 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.567/1.567, allocations: 292.3 MB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 68.38 kB / 0.6709 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1696, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00253/0.1722, allocations: 1.889 MB / 0.7846 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002202/0.1724, allocations: 123.5 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.563e-05/0.1725, allocations: 3.938 kB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.082e-05/0.1726, allocations: 11.92 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.188e-05/0.1727, allocations: 39.64 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.998e-05/0.1728, allocations: 31.89 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.173, allocations: 163.2 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.65e-05/0.1731, allocations: 33.31 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.966e-05/0.1731, allocations: 43.86 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.761e-05/0.1732, allocations: 63.75 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.1733, allocations: 11.94 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.537e-05/0.1733, allocations: 7.938 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.1733, allocations: 19.91 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.03e-05/0.1734, allocations: 55.73 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.1735, allocations: 119.5 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1735, allocations: 3.984 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.61e-07/0.1735, allocations: 4 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.1735, allocations: 0 / 0.7853 GB, free: 11.3 MB / 0.6075 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.0006802/0.1742, allocations: 450.9 kB / 0.7858 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1743, allocations: 8.031 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.1743, allocations: 38.75 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.1743, allocations: 16.75 kB / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.1745, allocations: 208 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.1745, allocations: 4.375 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.1745, allocations: 12.31 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.1748, allocations: 119.8 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1748, allocations: 3.938 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1748, allocations: 0 / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1748, allocations: 4 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.1751, allocations: 99.86 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006128/0.1757, allocations: 468.8 kB / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.1761, allocations: 129.2 kB / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.1762, allocations: 69.78 kB / 0.7869 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.1763, allocations: 4 kB / 0.7869 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.1763, allocations: 38.5 kB / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.1763, allocations: 0 / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005107/0.1768, allocations: 185.3 kB / 0.7871 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.1769, allocations: 81.05 kB / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.177, allocations: 172.1 kB / 0.7874 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.177, allocations: 25.7 kB / 0.7874 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.1771, allocations: 116 kB / 0.7875 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.1771, allocations: 27.56 kB / 0.7875 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.1772, allocations: 21.7 kB / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.746e-05/0.1773, allocations: 334.7 kB / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.1774, allocations: 39.97 kB / 0.7879 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.1775, allocations: 57.69 kB / 0.7879 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.1778, allocations: 109.6 kB / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1778, allocations: 0 / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003279/0.1781, allocations: 141.5 kB / 0.7882 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.1782, allocations: 4 kB / 0.7882 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1782, allocations: 0 / 0.7882 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.1782, allocations: 0 / 0.7882 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.1783, allocations: 31.92 kB / 0.7882 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1784, allocations: 0 / 0.7882 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.1785, allocations: 20.2 kB / 0.7882 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.1785, allocations: 0 / 0.7882 GB, free: 8.055 MB / 0.6075 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 7.435e-05/0.1786, allocations: 117.8 kB / 0.7884 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.1786, allocations: 15.91 kB / 0.7884 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003842/0.179, allocations: 162.5 kB / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.179, allocations: 0 / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.179, allocations: 0 / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.1791, allocations: 7.938 kB / 0.7885 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.1793, allocations: 225.5 kB / 0.7887 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1793, allocations: 0 / 0.7887 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.1795, allocations: 27.97 kB / 0.7888 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1795, allocations: 4 kB / 0.7888 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1795, allocations: 0 / 0.7888 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1795, allocations: 3.938 kB / 0.7888 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1795, allocations: 0 / 0.7888 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.1799, allocations: 314.6 kB / 0.7891 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.18, allocations: 96.84 kB / 0.7892 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.18, allocations: 0 / 0.7892 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.1802, allocations: 12 kB / 0.7892 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.1802, allocations: 12.2 kB / 0.7892 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.1802, allocations: 0 / 0.7892 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.552e-05/0.1803, allocations: 135.5 kB / 0.7893 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1803, allocations: 7.938 kB / 0.7893 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002774/0.1806, allocations: 24 kB / 0.7894 GB, free: 6.812 MB / 0.6075 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.0006127/0.1812, allocations: 0.8404 MB / 0.7902 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003087/0.1815, allocations: 103.9 kB / 0.7903 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1816, allocations: 0 / 0.7903 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.1817, allocations: 55.91 kB / 0.7903 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.1821, allocations: 39.92 kB / 0.7904 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.1841, allocations: 1.847 MB / 0.7922 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.1844, allocations: 0.7048 MB / 0.7929 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.703e-05/0.1845, allocations: 24.73 kB / 0.7929 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.658e-05/0.1846, allocations: 27.53 kB / 0.7929 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.1846, allocations: 3.938 kB / 0.7929 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.621/1.806, allocations: 3.311 MB / 0.7961 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/1.806, allocations: 223.7 kB / 0.7964 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/4.239, allocations: 0 / 0.7964 GB, free: 15.62 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)