Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.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.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") 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.285 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.001431/0.001431, allocations: 182.7 kB / 371.4 MB, free: 10.68 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 2.165/2.165, 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.001021/0.00102, allocations: 96.3 kB / 0.7434 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004522/0.0004526, allocations: 10.75 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.157, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003177/0.1602, allocations: 2.469 MB / 0.9812 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002616/0.1629, allocations: 1.303 MB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003537/0.1633, allocations: 11.94 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.1636, allocations: 63.61 kB / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004652/0.1641, allocations: 147.5 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.1651, allocations: 301.5 kB / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005358/0.1657, allocations: 328 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002685/0.166, allocations: 148.2 kB / 0.9834 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002643/0.1662, allocations: 155.3 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.1664, allocations: 135.2 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.107e-05/0.1665, allocations: 11.94 kB / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.1667, allocations: 51.91 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/0.1668, allocations: 67.67 kB / 0.9838 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.808e-05/0.1669, allocations: 93.45 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004541/0.1673, allocations: 455.1 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.338e-06/0.1674, allocations: 0 / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2e-06/0.1674, allocations: 7.938 kB / 0.9843 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.64e-06/0.1674, allocations: 0 / 0.9843 GB, free: 22.44 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001081/0.1685, allocations: 0.722 MB / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1685, allocations: 12.02 kB / 0.985 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.1686, allocations: 55.3 kB / 0.9851 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006382/0.1693, allocations: 409.6 kB / 0.9855 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/0.1693, allocations: 24.5 kB / 0.9855 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.208e-05/0.1694, allocations: 24 kB / 0.9855 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.1701, allocations: 328 kB / 0.9858 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.1701, allocations: 3.938 kB / 0.9859 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.1702, allocations: 12 kB / 0.9859 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.1702, allocations: 11.95 kB / 0.9859 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006287/0.1708, allocations: 218.1 kB / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.1725, allocations: 1.108 MB / 0.9872 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007458/0.1733, allocations: 236.8 kB / 0.9874 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.89e-05/0.1733, allocations: 4.188 kB / 0.9874 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00044/0.1738, allocations: 161.3 kB / 0.9875 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 5.16e-06/0.1738, allocations: 7.922 kB / 0.9876 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001035/0.1748, allocations: 362.4 kB / 0.9879 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.1749, allocations: 106.8 kB / 0.988 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005558/0.1755, allocations: 449.8 kB / 0.9884 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.1755, allocations: 33.7 kB / 0.9885 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.1757, allocations: 228.5 kB / 0.9887 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.271e-05/0.1758, allocations: 74.94 kB / 0.9888 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/0.1758, allocations: 8 kB / 0.9888 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.817e-05/0.1759, allocations: 354.8 kB / 0.9891 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.1762, allocations: 87.95 kB / 0.9892 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.1765, allocations: 164.2 kB / 0.9893 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.1768, allocations: 98.61 kB / 0.9894 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.1768, allocations: 0 / 0.9894 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000758/0.1776, allocations: 304.8 kB / 0.9897 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1776, allocations: 8.031 kB / 0.9897 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.123e-06/0.1777, allocations: 4 kB / 0.9897 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.1777, allocations: 0 / 0.9897 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.178, allocations: 51.97 kB / 0.9898 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.1781, allocations: 19.81 kB / 0.9898 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.1783, allocations: 35.69 kB / 0.9898 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.1784, allocations: 11.98 kB / 0.9899 GB, free: 16.49 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.cooMod.combiTimeTable.nextTimeEvent,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0002497/0.1786, allocations: 181.8 kB / 0.99 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.636e-05/0.1787, allocations: 39.53 kB / 0.9901 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.1788, allocations: 43.84 kB / 0.9901 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.283e-06/0.1788, allocations: 4 kB / 0.9901 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.044e-06/0.1788, allocations: 0 / 0.9901 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.81e-06/0.1789, allocations: 7.938 kB / 0.9901 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.1793, allocations: 409.2 kB / 0.9905 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.331e-06/0.1793, allocations: 0 / 0.9905 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.1796, allocations: 39.98 kB / 0.9905 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.801e-06/0.1796, allocations: 7.938 kB / 0.9906 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.1797, allocations: 7.984 kB / 0.9906 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.735e-06/0.1797, allocations: 0 / 0.9906 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.319e-06/0.1797, allocations: 0 / 0.9906 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.1808, allocations: 439 kB / 0.991 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.181, allocations: 140.6 kB / 0.9911 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.709e-05/0.181, allocations: 8 kB / 0.9911 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.1813, allocations: 15.98 kB / 0.9911 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.1814, allocations: 20.03 kB / 0.9912 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.1814, allocations: 11.98 kB / 0.9912 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004046/0.1818, allocations: 315.1 kB / 0.9915 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.79e-07/0.1818, allocations: 0 / 0.9915 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004505/0.1823, allocations: 79.83 kB / 0.9915 GB, free: 14.66 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooTowSpeCon.conPID.I.y) * Number of discrete variables: 6 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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.001416/0.1837, allocations: 432.2 kB / 0.992 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007222/0.1845, allocations: 227.7 kB / 0.9922 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.764e-06/0.1845, allocations: 0 / 0.9922 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.1848, allocations: 116.1 kB / 0.9923 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005752/0.1854, allocations: 110.8 kB / 0.9924 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.1868, allocations: 0.7819 MB / 0.9932 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.1871, allocations: 0.8268 MB / 0.994 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002738/0.1874, allocations: 55.27 kB / 0.994 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.1875, allocations: 31.42 kB / 0.994 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of SimCode: time 1.619e-06/0.1875, allocations: 0 / 0.994 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of Templates: time 0.01163/0.1992, allocations: 4.329 MB / 0.9983 GB, free: 7.945 MB / 0.6198 GB