Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.479/2.479, allocations: 287.9 MB / 302.9 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001438/0.001437, allocations: 183 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.4 MB / 0.6301 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001085, allocations: 89.94 kB / 0.7434 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004832/0.0004834, allocations: 11.38 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1709, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002123/0.1731, allocations: 1.806 MB / 0.9805 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008862/0.174, allocations: 487.8 kB / 0.981 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.1742, allocations: 4 kB / 0.981 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.294e-05/0.1742, allocations: 27.72 kB / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.1745, allocations: 59.78 kB / 0.9811 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.1747, allocations: 79.91 kB / 0.9812 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002675/0.175, allocations: 196.6 kB / 0.9813 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.1752, allocations: 128.2 kB / 0.9815 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.1754, allocations: 87.56 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.1755, allocations: 95.41 kB / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.1755, allocations: 8 kB / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.794e-05/0.1756, allocations: 8 kB / 0.9817 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.797e-05/0.1756, allocations: 39.78 kB / 0.9817 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.991e-05/0.1757, allocations: 73.52 kB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.176, allocations: 379.2 kB / 0.9821 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.613e-06/0.176, allocations: 0 / 0.9821 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.942e-06/0.176, allocations: 0 / 0.9821 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.075e-06/0.1761, allocations: 0 / 0.9821 GB, free: 24.7 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008791/0.1769, allocations: 0.5884 MB / 0.9827 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.177, allocations: 8.031 kB / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.82e-05/0.1771, allocations: 31.62 kB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.1775, allocations: 322 kB / 0.983 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.1776, allocations: 16.56 kB / 0.9831 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.1776, allocations: 27.94 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006214/0.1783, allocations: 291.6 kB / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1783, allocations: 0 / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.1783, allocations: 8 kB / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.272e-06/0.1784, allocations: 8 kB / 0.9834 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006386/0.179, allocations: 222.1 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.1806, allocations: 0.9937 MB / 0.9846 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006077/0.1812, allocations: 291.5 kB / 0.9848 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.1813, allocations: 7.984 kB / 0.9848 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.1813, allocations: 34.56 kB / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.342e-06/0.1813, allocations: 0 / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0008533/0.1822, allocations: 281.4 kB / 0.9851 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.1822, allocations: 59.34 kB / 0.9852 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.1826, allocations: 282.9 kB / 0.9855 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.1826, allocations: 29.7 kB / 0.9855 GB, free: 21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.1827, allocations: 184 kB / 0.9857 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.1828, allocations: 59.19 kB / 0.9857 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.22e-05/0.1828, allocations: 0 / 0.9857 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.144e-05/0.1829, allocations: 342.8 kB / 0.9861 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.1831, allocations: 79.95 kB / 0.9861 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.1834, allocations: 118.7 kB / 0.9862 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.1837, allocations: 97.48 kB / 0.9863 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.02e-06/0.1837, allocations: 0 / 0.9863 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006709/0.1844, allocations: 257.2 kB / 0.9866 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.1845, allocations: 449.9 kB / 0.987 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.167e-06/0.1846, allocations: 8 kB / 0.987 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1846, allocations: 4 kB / 0.987 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.1849, allocations: 51.97 kB / 0.9871 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.555e-06/0.1849, allocations: 4 kB / 0.9871 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.1851, allocations: 31.73 kB / 0.9871 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.1851, allocations: 8 kB / 0.9871 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.604e-06/0.1852, allocations: 5.562 kB / 0.9871 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005215/0.1857, allocations: 206 kB / 0.9873 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.963e-06/0.1857, allocations: 4 kB / 0.9873 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.494e-06/0.1857, allocations: 0 / 0.9873 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.186, allocations: 56.03 kB / 0.9874 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.189e-06/0.186, allocations: 7.953 kB / 0.9874 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.1861, allocations: 23.84 kB / 0.9874 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.1862, allocations: 7.984 kB / 0.9874 GB, free: 18.97 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.con1.y,conRadSup.conPIDRad.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001634/0.1863, allocations: 225.1 kB / 0.9876 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-05/0.1864, allocations: 23.72 kB / 0.9877 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006319/0.1871, allocations: 231.7 kB / 0.9879 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.89e-06/0.1871, allocations: 11.94 kB / 0.9879 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.314e-06/0.1871, allocations: 3.953 kB / 0.9879 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1871, allocations: 3.984 kB / 0.9879 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.1882, allocations: 0.6361 MB / 0.9885 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.117e-06/0.1882, allocations: 0 / 0.9885 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.1885, allocations: 43.97 kB / 0.9886 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.1885, allocations: 7.875 kB / 0.9886 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.1885, allocations: 7.938 kB / 0.9886 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.121e-06/0.1885, allocations: 4 kB / 0.9886 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1886, allocations: 0 / 0.9886 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000854/0.1894, allocations: 412.6 kB / 0.989 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.1895, allocations: 104.8 kB / 0.9891 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.1895, allocations: 4 kB / 0.9891 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.1898, allocations: 23.94 kB / 0.9891 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.1899, allocations: 11.97 kB / 0.9891 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.1899, allocations: 8.062 kB / 0.9891 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002187/0.1901, allocations: 202 kB / 0.9893 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.77e-07/0.1901, allocations: 0 / 0.9893 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005195/0.1907, allocations: 87.59 kB / 0.9894 GB, free: 16.85 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conRadSup.conPIDRad.I.y) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000105/0.1908, allocations: 103.2 kB / 0.9895 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008342/0.1916, allocations: 292.1 kB / 0.9898 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.425e-06/0.1916, allocations: 4.125 kB / 0.9898 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002584/0.1919, allocations: 91.88 kB / 0.9899 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.1923, allocations: 36.88 kB / 0.9899 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009525/0.1933, allocations: 0.5654 MB / 0.9904 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.1935, allocations: 0.7638 MB / 0.9912 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001796/0.1937, allocations: 33.92 kB / 0.9912 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.148e-05/0.1938, allocations: 27.42 kB / 0.9913 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of SimCode: time 1.584e-06/0.1938, allocations: 4 kB / 0.9913 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.006698/0.2005, allocations: 2.043 MB / 0.9933 GB, free: 12.87 MB / 0.6198 GB