Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.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.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.461/2.461, allocations: 287.9 MB / 302.9 MB, free: 8.254 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.001426/0.001426, allocations: 175 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 2.13/2.13, 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.001056/0.001056, allocations: 84.44 kB / 0.7434 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008053/0.0008056, allocations: 16.38 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1638, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.002192/0.166, allocations: 1.91 MB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002309/0.1684, allocations: 1.623 MB / 0.9822 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.1685, allocations: 7.938 kB / 0.9822 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006606/0.1692, allocations: 211.2 kB / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.1693, allocations: 67.86 kB / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.1704, allocations: 379.7 kB / 0.9828 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000347/0.1708, allocations: 255.5 kB / 0.9831 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1709, allocations: 32.41 kB / 0.9831 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.1711, allocations: 135.6 kB / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.1713, allocations: 139.5 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.549e-05/0.1713, allocations: 16 kB / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003741/0.1717, allocations: 211.6 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.1718, allocations: 99.75 kB / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.427e-05/0.1719, allocations: 81.52 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004806/0.1724, allocations: 463.1 kB / 0.9842 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.129e-06/0.1724, allocations: 0 / 0.9842 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.901e-06/0.1725, allocations: 0 / 0.9842 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.84e-06/0.1725, allocations: 4 kB / 0.9842 GB, free: 22.56 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0009678/0.1734, allocations: 0.6555 MB / 0.9849 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.466e-05/0.1735, allocations: 15.95 kB / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001836/0.1753, allocations: 171.4 kB / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004718/0.1758, allocations: 353.2 kB / 0.9854 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.176, allocations: 75.38 kB / 0.9854 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.176, allocations: 8 kB / 0.9855 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.1771, allocations: 453.3 kB / 0.9859 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.619e-06/0.1772, allocations: 4 kB / 0.9859 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.1772, allocations: 0 / 0.9859 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.613e-06/0.1772, allocations: 11.94 kB / 0.9859 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.179, allocations: 0.6322 MB / 0.9865 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.1809, allocations: 1.043 MB / 0.9875 GB, free: 19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005172/0.1861, allocations: 0.912 MB / 0.9884 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.1862, allocations: 4 kB / 0.9884 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001129/0.1873, allocations: 468.8 kB / 0.9889 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 3.745e-06/0.1874, allocations: 0 / 0.9889 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.002747/0.1901, allocations: 0.9772 MB / 0.9898 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.1902, allocations: 59.41 kB / 0.9899 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004892/0.1907, allocations: 429.6 kB / 0.9903 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.065e-05/0.1907, allocations: 29.7 kB / 0.9903 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.1909, allocations: 176 kB / 0.9905 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.48e-05/0.191, allocations: 55.28 kB / 0.9906 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.191, allocations: 4 kB / 0.9906 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.946e-05/0.1911, allocations: 350.8 kB / 0.9909 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000974/0.1921, allocations: 400.6 kB / 0.9913 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009454/0.193, allocations: 396.8 kB / 0.9916 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008991/0.194, allocations: 377.4 kB / 0.992 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.194, allocations: 0 / 0.992 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002223/0.1962, allocations: 0.9454 MB / 0.9929 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.041e-05/0.1963, allocations: 45.69 kB / 0.993 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1963, allocations: 0 / 0.993 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1963, allocations: 0 / 0.993 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/0.1969, allocations: 79.91 kB / 0.9931 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.1969, allocations: 3.938 kB / 0.9931 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004398/0.1973, allocations: 51.89 kB / 0.9931 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/0.1974, allocations: 11.98 kB / 0.9931 GB, free: 13.19 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 (17): * Single equations (assignments): 16 * 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.0002574/0.1977, allocations: 193.7 kB / 0.9933 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.612e-05/0.1978, allocations: 39.53 kB / 0.9933 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.245e-05/0.1979, allocations: 35.47 kB / 0.9934 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.948e-06/0.1979, allocations: 4 kB / 0.9934 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.002e-06/0.1979, allocations: 0 / 0.9934 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.571e-06/0.1979, allocations: 0 / 0.9934 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/0.1985, allocations: 0.5515 MB / 0.9939 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.639e-06/0.1985, allocations: 0 / 0.9939 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005438/0.199, allocations: 79.86 kB / 0.994 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.177e-06/0.1991, allocations: 0 / 0.994 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.1991, allocations: 7.984 kB / 0.994 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.912e-06/0.1991, allocations: 3.938 kB / 0.994 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1991, allocations: 4 kB / 0.994 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.201, allocations: 0.7015 MB / 0.9947 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.2012, allocations: 164.7 kB / 0.9948 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.697e-05/0.2013, allocations: 11.98 kB / 0.9949 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004939/0.2018, allocations: 59.88 kB / 0.9949 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.827e-05/0.2019, allocations: 19.97 kB / 0.9949 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.202, allocations: 11.98 kB / 0.9949 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003644/0.2024, allocations: 315.1 kB / 0.9952 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.94e-07/0.2024, allocations: 0 / 0.9952 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004695/0.2028, allocations: 80.25 kB / 0.9953 GB, free: 10.83 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 (16): * Single equations (assignments): 14 * 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.000413/0.2033, allocations: 158.3 kB / 0.9955 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002005/0.2053, allocations: 0.801 MB / 0.9963 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2053, allocations: 0 / 0.9963 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009188/0.2062, allocations: 339.8 kB / 0.9966 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.2067, allocations: 74.89 kB / 0.9967 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.2086, allocations: 0.8852 MB / 0.9975 GB, free: 8.547 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.2089, allocations: 0.8185 MB / 0.9983 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006329/0.2096, allocations: 98.19 kB / 0.9984 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.2098, allocations: 35.41 kB / 0.9984 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of SimCode: time 1.554e-06/0.2098, allocations: 4 kB / 0.9984 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of Templates: time 0.01413/0.2239, allocations: 6.478 MB / 1.005 GB, free: 1.195 MB / 0.6198 GB