Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.212/2.212, allocations: 252.6 MB / 265.2 MB, free: 5.707 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.001457/0.001457, allocations: 181.5 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.4 MB / 0.5754 GB, free: 10.49 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.001602/0.001601, allocations: 109.9 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.594e-05/3.598e-05, allocations: 11.92 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1932, allocations: 106.2 MB / 0.8949 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8992/1.092, allocations: 131.6 MB / 1.023 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003542/1.093, allocations: 78.33 kB / 1.024 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006958/1.1, allocations: 1.208 MB / 1.025 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.954e-06/1.1, allocations: 0 / 1.025 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.392e-06/1.1, allocations: 0 / 1.025 GB, free: 1.742 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.0004051/1.1, allocations: 326.1 kB / 1.025 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/1.1, allocations: 12.03 kB / 1.025 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/1.1, allocations: 3.906 kB / 1.025 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/1.101, allocations: 167 kB / 1.025 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/1.101, allocations: 0 / 1.025 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/1.101, allocations: 0 / 1.025 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/1.101, allocations: 38.27 kB / 1.025 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/1.101, allocations: 0 / 1.025 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/1.101, allocations: 0 / 1.025 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/1.101, allocations: 0 / 1.025 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.791e-05/1.101, allocations: 0 / 1.025 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/1.101, allocations: 153.5 kB / 1.025 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.638e-05/1.101, allocations: 14.58 kB / 1.025 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.291e-05/1.101, allocations: 12.94 kB / 1.025 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008459/1.102, allocations: 0.5616 MB / 1.026 GB, free: 204 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/1.102, allocations: 40.06 kB / 1.026 GB, free: 160 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 3.076e-06/1.102, allocations: 0 / 1.026 GB, free: 160 kB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001706/1.102, allocations: 33.69 kB / 1.026 GB, free: 120 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/1.102, allocations: 51.41 kB / 1.026 GB, free: 56 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.984e-05/1.103, allocations: 85 kB / 1.026 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/1.103, allocations: 29.73 kB / 1.026 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/1.103, allocations: 80.14 kB / 1.026 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/1.103, allocations: 11.55 kB / 1.026 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/1.103, allocations: 0 / 1.026 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000162/1.103, allocations: 310.8 kB / 1.027 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/1.103, allocations: 0 / 1.027 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.164e-05/1.103, allocations: 0 / 1.027 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.009e-05/1.103, allocations: 7.953 kB / 1.027 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.103, allocations: 4.062 kB / 1.027 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001073/1.103, allocations: 33.64 kB / 1.027 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/1.103, allocations: 4 kB / 1.027 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/1.103, allocations: 4 kB / 1.027 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/1.103, allocations: 0 / 1.027 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.985e-05/1.103, allocations: 0 / 1.027 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/1.103, allocations: 3.984 kB / 1.027 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.552e-05/1.103, allocations: 2.609 kB / 1.027 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/1.103, allocations: 7.938 kB / 1.027 GB, free: 15.46 MB / 0.6511 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 9.981e-05/1.104, allocations: 111.9 kB / 1.027 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/1.104, allocations: 0 / 1.027 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/1.104, allocations: 44.66 kB / 1.027 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/1.104, allocations: 0 / 1.027 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.964e-06/1.104, allocations: 7.984 kB / 1.027 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.104, allocations: 0 / 1.027 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/1.104, allocations: 145.3 kB / 1.027 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.104, allocations: 3.953 kB / 1.027 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/1.104, allocations: 8.031 kB / 1.027 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/1.104, allocations: 0 / 1.027 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/1.104, allocations: 0 / 1.027 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/1.104, allocations: 0 / 1.027 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.104, allocations: 0 / 1.027 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/1.104, allocations: 57.12 kB / 1.027 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.996e-05/1.104, allocations: 85 kB / 1.027 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/1.104, allocations: 0 / 1.027 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.257e-05/1.104, allocations: 7.844 kB / 1.027 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/1.104, allocations: 0 / 1.027 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/1.104, allocations: 0 / 1.027 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.541e-05/1.105, allocations: 83.22 kB / 1.027 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.71e-07/1.105, allocations: 0 / 1.027 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004663/1.105, allocations: 15.92 kB / 1.027 GB, free: 14.81 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 (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.0002564/1.105, allocations: 103.2 kB / 1.027 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.264e-05/1.105, allocations: 8 kB / 1.027 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.105, allocations: 0 / 1.027 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-05/1.105, allocations: 4 kB / 1.027 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/1.106, allocations: 2.406 kB / 1.027 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002/1.106, allocations: 48.86 kB / 1.027 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/1.106, allocations: 0.677 MB / 1.028 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.273e-05/1.106, allocations: 0.75 kB / 1.028 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.229e-05/1.106, allocations: 11.44 kB / 1.028 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of SimCode: time 3.396e-06/1.106, allocations: 0 / 1.028 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of Templates: time 0.002888/1.109, allocations: 283.7 kB / 1.028 GB, free: 13.64 MB / 0.6511 GB