Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.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.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.659/2.659, allocations: 287.9 MB / 302.9 MB, free: 8.219 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.001445/0.001445, allocations: 181 kB / 371.4 MB, free: 10.66 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.106/2.106, 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.001032/0.001032, allocations: 102.2 kB / 0.7434 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004575/0.0004577, allocations: 12.38 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1639, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.001866/0.1658, allocations: 1.455 MB / 0.9802 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1673, allocations: 0.8599 MB / 0.981 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.806e-05/0.1674, allocations: 0 / 0.981 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000557/0.168, allocations: 147.7 kB / 0.9812 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.1683, allocations: 89.38 kB / 0.9812 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.1687, allocations: 125.2 kB / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.1689, allocations: 99.81 kB / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.169, allocations: 21.09 kB / 0.9815 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.986e-05/0.1691, allocations: 55.77 kB / 0.9815 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.302e-05/0.1692, allocations: 55.77 kB / 0.9816 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.1693, allocations: 4 kB / 0.9816 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.1694, allocations: 43.91 kB / 0.9816 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.968e-05/0.1695, allocations: 35.84 kB / 0.9817 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.365e-05/0.1695, allocations: 49.64 kB / 0.9817 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.1698, allocations: 140 kB / 0.9818 GB, free: 25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3e-06/0.1698, allocations: 4 kB / 0.9818 GB, free: 25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.918e-06/0.1698, allocations: 0 / 0.9818 GB, free: 25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.627e-06/0.1698, allocations: 0 / 0.9818 GB, free: 25 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005967/0.1704, allocations: 476.3 kB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1705, allocations: 20 kB / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.1705, allocations: 19.67 kB / 0.9823 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.1708, allocations: 235.7 kB / 0.9826 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.1708, allocations: 4 kB / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.1709, allocations: 12 kB / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.1711, allocations: 87.36 kB / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.265e-06/0.1711, allocations: 0 / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.1711, allocations: 0 / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.1712, allocations: 4 kB / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.1713, allocations: 39.88 kB / 0.9827 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004992/0.1718, allocations: 356.7 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.172, allocations: 74.61 kB / 0.9831 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.1721, allocations: 4 kB / 0.9831 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.1723, allocations: 83.38 kB / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.668e-06/0.1723, allocations: 0 / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0004178/0.1727, allocations: 230.6 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.1728, allocations: 77.11 kB / 0.9835 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.1731, allocations: 259.7 kB / 0.9837 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1731, allocations: 29.7 kB / 0.9838 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.766e-05/0.1732, allocations: 120.1 kB / 0.9839 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.1732, allocations: 31.59 kB / 0.9839 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.874e-06/0.1732, allocations: 0 / 0.9839 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.395e-05/0.1733, allocations: 330.8 kB / 0.9842 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-05/0.1734, allocations: 31.98 kB / 0.9843 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.932e-05/0.1735, allocations: 59.36 kB / 0.9843 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.893e-05/0.1736, allocations: 31.98 kB / 0.9843 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.693e-06/0.1736, allocations: 0 / 0.9843 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000247/0.1739, allocations: 113.4 kB / 0.9845 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1739, allocations: 8.062 kB / 0.9845 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.076e-06/0.174, allocations: 0 / 0.9845 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.174, allocations: 3.953 kB / 0.9845 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.934e-05/0.1741, allocations: 16 kB / 0.9845 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.1741, allocations: 384 / 0.9845 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.866e-05/0.1742, allocations: 11.98 kB / 0.9845 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.1742, allocations: 4 kB / 0.9845 GB, free: 22.02 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: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001288/0.1744, allocations: 142.8 kB / 0.9846 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.1744, allocations: 23.75 kB / 0.9847 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.1745, allocations: 21.39 kB / 0.9847 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.1745, allocations: 3.953 kB / 0.9847 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.2e-06/0.1745, allocations: 0 / 0.9847 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.731e-06/0.1745, allocations: 0 / 0.9847 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.1747, allocations: 233.4 kB / 0.9849 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.277e-06/0.1747, allocations: 0 / 0.9849 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.864e-05/0.1748, allocations: 4 kB / 0.9849 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.153e-06/0.1748, allocations: 0 / 0.9849 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1748, allocations: 0 / 0.9849 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.372e-06/0.1748, allocations: 0 / 0.9849 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.531e-06/0.1748, allocations: 8.109 kB / 0.9849 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.1751, allocations: 144.8 kB / 0.9851 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.1752, allocations: 96.91 kB / 0.9851 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.1752, allocations: 3.938 kB / 0.9851 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.396e-05/0.1753, allocations: 4 kB / 0.9852 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.1753, allocations: 7.984 kB / 0.9852 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.1754, allocations: 11.95 kB / 0.9852 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002003/0.1756, allocations: 196.4 kB / 0.9854 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.05e-07/0.1756, allocations: 0 / 0.9854 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003252/0.1759, allocations: 31.98 kB / 0.9854 GB, free: 21.01 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * 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.001409/0.1773, allocations: 421.3 kB / 0.9858 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002779/0.1776, allocations: 75.91 kB / 0.9859 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.863e-06/0.1777, allocations: 4.062 kB / 0.9859 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.1778, allocations: 35.92 kB / 0.9859 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.1781, allocations: 40.41 kB / 0.9859 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000569/0.1787, allocations: 322.7 kB / 0.9862 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.1789, allocations: 0.7282 MB / 0.987 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.179, allocations: 29.41 kB / 0.987 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.937e-05/0.179, allocations: 15.44 kB / 0.987 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of SimCode: time 1.429e-06/0.1791, allocations: 0 / 0.987 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.006326/0.1854, allocations: 2.116 MB / 0.9891 GB, free: 17.36 MB / 0.6198 GB