Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadModel(Buildings): time 4.141/4.141, allocations: 432.7 MB / 445.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.261e-05/3.274e-05, allocations: 9.375 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1742, allocations: 98.72 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2152/0.3895, allocations: 124.7 MB / 0.7565 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004546/0.39, allocations: 75.95 kB / 0.7565 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009129/0.3992, allocations: 1.207 MB / 0.7577 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.586e-06/0.3992, allocations: 0 / 0.7577 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.755e-06/0.3992, allocations: 3.938 kB / 0.7577 GB, free: 3.762 MB / 0.6355 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.0003034/0.3995, allocations: 330.4 kB / 0.758 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3996, allocations: 8.031 kB / 0.758 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.3996, allocations: 3.938 kB / 0.758 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.3998, allocations: 167 kB / 0.7582 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3998, allocations: 0 / 0.7582 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.951e-06/0.3998, allocations: 4 kB / 0.7582 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.836e-05/0.3999, allocations: 37.69 kB / 0.7582 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.3999, allocations: 0 / 0.7582 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.3999, allocations: 0 / 0.7582 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.102e-06/0.3999, allocations: 0 / 0.7582 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.507e-05/0.4, allocations: 7.938 kB / 0.7582 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.4002, allocations: 145.6 kB / 0.7584 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.112e-05/0.4002, allocations: 18.61 kB / 0.7584 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.4002, allocations: 8.859 kB / 0.7584 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005853/0.4008, allocations: 0.5623 MB / 0.759 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.4009, allocations: 30.56 kB / 0.759 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 2.175e-06/0.4009, allocations: 0 / 0.759 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001163/0.401, allocations: 33.64 kB / 0.759 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.4011, allocations: 55.41 kB / 0.7591 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.471e-05/0.4011, allocations: 89 kB / 0.7592 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.4012, allocations: 29.73 kB / 0.7592 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.4012, allocations: 80.14 kB / 0.7593 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.4013, allocations: 0 / 0.7593 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-06/0.4013, allocations: 0 / 0.7593 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.4014, allocations: 314.8 kB / 0.7596 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.052e-05/0.4014, allocations: 0 / 0.7596 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.08e-05/0.4015, allocations: 4 kB / 0.7596 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.274e-05/0.4015, allocations: 7.938 kB / 0.7596 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.243e-06/0.4015, allocations: 4.062 kB / 0.7596 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.698e-05/0.4016, allocations: 33.7 kB / 0.7596 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4016, allocations: 4 kB / 0.7596 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.721e-06/0.4016, allocations: 0 / 0.7596 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.4017, allocations: 3.938 kB / 0.7596 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.533e-05/0.4017, allocations: 4 kB / 0.7596 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.617e-06/0.4017, allocations: 0 / 0.7596 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.432e-05/0.4018, allocations: 0 / 0.7596 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.4018, allocations: 4 kB / 0.7596 GB, free: 1.461 MB / 0.6355 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 () * 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 7.967e-05/0.4019, allocations: 110.7 kB / 0.7597 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.14e-06/0.4019, allocations: 0 / 0.7597 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.402, allocations: 40.81 kB / 0.7598 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.402, allocations: 0 / 0.7598 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.725e-06/0.402, allocations: 0 / 0.7598 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.881e-06/0.402, allocations: 0 / 0.7598 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.4022, allocations: 149.6 kB / 0.7599 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.518e-06/0.4022, allocations: 11.89 kB / 0.7599 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/0.4022, allocations: 12.03 kB / 0.7599 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.8e-06/0.4022, allocations: 0 / 0.7599 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.08e-06/0.4023, allocations: 0 / 0.7599 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.97e-06/0.4023, allocations: 3.938 kB / 0.7599 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.4e-06/0.4023, allocations: 0 / 0.7599 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.851e-05/0.4024, allocations: 57.12 kB / 0.76 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.4024, allocations: 81.06 kB / 0.7601 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.4025, allocations: 0 / 0.7601 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.371e-05/0.4025, allocations: 4.031 kB / 0.7601 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.4025, allocations: 4 kB / 0.7601 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-06/0.4025, allocations: 0 / 0.7601 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.768e-05/0.4026, allocations: 75.28 kB / 0.7602 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.79e-07/0.4026, allocations: 0 / 0.7602 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002612/0.4028, allocations: 12 kB / 0.7602 GB, free: 0.8164 MB / 0.6355 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 () * 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.0001935/0.4031, allocations: 111.2 kB / 0.7603 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.715e-05/0.4031, allocations: 15.88 kB / 0.7603 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.762e-06/0.4031, allocations: 0 / 0.7603 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.174e-05/0.4032, allocations: 0 / 0.7603 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.815e-05/0.4033, allocations: 4 kB / 0.7603 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001465/0.4034, allocations: 37.06 kB / 0.7603 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.4038, allocations: 0.677 MB / 0.761 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.064e-05/0.4038, allocations: 4.109 kB / 0.761 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.504e-05/0.4039, allocations: 15.44 kB / 0.761 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.324e-06/0.4039, allocations: 0 / 0.761 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of Templates: time 0.002275/0.4062, allocations: 269.1 kB / 0.7613 GB, free: 15.64 MB / 0.6511 GB