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.001071/0.001071, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001198/0.001198, allocations: 192.8 kB / 16.25 MB, free: 6.625 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.36/1.36, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.614/1.614, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001303/0.001303, allocations: 66.52 kB / 0.6711 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1736, allocations: 114.5 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002558/0.1762, allocations: 1.897 MB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002254/0.1764, allocations: 111.6 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.555e-05/0.1765, allocations: 0 / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.337e-05/0.1766, allocations: 19.86 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.041e-05/0.1767, allocations: 47.61 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001047/0.1768, allocations: 27.97 kB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.177, allocations: 171.1 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.262e-05/0.1771, allocations: 29.39 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.153e-05/0.1771, allocations: 55.78 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.428e-05/0.1772, allocations: 63.75 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.1773, allocations: 12 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.281e-05/0.1773, allocations: 8 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.1773, allocations: 27.86 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.999e-05/0.1774, allocations: 63.72 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.1775, allocations: 127.5 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1775, allocations: 0 / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1775, allocations: 0 / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.1775, allocations: 0 / 0.7855 GB, free: 11.14 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.0006505/0.1782, allocations: 446.8 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.1782, allocations: 12.03 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.649e-05/0.1783, allocations: 46.67 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.1783, allocations: 16.75 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.1785, allocations: 202.9 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1785, allocations: 12.38 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.1785, allocations: 4.375 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.1788, allocations: 123.8 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1788, allocations: 11.88 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1788, allocations: 0 / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1788, allocations: 0 / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002684/0.1791, allocations: 95.94 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/0.1797, allocations: 468.7 kB / 0.7869 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.18, allocations: 133.2 kB / 0.787 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.1802, allocations: 61.78 kB / 0.7871 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.1802, allocations: 0 / 0.7871 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.1802, allocations: 46.5 kB / 0.7871 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 8.71e-07/0.1803, allocations: 0 / 0.7871 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005033/0.1808, allocations: 189.3 kB / 0.7873 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.1808, allocations: 81.11 kB / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.1809, allocations: 163.4 kB / 0.7876 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.181, allocations: 25.7 kB / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.181, allocations: 116 kB / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.1811, allocations: 31.55 kB / 0.7877 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.1811, allocations: 21.72 kB / 0.7877 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.865e-05/0.1812, allocations: 330.8 kB / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.1813, allocations: 35.97 kB / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.1815, allocations: 69.61 kB / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.1817, allocations: 97.67 kB / 0.7883 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1818, allocations: 0 / 0.7883 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003093/0.1821, allocations: 141.5 kB / 0.7884 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1821, allocations: 8 kB / 0.7884 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1821, allocations: 4 kB / 0.7884 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.1821, allocations: 0 / 0.7884 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.1823, allocations: 23.97 kB / 0.7884 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1823, allocations: 4 kB / 0.7884 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.1824, allocations: 19.83 kB / 0.7884 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1824, allocations: 4 kB / 0.7884 GB, free: 7.891 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.597e-05/0.1825, allocations: 117.8 kB / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/0.1825, allocations: 11.91 kB / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003771/0.1829, allocations: 154.9 kB / 0.7887 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1829, allocations: 4 kB / 0.7887 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1829, allocations: 8.047 kB / 0.7887 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.183, allocations: 4.125 kB / 0.7887 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.1832, allocations: 229.5 kB / 0.789 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1832, allocations: 3.938 kB / 0.789 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.1834, allocations: 23.98 kB / 0.789 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1834, allocations: 0 / 0.789 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.1834, allocations: 8 kB / 0.789 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1834, allocations: 0 / 0.789 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1834, allocations: 0 / 0.789 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.1837, allocations: 314.5 kB / 0.7893 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.1838, allocations: 96.86 kB / 0.7894 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.1838, allocations: 0 / 0.7894 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.184, allocations: 7.984 kB / 0.7894 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.1841, allocations: 15.92 kB / 0.7894 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.1841, allocations: 4 kB / 0.7894 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.851e-05/0.1842, allocations: 124.2 kB / 0.7895 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1842, allocations: 0 / 0.7895 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002718/0.1844, allocations: 32 kB / 0.7896 GB, free: 6.656 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.0005674/0.185, allocations: 0.8443 MB / 0.7904 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003223/0.1853, allocations: 107.9 kB / 0.7905 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1854, allocations: 0 / 0.7905 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.1855, allocations: 47.97 kB / 0.7905 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.1859, allocations: 56.34 kB / 0.7906 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.1878, allocations: 1.86 MB / 0.7924 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.188, allocations: 0.7084 MB / 0.7931 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.124e-05/0.1881, allocations: 12.75 kB / 0.7931 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.809e-05/0.1881, allocations: 43.42 kB / 0.7931 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1881, allocations: 0 / 0.7931 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.649/1.837, allocations: 3.423 MB / 0.7965 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003108/1.837, allocations: 214.8 kB / 0.7967 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/4.213, allocations: 4.062 kB / 0.7967 GB, free: 15.34 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)