Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.586/2.586, allocations: 285 MB / 292.5 MB, free: 10.59 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001491/0.00149, allocations: 176.9 kB / 360.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.489/2.489, allocations: 205.3 MB / 0.6192 GB, free: 12.12 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 97.42 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.337e-05/4.342e-05, allocations: 8 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8858/0.8859, allocations: 115.3 MB / 0.9635 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2437/1.13, allocations: 137.2 MB / 1.097 GB, free: 3.203 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/1.13, allocations: 79.33 kB / 1.098 GB, free: 3.129 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005233/1.135, allocations: 1.207 MB / 1.099 GB, free: 1.941 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.674e-06/1.135, allocations: 3.094 kB / 1.099 GB, free: 1.941 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.501e-06/1.135, allocations: 0.5 kB / 1.099 GB, free: 1.941 MB / 0.698 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.0003029/1.136, allocations: 327.6 kB / 1.099 GB, free: 1.578 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/1.136, allocations: 8.031 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/1.136, allocations: 2.203 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/1.136, allocations: 167 kB / 1.099 GB, free: 1.367 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/1.136, allocations: 0 / 1.099 GB, free: 1.367 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/1.136, allocations: 3.594 kB / 1.099 GB, free: 1.367 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.931e-05/1.136, allocations: 4 kB / 1.099 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.127e-05/1.136, allocations: 31.11 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/1.136, allocations: 2.953 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/1.136, allocations: 0 / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/1.136, allocations: 0 / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/1.136, allocations: 136.2 kB / 1.099 GB, free: 1.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.123e-05/1.136, allocations: 15.11 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/1.136, allocations: 9.391 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005731/1.137, allocations: 0.56 MB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/1.137, allocations: 35.31 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/1.137, allocations: 0.5625 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001696/1.137, allocations: 34.44 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/1.137, allocations: 51.41 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.429e-05/1.137, allocations: 85.5 kB / 1.1 GB, free: 208 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/1.137, allocations: 26.33 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/1.137, allocations: 80.77 kB / 1.1 GB, free: 92 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/1.137, allocations: 0 / 1.1 GB, free: 92 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/1.137, allocations: 4.875 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.137, allocations: 315.3 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.08e-05/1.137, allocations: 0.6562 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-06/1.137, allocations: 0 / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.276e-05/1.138, allocations: 5.062 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.138, allocations: 0 / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.255e-05/1.138, allocations: 46.27 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.138, allocations: 8 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.138, allocations: 1.625 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/1.138, allocations: 1.656 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.072e-05/1.138, allocations: 0 / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/1.138, allocations: 0 / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.906e-05/1.138, allocations: 9.469 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/1.138, allocations: 0 / 1.101 GB, free: 15.7 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 7.751e-05/1.138, allocations: 106.1 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/1.138, allocations: 7.359 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/1.138, allocations: 41.44 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/1.138, allocations: 3.938 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/1.138, allocations: 2.906 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/1.138, allocations: 0 / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.31e-05/1.138, allocations: 126.2 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/1.138, allocations: 1.5 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.861e-05/1.138, allocations: 10.12 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/1.138, allocations: 0 / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/1.138, allocations: 0 / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/1.138, allocations: 5.172 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.138, allocations: 0 / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/1.138, allocations: 63.84 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/1.139, allocations: 77.11 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/1.139, allocations: 0 / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.321e-05/1.139, allocations: 0 / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.119e-05/1.139, allocations: 7.953 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/1.139, allocations: 0 / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.202e-05/1.139, allocations: 75.28 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.81e-07/1.139, allocations: 0 / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002453/1.139, allocations: 7.938 kB / 1.101 GB, free: 15.11 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.0001786/1.139, allocations: 119.2 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001022/1.139, allocations: 8 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.139, allocations: 0 / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.207e-06/1.139, allocations: 0 / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/1.139, allocations: 0 / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001556/1.14, allocations: 44.02 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/1.14, allocations: 0.6777 MB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.204e-05/1.14, allocations: 6.969 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.601e-05/1.14, allocations: 7.438 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of SimCode: time 6.61e-07/1.14, allocations: 0 / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of Templates: time 0.002457/1.142, allocations: 270.5 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)