Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.8/1.8, allocations: 292.6 MB / 307.5 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 187.5 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.4 MB / 0.6367 GB, free: 8.652 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008428/0.0008426, allocations: 92.66 kB / 0.751 GB, free: 62.85 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 8 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.28, allocations: 116.3 MB / 0.9884 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6651/0.9452, allocations: 139.3 MB / 1.124 GB, free: 35.38 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.9455, allocations: 79.33 kB / 1.124 GB, free: 35.32 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00461/0.9501, allocations: 1.654 MB / 1.126 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.515e-06/0.9501, allocations: 0 / 1.126 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.9502, allocations: 0 / 1.126 GB, free: 34.07 MB / 0.7292 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.0002291/0.9504, allocations: 335.5 kB / 1.126 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.9505, allocations: 8.031 kB / 1.126 GB, free: 33.69 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.9505, allocations: 2.562 kB / 1.126 GB, free: 33.69 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.736e-05/0.9506, allocations: 163.5 kB / 1.127 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.9506, allocations: 4 kB / 1.127 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.9506, allocations: 0 / 1.127 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.9507, allocations: 32.7 kB / 1.127 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.9508, allocations: 0 / 1.127 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.9508, allocations: 3.938 kB / 1.127 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.9508, allocations: 1.734 kB / 1.127 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.366e-05/0.9508, allocations: 10.88 kB / 1.127 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.9509, allocations: 146.4 kB / 1.127 GB, free: 33.26 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.535e-05/0.951, allocations: 22.27 kB / 1.127 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003504/0.9513, allocations: 0.5625 MB / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.9514, allocations: 33.12 kB / 1.127 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.9514, allocations: 0.5625 kB / 1.127 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001236/0.9515, allocations: 39.66 kB / 1.127 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.985e-05/0.9515, allocations: 51.41 kB / 1.127 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.565e-05/0.9516, allocations: 85 kB / 1.128 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.9516, allocations: 29.7 kB / 1.128 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.185e-05/0.9516, allocations: 80.27 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.9516, allocations: 6.344 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-06/0.9516, allocations: 0 / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.936e-05/0.9517, allocations: 314.8 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-06/0.9517, allocations: 0 / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-06/0.9517, allocations: 4 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.502e-05/0.9517, allocations: 0 / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.9517, allocations: 0 / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.177e-05/0.9518, allocations: 41.16 kB / 1.128 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.9518, allocations: 14.12 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.9518, allocations: 0.7031 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.9519, allocations: 0.5625 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.413e-05/0.9519, allocations: 0.875 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.9519, allocations: 0 / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.237e-05/0.952, allocations: 4 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.952, allocations: 0 / 1.128 GB, free: 31.82 MB / 0.7292 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 4.34e-05/0.952, allocations: 105.8 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.868e-06/0.952, allocations: 13.62 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.673e-05/0.9521, allocations: 49.3 kB / 1.128 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.9521, allocations: 0 / 1.128 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9521, allocations: 0 / 1.128 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.9521, allocations: 4.75 kB / 1.128 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.336e-05/0.9522, allocations: 145.2 kB / 1.128 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.9522, allocations: 0 / 1.128 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.277e-05/0.9522, allocations: 7.938 kB / 1.128 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.9522, allocations: 0 / 1.128 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.9523, allocations: 5.203 kB / 1.128 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.9523, allocations: 4.031 kB / 1.128 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.9523, allocations: 0 / 1.128 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.136e-05/0.9523, allocations: 60.8 kB / 1.128 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.9523, allocations: 77.11 kB / 1.128 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.9524, allocations: 0 / 1.128 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.032e-05/0.9524, allocations: 5.359 kB / 1.128 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.9524, allocations: 1.594 kB / 1.128 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.9524, allocations: 8.031 kB / 1.128 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.225e-05/0.9524, allocations: 75.28 kB / 1.129 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9524, allocations: 0 / 1.129 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002185/0.9527, allocations: 11.56 kB / 1.129 GB, free: 31.18 MB / 0.7292 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.0001575/0.9528, allocations: 111.2 kB / 1.129 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.63e-05/0.9529, allocations: 4 kB / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.9529, allocations: 0 / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.46e-06/0.9529, allocations: 5.188 kB / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.483e-05/0.953, allocations: 4 kB / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001593/0.9532, allocations: 75.23 kB / 1.129 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.827e-05/0.9532, allocations: 0.6803 MB / 1.129 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.375e-05/0.9533, allocations: 0.625 kB / 1.129 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.285e-05/0.9533, allocations: 7.438 kB / 1.129 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of SimCode: time 3.51e-07/0.9533, allocations: 0 / 1.129 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of Templates: time 0.001976/0.9553, allocations: 271 kB / 1.13 GB, free: 30.09 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)