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.237/2.237, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002378/0.002378, allocations: 181.7 kB / 325.6 MB, free: 2.84 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.464/2.464, allocations: 205.4 MB / 0.5766 GB, free: 21.13 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.001541/0.001541, allocations: 98.78 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004603/0.0004599, allocations: 15.3 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2122, allocations: 106.3 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3301/0.5423, allocations: 131.7 MB / 1.027 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/0.5427, allocations: 83.94 kB / 1.028 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005362/0.548, allocations: 1.218 MB / 1.029 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5481, allocations: 0 / 1.029 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.5481, allocations: 0 / 1.029 GB, free: 12.8 MB / 0.6823 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.0003198/0.5484, allocations: 331.4 kB / 1.029 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.5485, allocations: 11.97 kB / 1.029 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.5485, allocations: 0 / 1.029 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.5487, allocations: 167 kB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.5487, allocations: 0 / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.5487, allocations: 8 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.777e-05/0.5488, allocations: 37.67 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.5488, allocations: 0 / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.5488, allocations: 0 / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.5489, allocations: 0 / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.726e-05/0.5489, allocations: 4 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.5491, allocations: 145.6 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.281e-05/0.5491, allocations: 22.55 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005956/0.5497, allocations: 0.5662 MB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.5498, allocations: 30.56 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.893e-06/0.5498, allocations: 0 / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001371/0.5499, allocations: 29.7 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.55, allocations: 51.41 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.761e-05/0.5501, allocations: 89.12 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.5501, allocations: 33.64 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.5501, allocations: 84.12 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.5502, allocations: 7.906 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.5502, allocations: 0 / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5503, allocations: 318.8 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.5503, allocations: 0 / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.304e-06/0.5504, allocations: 0 / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.179e-05/0.5504, allocations: 4 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5504, allocations: 8.016 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.842e-05/0.5505, allocations: 29.7 kB / 1.031 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.5505, allocations: 8 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5505, allocations: 0 / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.5505, allocations: 0 / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.705e-05/0.5506, allocations: 0 / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.567e-06/0.5506, allocations: 3.984 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.284e-05/0.5507, allocations: 7.984 kB / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.5507, allocations: 4 kB / 1.031 GB, free: 10.48 MB / 0.6823 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 9.326e-05/0.5508, allocations: 113.8 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.5508, allocations: 3.953 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.5509, allocations: 32.83 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5509, allocations: 4 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5509, allocations: 3.984 kB / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.551, allocations: 0 / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.5511, allocations: 145.7 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.5511, allocations: 0 / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.793e-05/0.5511, allocations: 11.98 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.5511, allocations: 3.938 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.5512, allocations: 0 / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.5512, allocations: 0 / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5512, allocations: 0 / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.636e-05/0.5513, allocations: 61.06 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.5513, allocations: 81.11 kB / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.5514, allocations: 3.953 kB / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.73e-05/0.5514, allocations: 9.078 kB / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.5514, allocations: 0 / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.5514, allocations: 0 / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.624e-05/0.5515, allocations: 79.28 kB / 1.031 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/0.5515, allocations: 0 / 1.031 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002452/0.5517, allocations: 11.98 kB / 1.031 GB, free: 9.828 MB / 0.6823 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.0001867/0.5519, allocations: 111.1 kB / 1.031 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.699e-05/0.552, allocations: 4 kB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.552, allocations: 4 kB / 1.031 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.248e-05/0.552, allocations: 3.938 kB / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.645e-05/0.5521, allocations: 1.547 kB / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001865/0.5523, allocations: 82.75 kB / 1.031 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.5526, allocations: 0.6692 MB / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.509e-05/0.5527, allocations: 8.125 kB / 1.032 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/0.5527, allocations: 7.438 kB / 1.032 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of SimCode: time 6.11e-07/0.5527, allocations: 0 / 1.032 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of Templates: time 0.002509/0.5552, allocations: 277.5 kB / 1.032 GB, free: 8.609 MB / 0.6823 GB