Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.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.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.594/2.594, allocations: 287.9 MB / 302.9 MB, free: 8.297 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.001423/0.001423, allocations: 178.9 kB / 371.4 MB, free: 10.69 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.138/2.138, allocations: 205.4 MB / 0.6301 GB, free: 10.42 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.001016/0.001016, allocations: 98.8 kB / 0.7434 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006416/0.0006418, allocations: 17.16 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1642, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002675/0.1669, allocations: 2.346 MB / 0.9811 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002776/0.1697, allocations: 1.954 MB / 0.983 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.17, allocations: 4 kB / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008124/0.1708, allocations: 247.1 kB / 0.9832 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.171, allocations: 79.77 kB / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.1723, allocations: 425.5 kB / 0.9837 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004254/0.1728, allocations: 327.4 kB / 0.984 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1729, allocations: 44.72 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.1731, allocations: 175.5 kB / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.1733, allocations: 187.4 kB / 0.9844 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.734e-05/0.1734, allocations: 24 kB / 0.9844 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004192/0.1738, allocations: 215.6 kB / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.174, allocations: 143.6 kB / 0.9848 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.944e-05/0.1741, allocations: 93.45 kB / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005473/0.1747, allocations: 0.5692 MB / 0.9854 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.502e-06/0.1747, allocations: 0 / 0.9854 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.741e-06/0.1747, allocations: 0 / 0.9854 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.1747, allocations: 7.938 kB / 0.9854 GB, free: 21.36 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001193/0.1759, allocations: 0.7739 MB / 0.9862 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.176, allocations: 12.02 kB / 0.9862 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002362/0.1783, allocations: 247.1 kB / 0.9864 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006706/0.179, allocations: 413 kB / 0.9868 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.1792, allocations: 79.38 kB / 0.9869 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.73e-05/0.1793, allocations: 16 kB / 0.9869 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.1808, allocations: 0.553 MB / 0.9874 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1808, allocations: 0 / 0.9874 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-05/0.1809, allocations: 4 kB / 0.9874 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.081e-06/0.1809, allocations: 7.953 kB / 0.9875 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.1833, allocations: 0.8275 MB / 0.9883 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002532/0.1859, allocations: 1.273 MB / 0.9895 GB, free: 17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005787/0.1917, allocations: 1.088 MB / 0.9906 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.1918, allocations: 0 / 0.9906 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001451/0.1932, allocations: 0.5589 MB / 0.9911 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 3.277e-06/0.1933, allocations: 0 / 0.9911 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.003709/0.197, allocations: 1.268 MB / 0.9923 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.197, allocations: 55.73 kB / 0.9924 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006769/0.1977, allocations: 0.5174 MB / 0.9929 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.665e-05/0.1978, allocations: 33.7 kB / 0.9929 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.198, allocations: 208.4 kB / 0.9931 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.634e-05/0.1981, allocations: 67.03 kB / 0.9932 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.1981, allocations: 8 kB / 0.9932 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.816e-05/0.1982, allocations: 354.8 kB / 0.9935 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.1995, allocations: 0.4887 MB / 0.994 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.2008, allocations: 0.5185 MB / 0.9945 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.202, allocations: 463 kB / 0.995 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.68e-06/0.2021, allocations: 0 / 0.995 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002855/0.2049, allocations: 1.139 MB / 0.9961 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.294e-05/0.205, allocations: 45.69 kB / 0.9961 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.159e-06/0.205, allocations: 0 / 0.9961 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.205, allocations: 0 / 0.9961 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007344/0.2058, allocations: 107.8 kB / 0.9962 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.911e-06/0.2058, allocations: 4 kB / 0.9962 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006002/0.2064, allocations: 87.67 kB / 0.9963 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.534e-05/0.2065, allocations: 19.97 kB / 0.9963 GB, free: 9.902 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,cooCap.stage,$PRE.cooCap.checkBoundsTEva[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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.0003082/0.2068, allocations: 214.3 kB / 0.9965 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.392e-05/0.2069, allocations: 43.44 kB / 0.9966 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.656e-05/0.207, allocations: 47.92 kB / 0.9966 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.278e-06/0.207, allocations: 4 kB / 0.9966 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.2071, allocations: 0 / 0.9966 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.2071, allocations: 3.984 kB / 0.9966 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007121/0.2078, allocations: 0.6532 MB / 0.9973 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.351e-06/0.2078, allocations: 0 / 0.9973 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007283/0.2085, allocations: 103.9 kB / 0.9974 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.2086, allocations: 0 / 0.9974 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.768e-05/0.2086, allocations: 11.98 kB / 0.9974 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.236e-06/0.2086, allocations: 0 / 0.9974 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.881e-06/0.2086, allocations: 0 / 0.9974 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.2111, allocations: 0.8929 MB / 0.9983 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/0.2114, allocations: 192.4 kB / 0.9984 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.334e-05/0.2115, allocations: 8 kB / 0.9984 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006354/0.2122, allocations: 83.91 kB / 0.9985 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.2123, allocations: 19.97 kB / 0.9985 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.399e-05/0.2124, allocations: 19.97 kB / 0.9986 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004893/0.2129, allocations: 387.1 kB / 0.9989 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.49e-07/0.2129, allocations: 0 / 0.9989 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005222/0.2134, allocations: 99.95 kB / 0.999 GB, free: 7.047 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: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * 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.0004093/0.2138, allocations: 166.2 kB / 0.9992 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0026/0.2165, allocations: 0.9871 MB / 1 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.063e-06/0.2165, allocations: 0 / 1 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.2177, allocations: 454.4 kB / 1.001 GB, free: 5.445 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005545/0.2183, allocations: 96.88 kB / 1.001 GB, free: 5.352 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/0.2209, allocations: 1.12 MB / 1.002 GB, free: 4.207 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.2212, allocations: 0.8661 MB / 1.003 GB, free: 3.316 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007963/0.222, allocations: 126.9 kB / 1.003 GB, free: 3.191 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.2223, allocations: 39.41 kB / 1.003 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of SimCode: time 2.03e-06/0.2223, allocations: 0 / 1.003 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of Templates: time 0.01892/0.2412, allocations: 7.951 MB / 1.011 GB, free: 11.31 MB / 0.6355 GB