Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.Splice.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.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.675/2.675, allocations: 287.9 MB / 302.9 MB, free: 8.285 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.001436/0.001436, allocations: 181.1 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.159/2.159, allocations: 205.4 MB / 0.6301 GB, free: 10.38 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.001013/0.001013, allocations: 86.81 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.0004783, allocations: 11.91 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.163, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001443/0.1644, allocations: 1.195 MB / 0.9799 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009551/0.1654, allocations: 0.6422 MB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.376e-05/0.1655, allocations: 0 / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.1655, allocations: 3.938 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.829e-05/0.1656, allocations: 7.969 kB / 0.9806 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.1658, allocations: 55.81 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.423e-05/0.1659, allocations: 23.97 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.964e-05/0.166, allocations: 15.98 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.36e-05/0.1661, allocations: 7.938 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.678e-05/0.1661, allocations: 19.91 kB / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.1662, allocations: 0 / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.1663, allocations: 83.91 kB / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.1663, allocations: 11.92 kB / 0.9808 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.975e-05/0.1664, allocations: 29.7 kB / 0.9808 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.1665, allocations: 52.2 kB / 0.9808 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1665, allocations: 0 / 0.9808 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.762e-06/0.1665, allocations: 0 / 0.9808 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.602e-06/0.1665, allocations: 0 / 0.9808 GB, free: 26.03 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003298/0.1669, allocations: 355.2 kB / 0.9812 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1669, allocations: 12.02 kB / 0.9812 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.167, allocations: 7.906 kB / 0.9812 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.401e-05/0.167, allocations: 174.9 kB / 0.9814 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.1671, allocations: 8 kB / 0.9814 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.1671, allocations: 4 kB / 0.9814 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.1673, allocations: 53.67 kB / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.339e-06/0.1673, allocations: 0 / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.1673, allocations: 0 / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.604e-06/0.1673, allocations: 4 kB / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.1674, allocations: 27.92 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.1678, allocations: 288.7 kB / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.87e-05/0.1679, allocations: 34.56 kB / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003547/0.1682, allocations: 0.5545 MB / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.1683, allocations: 38.56 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.436e-06/0.1683, allocations: 0 / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002841/0.1686, allocations: 77.47 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.1686, allocations: 55.41 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/0.1687, allocations: 121.8 kB / 0.9826 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.873e-06/0.1687, allocations: 29.83 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.1688, allocations: 88.08 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.1688, allocations: 7.906 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.1688, allocations: 0 / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.185e-05/0.1689, allocations: 318.8 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.487e-05/0.169, allocations: 8 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.783e-05/0.169, allocations: 15.98 kB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.473e-05/0.1691, allocations: 12.06 kB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.23e-06/0.1691, allocations: 0 / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001557/0.1693, allocations: 65.61 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1693, allocations: 4 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.687e-06/0.1693, allocations: 4 kB / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1693, allocations: 0 / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.333e-05/0.1694, allocations: 11.98 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.324e-06/0.1694, allocations: 3.938 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.1695, allocations: 7.906 kB / 0.9831 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.873e-06/0.1695, allocations: 3.984 kB / 0.9831 GB, free: 23.32 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 (2): * Single equations (assignments): 2 * 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.907e-05/0.1696, allocations: 112.1 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.1696, allocations: 0 / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.1698, allocations: 69.2 kB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1698, allocations: 4 kB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.396e-06/0.1699, allocations: 3.953 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.721e-06/0.1699, allocations: 0 / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.17, allocations: 165.7 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.09e-06/0.1701, allocations: 7.938 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.895e-05/0.1701, allocations: 4 kB / 0.9835 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.1701, allocations: 3.984 kB / 0.9835 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.798e-06/0.1702, allocations: 3.984 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1702, allocations: 4 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.686e-06/0.1702, allocations: 4.031 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.1704, allocations: 155.4 kB / 0.9837 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.1704, allocations: 77.11 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.1704, allocations: 7.984 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.874e-05/0.1705, allocations: 3.938 kB / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.1706, allocations: 8.031 kB / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.615e-06/0.1706, allocations: 0 / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.559e-05/0.1706, allocations: 91.27 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.06e-07/0.1706, allocations: 4 kB / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003102/0.171, allocations: 19.95 kB / 0.9839 GB, free: 22.49 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 (2): * Single equations (assignments): 2 * 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.0001298/0.1711, allocations: 107.2 kB / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001518/0.1713, allocations: 27.98 kB / 0.984 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.648e-06/0.1713, allocations: 0 / 0.984 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.134e-05/0.1714, allocations: 12 kB / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.1715, allocations: 4 kB / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.1718, allocations: 159 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.172, allocations: 0.6848 MB / 0.9848 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.224e-05/0.172, allocations: 7.938 kB / 0.9848 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/0.172, allocations: 7.438 kB / 0.9848 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of SimCode: time 1.212e-06/0.1721, allocations: 0 / 0.9848 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of Templates: time 0.002656/0.1747, allocations: 442.1 kB / 0.9853 GB, free: 21 MB / 0.6198 GB