Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.361/2.361, allocations: 253.2 MB / 260.6 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002947/0.002946, allocations: 178 kB / 319.9 MB, free: 3.105 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.264/2.264, allocations: 205.6 MB / 0.5708 GB, free: 15.26 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 86.7 kB / 0.6751 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.946e-05/1.954e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.19, allocations: 106.2 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8632/1.053, allocations: 133 MB / 1.019 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/1.054, allocations: 79.56 kB / 1.019 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008664/1.062, allocations: 1.809 MB / 1.02 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.054e-06/1.062, allocations: 0 / 1.02 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.324e-06/1.062, allocations: 0 / 1.02 GB, free: 2.707 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004888/1.063, allocations: 358 kB / 1.021 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.998e-05/1.063, allocations: 12.02 kB / 1.021 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/1.063, allocations: 11.33 kB / 1.021 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/1.063, allocations: 175 kB / 1.021 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/1.063, allocations: 7.938 kB / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/1.063, allocations: 0 / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001107/1.063, allocations: 15.3 kB / 1.021 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/1.063, allocations: 43.95 kB / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.063, allocations: 4 kB / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/1.064, allocations: 0 / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/1.064, allocations: 0.75 kB / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/1.064, allocations: 255.5 kB / 1.021 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.322e-05/1.064, allocations: 30 kB / 1.021 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.691e-05/1.064, allocations: 8.922 kB / 1.021 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006033/1.065, allocations: 0.5578 MB / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/1.065, allocations: 37.19 kB / 1.022 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.615e-06/1.065, allocations: 0 / 1.022 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002317/1.065, allocations: 45.52 kB / 1.022 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/1.065, allocations: 55.41 kB / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.998e-05/1.065, allocations: 104.7 kB / 1.022 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/1.065, allocations: 25.7 kB / 1.022 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/1.065, allocations: 95.66 kB / 1.022 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/1.065, allocations: 3.906 kB / 1.022 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/1.065, allocations: 4 kB / 1.022 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.066, allocations: 314.5 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.644e-05/1.066, allocations: 4 kB / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.17e-05/1.066, allocations: 3.188 kB / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.461e-05/1.066, allocations: 8.062 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.066, allocations: 3.984 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001216/1.066, allocations: 44.02 kB / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/1.066, allocations: 9.406 kB / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/1.066, allocations: 0 / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/1.066, allocations: 0 / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/1.066, allocations: 11.92 kB / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/1.066, allocations: 0 / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.785e-05/1.066, allocations: 10.48 kB / 1.023 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/1.066, allocations: 4.031 kB / 1.023 GB, free: 228 kB / 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 (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 8.045e-05/1.066, allocations: 108.9 kB / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/1.066, allocations: 7.844 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/1.066, allocations: 60.91 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/1.066, allocations: 0 / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.066, allocations: 0 / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/1.066, allocations: 0 / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/1.067, allocations: 145.4 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.067, allocations: 0 / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-05/1.067, allocations: 16.02 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/1.067, allocations: 0 / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/1.067, allocations: 0 / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.067, allocations: 0 / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/1.067, allocations: 0 / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/1.067, allocations: 146.5 kB / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.425e-05/1.067, allocations: 81.11 kB / 1.023 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/1.067, allocations: 4.031 kB / 1.023 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.885e-05/1.067, allocations: 3.984 kB / 1.023 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/1.067, allocations: 4 kB / 1.023 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/1.067, allocations: 0 / 1.023 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.055e-05/1.067, allocations: 83.64 kB / 1.023 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.067, allocations: 0 / 1.023 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003299/1.068, allocations: 23.84 kB / 1.023 GB, free: 15.49 MB / 0.6511 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 (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.0002211/1.068, allocations: 113.2 kB / 1.023 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.53e-05/1.068, allocations: 15.88 kB / 1.023 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.068, allocations: 0 / 1.023 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.546e-05/1.068, allocations: 10.81 kB / 1.023 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/1.068, allocations: 3.953 kB / 1.023 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/1.069, allocations: 72.05 kB / 1.023 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/1.069, allocations: 0.6846 MB / 1.024 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.568e-05/1.069, allocations: 8.609 kB / 1.024 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/1.069, allocations: 11.44 kB / 1.024 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of SimCode: time 7.62e-07/1.069, allocations: 0 / 1.024 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of Templates: time 0.00303/1.072, allocations: 369.1 kB / 1.024 GB, free: 14.18 MB / 0.6511 GB