Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.428/4.428, allocations: 0.5623 GB / 0.5769 GB, free: 66.94 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00249/0.00249, allocations: 357 kB / 0.644 GB, free: 21.74 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.953/3.953, allocations: 410.7 MB / 1.112 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00176/0.00176, allocations: 181.9 kB / 1.225 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004942, allocations: 11.72 kB / 1.348 GB, free: 321.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1592, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002055/0.1613, allocations: 1.894 MB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1624, allocations: 0.8699 MB / 1.463 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.606e-05/0.1625, allocations: 0 / 1.463 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004603/0.163, allocations: 175.6 kB / 1.464 GB, free: 217.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.1631, allocations: 55.78 kB / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.1634, allocations: 80.98 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.1636, allocations: 195.1 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.1638, allocations: 68.08 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.032e-05/0.1639, allocations: 71.59 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.164, allocations: 88 kB / 1.464 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.1641, allocations: 8 kB / 1.464 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/0.1643, allocations: 140.4 kB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.1645, allocations: 200.4 kB / 1.464 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.211e-05/0.1646, allocations: 117.3 kB / 1.465 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004582/0.1651, allocations: 0.5495 MB / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1651, allocations: 2.125 kB / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.636e-06/0.1651, allocations: 0 / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.364e-06/0.1651, allocations: 0 / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0009924/0.1661, allocations: 0.8826 MB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1662, allocations: 10.03 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006231/0.1668, allocations: 116.7 kB / 1.466 GB, free: 215.1 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007491/0.1676, allocations: 0.5625 MB / 1.467 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.1676, allocations: 8 kB / 1.467 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.1676, allocations: 12.62 kB / 1.467 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004049/0.168, allocations: 196 kB / 1.467 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1681, allocations: 0.7188 kB / 1.467 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.1681, allocations: 7.938 kB / 1.467 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.117e-06/0.1681, allocations: 4.562 kB / 1.467 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004902/0.1686, allocations: 226 kB / 1.467 GB, free: 214.1 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.1698, allocations: 0.9243 MB / 1.468 GB, free: 213.1 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.1705, allocations: 318 kB / 1.468 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.1708, allocations: 102.4 kB / 1.468 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009351/0.1717, allocations: 401.1 kB / 1.469 GB, free: 212.3 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.1718, allocations: 36.16 kB / 1.469 GB, free: 212.3 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 2.274e-06/0.1718, allocations: 0 / 1.469 GB, free: 212.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0008253/0.1726, allocations: 399.9 kB / 1.469 GB, free: 211.9 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.1726, allocations: 55.41 kB / 1.469 GB, free: 211.8 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.1739, allocations: 0.9904 MB / 1.47 GB, free: 210.8 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.1739, allocations: 34.67 kB / 1.47 GB, free: 210.8 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.1742, allocations: 336 kB / 1.471 GB, free: 210.5 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.1742, allocations: 33.73 kB / 1.471 GB, free: 210.4 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.1742, allocations: 7.938 kB / 1.471 GB, free: 210.4 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.777e-05/0.1743, allocations: 310 kB / 1.471 GB, free: 210.1 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.1745, allocations: 96.5 kB / 1.471 GB, free: 210 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.1747, allocations: 125.9 kB / 1.471 GB, free: 209.9 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.175, allocations: 98.39 kB / 1.471 GB, free: 209.8 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.175, allocations: 0 / 1.471 GB, free: 209.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005845/0.1756, allocations: 319.3 kB / 1.471 GB, free: 209.5 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1756, allocations: 8 kB / 1.472 GB, free: 209.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1756, allocations: 0.7812 kB / 1.472 GB, free: 209.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1757, allocations: 0 / 1.472 GB, free: 209.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.1759, allocations: 28.8 kB / 1.472 GB, free: 209.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.238e-06/0.1759, allocations: 1.156 kB / 1.472 GB, free: 209.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.1761, allocations: 15.88 kB / 1.472 GB, free: 209.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.1761, allocations: 4.719 kB / 1.472 GB, free: 209.4 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0002535/0.1764, allocations: 252.3 kB / 1.472 GB, free: 209.2 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.1765, allocations: 73.25 kB / 1.472 GB, free: 209.1 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000688/0.1772, allocations: 327.8 kB / 1.472 GB, free: 208.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.1772, allocations: 7.125 kB / 1.472 GB, free: 208.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.1772, allocations: 0 / 1.472 GB, free: 208.8 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.202e-06/0.1773, allocations: 3.984 kB / 1.472 GB, free: 208.8 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005437/0.1778, allocations: 0.5362 MB / 1.473 GB, free: 208.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.311e-06/0.1778, allocations: 192 / 1.473 GB, free: 208.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.178, allocations: 27.92 kB / 1.473 GB, free: 208.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.455e-06/0.178, allocations: 3.938 kB / 1.473 GB, free: 208.1 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.1781, allocations: 2.156 kB / 1.473 GB, free: 208.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1781, allocations: 3.984 kB / 1.473 GB, free: 208.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.651e-06/0.1781, allocations: 0 / 1.473 GB, free: 208.1 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005715/0.1787, allocations: 409.1 kB / 1.473 GB, free: 207.7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.1789, allocations: 184.1 kB / 1.473 GB, free: 207.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/0.179, allocations: 0 / 1.473 GB, free: 207.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.1792, allocations: 13.3 kB / 1.473 GB, free: 207.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.1793, allocations: 7.984 kB / 1.473 GB, free: 207.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.1793, allocations: 0.8125 kB / 1.473 GB, free: 207.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0009095/0.1802, allocations: 0.7104 MB / 1.474 GB, free: 206.8 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.65e-07/0.1802, allocations: 0 / 1.474 GB, free: 206.8 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004407/0.1807, allocations: 76.61 kB / 1.474 GB, free: 206.7 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (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 Backend phase and start with SimCode phase: time 0.0001764/0.1809, allocations: 104.5 kB / 1.474 GB, free: 206.6 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005233/0.1814, allocations: 217.6 kB / 1.474 GB, free: 206.4 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.622e-06/0.1814, allocations: 0.625 kB / 1.474 GB, free: 206.4 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.1817, allocations: 105.3 kB / 1.475 GB, free: 206.3 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.1822, allocations: 56.12 kB / 1.475 GB, free: 206.3 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.184, allocations: 1.281 MB / 1.476 GB, free: 205 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.1845, allocations: 0.9612 MB / 1.477 GB, free: 204 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002938/0.1848, allocations: 77.52 kB / 1.477 GB, free: 203.9 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.1849, allocations: 35.38 kB / 1.477 GB, free: 203.9 MB / 0.8073 GB Notification: Performance of SimCode: time 1.941e-06/0.1849, allocations: 0 / 1.477 GB, free: 203.9 MB / 0.8073 GB Notification: Performance of Templates: time 0.01272/0.1976, allocations: 4.066 MB / 1.481 GB, free: 199.9 MB / 0.8073 GB