Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.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.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.719/2.719, allocations: 287.9 MB / 302.9 MB, free: 8.266 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.001413/0.001413, allocations: 179 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.215/2.215, allocations: 205.4 MB / 0.6301 GB, free: 10.45 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.001048/0.001048, allocations: 96.09 kB / 0.7434 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.00047, allocations: 10.16 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1572, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.0006419/0.1578, allocations: 352.2 kB / 0.9791 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007758/0.1586, allocations: 0.7793 MB / 0.9799 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.1587, allocations: 4 kB / 0.9799 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.728e-05/0.1588, allocations: 7.938 kB / 0.9799 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.423e-05/0.1588, allocations: 0 / 0.9799 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.792e-05/0.1589, allocations: 7.984 kB / 0.9799 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.692e-05/0.159, allocations: 15.98 kB / 0.9799 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.224e-05/0.159, allocations: 3.984 kB / 0.9799 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.234e-05/0.1591, allocations: 11.94 kB / 0.9799 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.469e-05/0.1591, allocations: 11.92 kB / 0.9799 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1592, allocations: 0 / 0.9799 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.606e-06/0.1592, allocations: 0 / 0.9799 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.491e-05/0.1592, allocations: 11.98 kB / 0.9799 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.1593, allocations: 37.64 kB / 0.98 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.831e-05/0.1593, allocations: 15.97 kB / 0.98 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.974e-06/0.1593, allocations: 3.938 kB / 0.98 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.903e-06/0.1593, allocations: 0 / 0.98 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.451e-06/0.1594, allocations: 0 / 0.98 GB, free: 26.93 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.0003315/0.1597, allocations: 345.8 kB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1597, allocations: 12.03 kB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.1598, allocations: 4 kB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.1599, allocations: 171 kB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.73e-06/0.1599, allocations: 0 / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.1599, allocations: 4 kB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.1601, allocations: 57.67 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.163e-06/0.1601, allocations: 7.938 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1602, allocations: 3.984 kB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1602, allocations: 7.984 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.1604, allocations: 39.97 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.1607, allocations: 288.8 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.1609, allocations: 38.48 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.1609, allocations: 8.062 kB / 0.9809 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.1609, allocations: 30.56 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 2.14e-06/0.1609, allocations: 4 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0003681/0.1613, allocations: 85.64 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.1613, allocations: 59.53 kB / 0.9811 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.071e-05/0.1614, allocations: 101.8 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.498e-06/0.1614, allocations: 25.7 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.1615, allocations: 92.03 kB / 0.9813 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.1615, allocations: 11.88 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-06/0.1615, allocations: 0 / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.933e-05/0.1616, allocations: 314.8 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.708e-05/0.1617, allocations: 19.98 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.734e-05/0.1618, allocations: 23.98 kB / 0.9817 GB, free: 25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.964e-05/0.1619, allocations: 19.97 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.056e-06/0.1619, allocations: 64 / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002172/0.1621, allocations: 73.67 kB / 0.9818 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1622, allocations: 4 kB / 0.9818 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.127e-06/0.1622, allocations: 3.984 kB / 0.9818 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1622, allocations: 0 / 0.9818 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.601e-05/0.1623, allocations: 12.03 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.438e-06/0.1623, allocations: 0 / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.592e-05/0.1624, allocations: 15.94 kB / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.1624, allocations: 0 / 0.9818 GB, free: 24.87 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.969e-05/0.1625, allocations: 113.8 kB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.1625, allocations: 3.906 kB / 0.9819 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.1625, allocations: 3.125 kB / 0.9819 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.896e-06/0.1625, allocations: 15.86 kB / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.813e-06/0.1626, allocations: 0 / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.974e-06/0.1626, allocations: 0 / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.1627, allocations: 161.9 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.088e-06/0.1627, allocations: 4 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.457e-05/0.1628, allocations: 11.98 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.043e-06/0.1628, allocations: 0 / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.64e-06/0.1628, allocations: 0 / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.028e-06/0.1628, allocations: 0 / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.529e-06/0.1629, allocations: 0 / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.1631, allocations: 175.5 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.843e-05/0.1631, allocations: 77.11 kB / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.1632, allocations: 0 / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.888e-05/0.1633, allocations: 20.02 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.1633, allocations: 0 / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-06/0.1633, allocations: 0 / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.873e-05/0.1634, allocations: 79.28 kB / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.497e-06/0.1634, allocations: 0 / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002906/0.1637, allocations: 15.88 kB / 0.9824 GB, free: 24.11 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 8.633e-05/0.1638, allocations: 103.2 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.164, allocations: 39.97 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.717e-06/0.164, allocations: 4 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.751e-05/0.1641, allocations: 20.05 kB / 0.9826 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.1644, allocations: 11.94 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.1646, allocations: 114.5 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.1648, allocations: 0.6809 MB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.15e-05/0.1648, allocations: 0 / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.23e-05/0.1649, allocations: 11.5 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of SimCode: time 2.264e-06/0.1649, allocations: 0 / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of Templates: time 0.002332/0.1672, allocations: 343.8 kB / 0.9837 GB, free: 22.74 MB / 0.6198 GB