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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.221/4.221, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.717e-05/2.722e-05, allocations: 8 kB / 0.5325 GB, free: 1.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.553/0.553, allocations: 98.72 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2398/0.7929, allocations: 124 MB / 0.75 GB, free: 3.547 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.7932, allocations: 79.94 kB / 0.7501 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.00481/0.798, allocations: 1.211 MB / 0.7513 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.533e-06/0.7981, allocations: 0 / 0.7513 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.7981, allocations: 0 / 0.7513 GB, free: 2.254 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.0003204/0.7984, allocations: 322.5 kB / 0.7516 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.7985, allocations: 16.03 kB / 0.7516 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.7985, allocations: 0 / 0.7516 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.7986, allocations: 163 kB / 0.7518 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.7987, allocations: 0 / 0.7518 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.913e-06/0.7987, allocations: 0 / 0.7518 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.663e-05/0.7987, allocations: 0 / 0.7518 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.797e-05/0.7988, allocations: 33.69 kB / 0.7518 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.982e-06/0.7988, allocations: 0 / 0.7518 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.7988, allocations: 4 kB / 0.7518 GB, free: 1.637 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.001e-06/0.7988, allocations: 7.875 kB / 0.7518 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.799, allocations: 134.2 kB / 0.7519 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.378e-05/0.7991, allocations: 18.61 kB / 0.7519 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.731e-05/0.7991, allocations: 4.859 kB / 0.7519 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006019/0.7997, allocations: 0.5584 MB / 0.7525 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.7997, allocations: 34.55 kB / 0.7525 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 2.235e-06/0.7998, allocations: 4 kB / 0.7525 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001588/0.7999, allocations: 33.7 kB / 0.7526 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.8, allocations: 51.41 kB / 0.7526 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.173e-05/0.8, allocations: 85 kB / 0.7527 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.8001, allocations: 29.64 kB / 0.7527 GB, free: 476 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.8001, allocations: 80.14 kB / 0.7528 GB, free: 392 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.8002, allocations: 0 / 0.7528 GB, free: 392 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-06/0.8002, allocations: 0 / 0.7528 GB, free: 392 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.8003, allocations: 314.9 kB / 0.7531 GB, free: 68 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.255e-05/0.8004, allocations: 4 kB / 0.7531 GB, free: 64 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.671e-06/0.8004, allocations: 4 kB / 0.7531 GB, free: 60 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.291e-05/0.8004, allocations: 3.984 kB / 0.7531 GB, free: 56 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.51e-06/0.8004, allocations: 4 kB / 0.7531 GB, free: 52 kB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.565e-05/0.8005, allocations: 37.59 kB / 0.7531 GB, free: 8 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.8006, allocations: 4 kB / 0.7532 GB, free: 4 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.59e-06/0.8006, allocations: 0 / 0.7532 GB, free: 4 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.8006, allocations: 4 kB / 0.7532 GB, free: 0 / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.106e-05/0.8007, allocations: 4.141 kB / 0.7532 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.8007, allocations: 0 / 0.7532 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.397e-05/0.8007, allocations: 0 / 0.7532 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.104e-06/0.8007, allocations: 3.984 kB / 0.7532 GB, free: 15.99 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 8.228e-05/0.8008, allocations: 105 kB / 0.7533 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.8009, allocations: 3.953 kB / 0.7533 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.801, allocations: 37.39 kB / 0.7533 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.924e-06/0.801, allocations: 4.031 kB / 0.7533 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.15e-06/0.801, allocations: 4 kB / 0.7533 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.728e-06/0.801, allocations: 3.984 kB / 0.7533 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.8012, allocations: 122.2 kB / 0.7534 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.461e-06/0.8012, allocations: 3.938 kB / 0.7534 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.952e-05/0.8012, allocations: 0 / 0.7534 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.829e-06/0.8012, allocations: 4 kB / 0.7534 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.067e-06/0.8012, allocations: 3.953 kB / 0.7534 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.848e-06/0.8012, allocations: 0 / 0.7534 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.894e-06/0.8013, allocations: 0 / 0.7534 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.8014, allocations: 69.06 kB / 0.7535 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.8014, allocations: 77.11 kB / 0.7536 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.8015, allocations: 3.938 kB / 0.7536 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.608e-05/0.8015, allocations: 3.953 kB / 0.7536 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.483e-06/0.8015, allocations: 0 / 0.7536 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-06/0.8015, allocations: 0 / 0.7536 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.307e-05/0.8016, allocations: 79.28 kB / 0.7537 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.44e-07/0.8016, allocations: 4.031 kB / 0.7537 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000257/0.8018, allocations: 15.92 kB / 0.7537 GB, free: 15.38 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.0001872/0.802, allocations: 107.2 kB / 0.7538 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.658e-05/0.8021, allocations: 8 kB / 0.7538 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.84e-06/0.8021, allocations: 0 / 0.7538 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.647e-06/0.8022, allocations: 0 / 0.7538 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.8023, allocations: 4.938 kB / 0.7538 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001546/0.8024, allocations: 56.06 kB / 0.7539 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.8028, allocations: 0.669 MB / 0.7545 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.747e-05/0.8028, allocations: 4 kB / 0.7545 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.556e-05/0.8029, allocations: 7.438 kB / 0.7545 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of SimCode: time 1.345e-06/0.8029, allocations: 0 / 0.7545 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of Templates: time 0.002252/0.8051, allocations: 271 kB / 0.7548 GB, free: 14.2 MB / 0.6355 GB