Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.745/2.745, allocations: 287.9 MB / 302.9 MB, free: 8.359 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.001444, allocations: 180.5 kB / 371.4 MB, free: 10.65 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.116/2.116, allocations: 205.4 MB / 0.6301 GB, free: 10.39 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.001018/0.001017, allocations: 86.44 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.0004841, allocations: 13.75 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1537, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.000577/0.1543, allocations: 317.9 kB / 0.9791 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1554, allocations: 0.9468 MB / 0.98 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.011e-05/0.1555, allocations: 0 / 0.98 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.13e-06/0.1555, allocations: 0 / 0.98 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.291e-06/0.1555, allocations: 0 / 0.98 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.1558, allocations: 47.81 kB / 0.98 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 2.998e-05/0.1558, allocations: 11.94 kB / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.1559, allocations: 0 / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.16e-05/0.1559, allocations: 0 / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.727e-05/0.1559, allocations: 0 / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.689e-06/0.156, allocations: 0 / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.1561, allocations: 79.91 kB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.521e-06/0.1562, allocations: 7.922 kB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.552e-05/0.1562, allocations: 29.7 kB / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.642e-05/0.1563, allocations: 31.95 kB / 0.9802 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1563, allocations: 4 kB / 0.9802 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.163e-06/0.1563, allocations: 7.938 kB / 0.9802 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.1563, allocations: 0 / 0.9802 GB, free: 26.67 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002014/0.1565, allocations: 315.4 kB / 0.9805 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1566, allocations: 8.031 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.1566, allocations: 0 / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.189e-05/0.1567, allocations: 167 kB / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1567, allocations: 4 kB / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.813e-06/0.1567, allocations: 4 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.644e-05/0.1568, allocations: 29.7 kB / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.1568, allocations: 0 / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.342e-06/0.1568, allocations: 0 / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.035e-06/0.1569, allocations: 0 / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/0.1569, allocations: 7.938 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001016/0.157, allocations: 149.6 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.391e-05/0.157, allocations: 18.58 kB / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004159/0.1575, allocations: 0.5584 MB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.1575, allocations: 34.56 kB / 0.9815 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 2.032e-06/0.1575, allocations: 0 / 0.9815 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001253/0.1576, allocations: 41.62 kB / 0.9815 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.1577, allocations: 51.41 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.926e-05/0.1577, allocations: 89.86 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.1577, allocations: 25.7 kB / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.374e-05/0.1578, allocations: 84.27 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.1578, allocations: 7.906 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-06/0.1578, allocations: 0 / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.737e-05/0.1579, allocations: 310.8 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/0.1579, allocations: 0 / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.109e-06/0.1579, allocations: 0 / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.822e-05/0.1579, allocations: 4 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.989e-06/0.1579, allocations: 0 / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.521e-05/0.158, allocations: 45.7 kB / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.158, allocations: 8 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.926e-06/0.158, allocations: 3.938 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1581, allocations: 3.938 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.404e-05/0.1581, allocations: 3.938 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.877e-06/0.1581, allocations: 0 / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.487e-05/0.1582, allocations: 0 / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.146e-06/0.1582, allocations: 4 kB / 0.9821 GB, free: 24.38 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 4.848e-05/0.1582, allocations: 105.8 kB / 0.9822 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.1582, allocations: 7.984 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.409e-05/0.1583, allocations: 40.81 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.163e-06/0.1584, allocations: 4 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.37e-06/0.1584, allocations: 0 / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.067e-06/0.1584, allocations: 0 / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.287e-05/0.1585, allocations: 150 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-06/0.1585, allocations: 0 / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.163e-05/0.1585, allocations: 4 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.434e-06/0.1585, allocations: 7.984 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.005e-06/0.1585, allocations: 0 / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1585, allocations: 3.938 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.454e-06/0.1585, allocations: 0 / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.349e-05/0.1586, allocations: 57.14 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.1587, allocations: 85.08 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.1587, allocations: 3.953 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.375e-05/0.1587, allocations: 0 / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.028e-05/0.1587, allocations: 4.031 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-06/0.1587, allocations: 0 / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.328e-05/0.1587, allocations: 79.28 kB / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.38e-07/0.1588, allocations: 0 / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002492/0.159, allocations: 4 kB / 0.9826 GB, free: 23.73 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 0.0001398/0.1592, allocations: 109.1 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.866e-05/0.1592, allocations: 7.938 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.1593, allocations: 4.062 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.08e-05/0.1593, allocations: 4 kB / 0.9828 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.817e-05/0.1594, allocations: 0 / 0.9828 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001462/0.1595, allocations: 82.7 kB / 0.9828 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.888e-05/0.1597, allocations: 0.6731 MB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.602e-05/0.1597, allocations: 4 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.208e-05/0.1597, allocations: 7.438 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of SimCode: time 1.212e-06/0.1597, allocations: 4.062 kB / 0.9835 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of Templates: time 0.002274/0.162, allocations: 285 kB / 0.9838 GB, free: 22.5 MB / 0.6198 GB