Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.898/1.898, allocations: 285.4 MB / 298 MB, free: 5.988 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.001195/0.001195, allocations: 176.8 kB / 366.4 MB, free: 2.094 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.811/1.811, allocations: 205.1 MB / 0.6248 GB, free: 7.746 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.0008642/0.0008639, allocations: 99.22 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.945e-05/3.964e-05, allocations: 4 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8469/0.847, allocations: 115.3 MB / 0.9709 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2329/1.08, allocations: 138.2 MB / 1.106 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/1.08, allocations: 80.98 kB / 1.106 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004668/1.085, allocations: 1.637 MB / 1.108 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.073e-06/1.085, allocations: 0 / 1.108 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.708e-06/1.085, allocations: 1.156 kB / 1.108 GB, free: 11.89 MB / 0.7136 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.0002841/1.085, allocations: 332.8 kB / 1.108 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/1.085, allocations: 9.188 kB / 1.108 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/1.085, allocations: 4 kB / 1.108 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.53e-05/1.085, allocations: 167.6 kB / 1.108 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/1.085, allocations: 1.25 kB / 1.108 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/1.085, allocations: 3.984 kB / 1.108 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/1.086, allocations: 26.27 kB / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/1.086, allocations: 6.531 kB / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/1.086, allocations: 0 / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/1.086, allocations: 0 / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.346e-05/1.086, allocations: 3.938 kB / 1.108 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/1.086, allocations: 151.8 kB / 1.108 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.405e-05/1.086, allocations: 24.02 kB / 1.108 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/1.086, allocations: 8.844 kB / 1.108 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004607/1.086, allocations: 0.5584 MB / 1.109 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/1.086, allocations: 35.12 kB / 1.109 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/1.086, allocations: 0 / 1.109 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001345/1.087, allocations: 34.17 kB / 1.109 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/1.087, allocations: 52.31 kB / 1.109 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.394e-05/1.087, allocations: 85.69 kB / 1.109 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/1.087, allocations: 25.7 kB / 1.109 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/1.087, allocations: 86.23 kB / 1.109 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/1.087, allocations: 3.984 kB / 1.109 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-06/1.087, allocations: 1.125 kB / 1.109 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.087, allocations: 314.8 kB / 1.109 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.087e-05/1.087, allocations: 6 kB / 1.109 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-06/1.087, allocations: 0 / 1.109 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.684e-05/1.087, allocations: 0 / 1.109 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.087, allocations: 0 / 1.109 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.237e-05/1.087, allocations: 46.22 kB / 1.11 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/1.087, allocations: 4 kB / 1.11 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.087, allocations: 0.7188 kB / 1.11 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/1.087, allocations: 0 / 1.11 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.511e-05/1.087, allocations: 9.922 kB / 1.11 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/1.087, allocations: 0 / 1.11 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.159e-05/1.087, allocations: 2.25 kB / 1.11 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/1.087, allocations: 0 / 1.11 GB, free: 9.602 MB / 0.7136 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 6.067e-05/1.087, allocations: 105.9 kB / 1.11 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/1.087, allocations: 3.953 kB / 1.11 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.633e-05/1.087, allocations: 44.27 kB / 1.11 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/1.087, allocations: 0 / 1.11 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.087, allocations: 3.984 kB / 1.11 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/1.087, allocations: 0 / 1.11 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.735e-05/1.087, allocations: 145.7 kB / 1.11 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.087, allocations: 0 / 1.11 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.522e-05/1.087, allocations: 3.938 kB / 1.11 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/1.088, allocations: 5.375 kB / 1.11 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.944e-06/1.088, allocations: 3.953 kB / 1.11 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.088, allocations: 4 kB / 1.11 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.088, allocations: 0 / 1.11 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.987e-05/1.088, allocations: 57.12 kB / 1.11 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/1.088, allocations: 81.3 kB / 1.11 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/1.088, allocations: 4 kB / 1.11 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.098e-05/1.088, allocations: 3.953 kB / 1.11 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/1.088, allocations: 0 / 1.11 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/1.088, allocations: 0 / 1.11 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.887e-05/1.088, allocations: 75.28 kB / 1.11 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/1.088, allocations: 3.938 kB / 1.11 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002083/1.088, allocations: 15.98 kB / 1.11 GB, free: 8.961 MB / 0.7136 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.0001828/1.088, allocations: 104.2 kB / 1.11 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.605e-05/1.088, allocations: 11.94 kB / 1.11 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.088, allocations: 0 / 1.11 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.594e-06/1.088, allocations: 4 kB / 1.11 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.849e-05/1.088, allocations: 4 kB / 1.11 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001486/1.089, allocations: 47.45 kB / 1.11 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/1.089, allocations: 0.677 MB / 1.111 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.321e-05/1.089, allocations: 4.125 kB / 1.111 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.381e-05/1.089, allocations: 7.438 kB / 1.111 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of SimCode: time 4.01e-07/1.089, allocations: 2.25 kB / 1.111 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of Templates: time 0.002139/1.091, allocations: 279.5 kB / 1.111 GB, free: 7.805 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)