Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.61/2.61, allocations: 287.9 MB / 302.9 MB, free: 8.281 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.001453/0.001453, allocations: 181.1 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.371/2.371, 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.001015/0.001015, allocations: 88.42 kB / 0.7434 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004637, allocations: 13 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1524, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002638/0.1551, allocations: 2.035 MB / 0.9807 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002347/0.1575, allocations: 1.302 MB / 0.982 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002243/0.1577, allocations: 4 kB / 0.982 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005604/0.1583, allocations: 199.2 kB / 0.9822 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003888/0.1587, allocations: 143.5 kB / 0.9823 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.1592, allocations: 127.7 kB / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.1596, allocations: 219.5 kB / 0.9827 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.1598, allocations: 80.61 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.16, allocations: 119.5 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.1601, allocations: 123.4 kB / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.1602, allocations: 8 kB / 0.983 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.1603, allocations: 39.91 kB / 0.983 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.926e-05/0.1604, allocations: 107.6 kB / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.134e-05/0.1605, allocations: 93.45 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.1609, allocations: 383 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.516e-06/0.1609, allocations: 4 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1609, allocations: 0 / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.689e-06/0.161, allocations: 0 / 0.9836 GB, free: 23.23 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.00102/0.162, allocations: 0.748 MB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.162, allocations: 12.02 kB / 0.9843 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.456e-05/0.1621, allocations: 63.2 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000542/0.1627, allocations: 391.2 kB / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.1627, allocations: 12.23 kB / 0.9848 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.1628, allocations: 12 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.1631, allocations: 138.3 kB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1631, allocations: 0 / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.1632, allocations: 4 kB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.909e-06/0.1632, allocations: 11.95 kB / 0.9849 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/0.1634, allocations: 83.89 kB / 0.985 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.1645, allocations: 0.6486 MB / 0.9856 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/0.1649, allocations: 130.7 kB / 0.9858 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.165, allocations: 0 / 0.9858 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/0.1652, allocations: 107.5 kB / 0.9859 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 4.441e-06/0.1652, allocations: 0 / 0.9859 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0004911/0.1657, allocations: 208.9 kB / 0.9861 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.1658, allocations: 55.41 kB / 0.9861 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007502/0.1666, allocations: 0.6591 MB / 0.9868 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.1666, allocations: 33.7 kB / 0.9868 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.1668, allocations: 256.4 kB / 0.987 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.1668, allocations: 35.53 kB / 0.9871 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.487e-05/0.1669, allocations: 4 kB / 0.9871 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.167, allocations: 370.8 kB / 0.9874 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.1672, allocations: 75.97 kB / 0.9875 GB, free: 19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.1674, allocations: 116 kB / 0.9876 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.1676, allocations: 73.81 kB / 0.9877 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.964e-06/0.1676, allocations: 0 / 0.9877 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000494/0.1681, allocations: 264.8 kB / 0.9879 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1681, allocations: 13.34 kB / 0.988 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.858e-06/0.1681, allocations: 0 / 0.988 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1682, allocations: 0 / 0.988 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.1684, allocations: 43.92 kB / 0.988 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.512e-06/0.1684, allocations: 4.062 kB / 0.988 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.1687, allocations: 39.81 kB / 0.988 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.1687, allocations: 7.953 kB / 0.988 GB, free: 18.43 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: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,assPow.assMesDP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0002218/0.1689, allocations: 209.7 kB / 0.9882 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.169, allocations: 51.34 kB / 0.9883 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.1691, allocations: 60.66 kB / 0.9883 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.228e-06/0.1691, allocations: 4 kB / 0.9884 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1692, allocations: 0 / 0.9884 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.875e-06/0.1692, allocations: 0 / 0.9884 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.1695, allocations: 369.4 kB / 0.9887 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.728e-06/0.1695, allocations: 0 / 0.9887 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.733e-05/0.1697, allocations: 11.94 kB / 0.9887 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.212e-06/0.1697, allocations: 4 kB / 0.9887 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.1697, allocations: 3.984 kB / 0.9887 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1697, allocations: 0 / 0.9887 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.776e-06/0.1697, allocations: 0 / 0.9887 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005332/0.1703, allocations: 270 kB / 0.989 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.1704, allocations: 132.4 kB / 0.9891 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.547e-05/0.1705, allocations: 4 kB / 0.9891 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.1707, allocations: 23.97 kB / 0.9891 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.887e-05/0.1707, allocations: 27.97 kB / 0.9892 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.1708, allocations: 4 kB / 0.9892 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000519/0.1713, allocations: 426.8 kB / 0.9896 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.29e-07/0.1713, allocations: 0 / 0.9896 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003689/0.1717, allocations: 56 kB / 0.9896 GB, free: 16.71 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.001372/0.1731, allocations: 420.3 kB / 0.99 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003792/0.1735, allocations: 157.5 kB / 0.9902 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.395e-06/0.1735, allocations: 4 kB / 0.9902 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.1737, allocations: 55.91 kB / 0.9902 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.1741, allocations: 71.3 kB / 0.9903 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.1755, allocations: 0.9363 MB / 0.9912 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.1758, allocations: 0.8729 MB / 0.9921 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001534/0.176, allocations: 46.25 kB / 0.9921 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.024e-05/0.1761, allocations: 31.42 kB / 0.9921 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of SimCode: time 1.378e-06/0.1761, allocations: 0 / 0.9921 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of Templates: time 0.01078/0.1869, allocations: 3.614 MB / 0.9957 GB, free: 10.65 MB / 0.6198 GB