Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.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.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.568/2.568, allocations: 287.9 MB / 302.9 MB, free: 8.191 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.001448/0.001448, allocations: 173.2 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.043/2.043, allocations: 205.4 MB / 0.6301 GB, free: 10.32 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.00102/0.001019, allocations: 92.78 kB / 0.7434 GB, free: 6.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004655/0.0004658, allocations: 13.17 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1665, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.000918/0.1675, allocations: 336.2 kB / 0.9791 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001986/0.1695, allocations: 1.077 MB / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.1696, allocations: 0 / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.495e-05/0.1697, allocations: 0 / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.949e-05/0.1698, allocations: 0 / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007324/0.1705, allocations: 119.2 kB / 0.9802 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.849e-05/0.1706, allocations: 43.94 kB / 0.9803 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.794e-05/0.1707, allocations: 4 kB / 0.9803 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.501e-05/0.1708, allocations: 35.91 kB / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.254e-05/0.1709, allocations: 23.91 kB / 0.9804 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.1709, allocations: 4 kB / 0.9804 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.519e-05/0.171, allocations: 23.97 kB / 0.9804 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.955e-05/0.171, allocations: 7.938 kB / 0.9804 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.1711, allocations: 33.69 kB / 0.9804 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.1712, allocations: 55.88 kB / 0.9805 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1712, allocations: 0 / 0.9805 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.056e-06/0.1712, allocations: 4 kB / 0.9805 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.641e-06/0.1712, allocations: 0 / 0.9805 GB, free: 26.41 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003101/0.1716, allocations: 365.2 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1716, allocations: 12.03 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.1717, allocations: 7.984 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.1718, allocations: 183 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.1718, allocations: 4 kB / 0.981 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.1719, allocations: 4 kB / 0.981 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.717e-05/0.172, allocations: 49.61 kB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.172, allocations: 4 kB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.172, allocations: 8 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.422e-06/0.172, allocations: 3.984 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.627e-05/0.1721, allocations: 4 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.1724, allocations: 308.7 kB / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.29e-05/0.1725, allocations: 22.52 kB / 0.9814 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.932e-06/0.1725, allocations: 7.984 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.1726, allocations: 55.47 kB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.461e-06/0.1727, allocations: 0 / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001893/0.1729, allocations: 69.52 kB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.1729, allocations: 55.36 kB / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.728e-05/0.173, allocations: 113.8 kB / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.173, allocations: 29.7 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.1731, allocations: 84.14 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.179e-05/0.1731, allocations: 11.91 kB / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.1731, allocations: 0 / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.25e-05/0.1732, allocations: 314.8 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.1733, allocations: 27.97 kB / 0.9821 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.269e-05/0.1734, allocations: 46.56 kB / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.1735, allocations: 61.69 kB / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.448e-06/0.1735, allocations: 0 / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002839/0.1738, allocations: 147.2 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.1739, allocations: 38.89 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.683e-06/0.1739, allocations: 0 / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1739, allocations: 0 / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.109e-05/0.1739, allocations: 11.92 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.048e-06/0.1739, allocations: 320 / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.1742, allocations: 40.02 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.1743, allocations: 15.98 kB / 0.9825 GB, free: 24.1 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 7.895e-05/0.1743, allocations: 117.8 kB / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.1744, allocations: 0 / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.1744, allocations: 11.91 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.957e-06/0.1744, allocations: 0 / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.571e-06/0.1744, allocations: 4 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.703e-06/0.1744, allocations: 0 / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.895e-05/0.1745, allocations: 165.6 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.166e-06/0.1746, allocations: 0 / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.827e-06/0.1746, allocations: 0 / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.541e-06/0.1746, allocations: 0 / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.919e-06/0.1746, allocations: 4 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.568e-06/0.1746, allocations: 0 / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.83e-06/0.1746, allocations: 0 / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.1747, allocations: 88.92 kB / 0.9829 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.1748, allocations: 81.38 kB / 0.9829 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.1748, allocations: 4 kB / 0.9829 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.077e-05/0.1748, allocations: 0 / 0.9829 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.1749, allocations: 0 / 0.9829 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.89e-06/0.1749, allocations: 11.92 kB / 0.983 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.259e-05/0.1749, allocations: 87.27 kB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.84e-07/0.175, allocations: 0 / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002894/0.1752, allocations: 12 kB / 0.983 GB, free: 23.43 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000142/0.1754, allocations: 111.2 kB / 0.9832 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002241/0.1756, allocations: 119.3 kB / 0.9833 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.213e-06/0.1757, allocations: 0 / 0.9833 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.662e-05/0.1757, allocations: 15.98 kB / 0.9833 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.1759, allocations: 11.89 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.1762, allocations: 142.8 kB / 0.9834 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.1763, allocations: 0.6848 MB / 0.9841 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.288e-05/0.1764, allocations: 4 kB / 0.9841 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.513e-05/0.1764, allocations: 7.438 kB / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of SimCode: time 2.238e-06/0.1764, allocations: 3.938 kB / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of Templates: time 0.003484/0.1799, allocations: 0.9664 MB / 0.9851 GB, free: 21.31 MB / 0.6198 GB