Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.546/2.546, allocations: 287.9 MB / 302.9 MB, free: 8.324 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.001439/0.001439, allocations: 190.5 kB / 371.4 MB, free: 10.66 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.923/1.923, allocations: 205.4 MB / 0.6301 GB, free: 10.31 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.001058/0.001058, allocations: 90.3 kB / 0.7434 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000463/0.0004633, allocations: 13.75 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1569, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.003829/0.1608, allocations: 1.724 MB / 0.9805 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005031/0.1659, allocations: 2.106 MB / 0.9825 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.1661, allocations: 0 / 0.9825 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002523/0.1687, allocations: 0.518 MB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004483/0.1692, allocations: 91.72 kB / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.1704, allocations: 187 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007091/0.1711, allocations: 280.5 kB / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002474/0.1714, allocations: 68.66 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/0.1717, allocations: 123.4 kB / 0.9837 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.172, allocations: 131.4 kB / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.533e-05/0.1721, allocations: 4 kB / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.1724, allocations: 35.97 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.1726, allocations: 127.6 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.1728, allocations: 125.4 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009423/0.1738, allocations: 0.5379 MB / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.99e-06/0.1738, allocations: 0 / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.644e-06/0.1738, allocations: 0 / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.1739, allocations: 0 / 0.9847 GB, free: 22.1 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001791/0.1757, allocations: 0.8021 MB / 0.9854 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.048e-05/0.1757, allocations: 12.02 kB / 0.9855 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.1759, allocations: 67.2 kB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009078/0.1769, allocations: 399.5 kB / 0.9859 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.1769, allocations: 8 kB / 0.9859 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.177, allocations: 4 kB / 0.9859 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/0.1774, allocations: 104.1 kB / 0.986 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1774, allocations: 0 / 0.986 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.1775, allocations: 4 kB / 0.986 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.889e-06/0.1775, allocations: 0 / 0.986 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.1778, allocations: 39.94 kB / 0.9861 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.1792, allocations: 0.5162 MB / 0.9866 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008013/0.18, allocations: 102.6 kB / 0.9867 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.1801, allocations: 4.031 kB / 0.9867 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003265/0.1805, allocations: 83.5 kB / 0.9867 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 4.412e-06/0.1805, allocations: 0 / 0.9867 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0008256/0.1813, allocations: 197 kB / 0.9869 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.1814, allocations: 106.8 kB / 0.987 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002327/0.1838, allocations: 0.8833 MB / 0.9879 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.1838, allocations: 29.7 kB / 0.9879 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005231/0.1844, allocations: 303.9 kB / 0.9882 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.942e-05/0.1844, allocations: 15.81 kB / 0.9882 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.1845, allocations: 0 / 0.9882 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.295e-05/0.1846, allocations: 314 kB / 0.9885 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.1848, allocations: 31.92 kB / 0.9886 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.185, allocations: 72.27 kB / 0.9886 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.1852, allocations: 32.05 kB / 0.9887 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.474e-06/0.1853, allocations: 4 kB / 0.9887 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006143/0.1859, allocations: 164.8 kB / 0.9888 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.1859, allocations: 4 kB / 0.9888 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.186, allocations: 7.938 kB / 0.9888 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.186, allocations: 3.953 kB / 0.9888 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.1862, allocations: 15.98 kB / 0.9888 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.74e-06/0.1863, allocations: 0 / 0.9888 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.1866, allocations: 15.98 kB / 0.9889 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.1867, allocations: 4 kB / 0.9889 GB, free: 17.54 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,sta.y,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0006559/0.1874, allocations: 321.6 kB / 0.9892 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.1875, allocations: 67.16 kB / 0.9892 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.1878, allocations: 73.98 kB / 0.9893 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.241e-06/0.1879, allocations: 3.953 kB / 0.9893 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.1879, allocations: 4 kB / 0.9893 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.457e-06/0.1879, allocations: 0 / 0.9893 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008091/0.1887, allocations: 381.4 kB / 0.9897 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.136e-06/0.1887, allocations: 0 / 0.9897 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.1889, allocations: 7.984 kB / 0.9897 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.805e-06/0.1889, allocations: 0 / 0.9897 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.1889, allocations: 8 kB / 0.9897 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.658e-06/0.189, allocations: 0 / 0.9897 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.731e-06/0.189, allocations: 3.953 kB / 0.9897 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006063/0.1896, allocations: 196.2 kB / 0.9899 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.1899, allocations: 132.3 kB / 0.99 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.19, allocations: 4 kB / 0.99 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003559/0.1904, allocations: 4 kB / 0.99 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/0.1905, allocations: 15.98 kB / 0.99 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.1906, allocations: 7.938 kB / 0.99 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001728/0.1923, allocations: 0.6512 MB / 0.9907 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.165e-06/0.1923, allocations: 0 / 0.9907 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008267/0.1932, allocations: 55.98 kB / 0.9907 GB, free: 15.52 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00252/0.1957, allocations: 429.2 kB / 0.9911 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004524/0.1962, allocations: 75.91 kB / 0.9912 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.1962, allocations: 0 / 0.9912 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.1965, allocations: 35.98 kB / 0.9912 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.1978, allocations: 138.8 kB / 0.9914 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/0.2011, allocations: 1.165 MB / 0.9925 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.2021, allocations: 0.9901 MB / 0.9935 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003554/0.2025, allocations: 46.56 kB / 0.9935 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.2027, allocations: 23.44 kB / 0.9936 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of SimCode: time 2.246e-06/0.2027, allocations: 4 kB / 0.9936 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.02434/0.227, allocations: 5.271 MB / 0.9987 GB, free: 7.562 MB / 0.6198 GB