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.575/2.575, allocations: 284.8 MB / 297.3 MB, free: 6.332 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.001459/0.001459, allocations: 179.9 kB / 365.7 MB, free: 2.574 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.22/2.22, allocations: 205.2 MB / 0.6241 GB, free: 8.191 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.001024/0.001024, allocations: 100.6 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.288e-05/3.292e-05, allocations: 4 kB / 0.8574 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8923/0.8923, allocations: 115.2 MB / 0.97 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2425/1.135, allocations: 137.9 MB / 1.105 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/1.135, allocations: 75.95 kB / 1.105 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.005643/1.141, allocations: 1.213 MB / 1.106 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.793e-06/1.141, allocations: 3.938 kB / 1.106 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.029e-05/1.141, allocations: 0 / 1.106 GB, free: 13.23 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.0003418/1.141, allocations: 326.5 kB / 1.106 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/1.141, allocations: 9.281 kB / 1.106 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/1.142, allocations: 5.141 kB / 1.106 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/1.142, allocations: 163 kB / 1.106 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/1.142, allocations: 0.9062 kB / 1.106 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/1.142, allocations: 0 / 1.106 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/1.142, allocations: 30.64 kB / 1.106 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/1.142, allocations: 0 / 1.106 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/1.142, allocations: 0.6562 kB / 1.106 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/1.142, allocations: 0 / 1.106 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.635e-05/1.142, allocations: 4.969 kB / 1.106 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/1.142, allocations: 159.1 kB / 1.107 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.239e-05/1.142, allocations: 20.17 kB / 1.107 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.282e-05/1.142, allocations: 8.953 kB / 1.107 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007059/1.143, allocations: 0.5609 MB / 1.107 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/1.143, allocations: 30.56 kB / 1.107 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 2.225e-06/1.143, allocations: 0 / 1.107 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001543/1.143, allocations: 34.41 kB / 1.107 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/1.143, allocations: 52.03 kB / 1.107 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.905e-05/1.143, allocations: 85 kB / 1.107 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/1.143, allocations: 26.89 kB / 1.107 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/1.143, allocations: 80.14 kB / 1.107 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/1.143, allocations: 12.81 kB / 1.107 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/1.143, allocations: 0 / 1.107 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.144, allocations: 312.5 kB / 1.108 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.317e-05/1.144, allocations: 0 / 1.108 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.327e-06/1.144, allocations: 0 / 1.108 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.284e-05/1.144, allocations: 5.5 kB / 1.108 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.144, allocations: 0 / 1.108 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.317e-05/1.144, allocations: 41.55 kB / 1.108 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/1.144, allocations: 8 kB / 1.108 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.144, allocations: 3.5 kB / 1.108 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/1.144, allocations: 0 / 1.108 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.281e-05/1.144, allocations: 0 / 1.108 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/1.144, allocations: 5.5 kB / 1.108 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/1.144, allocations: 0 / 1.108 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/1.144, allocations: 4 kB / 1.108 GB, free: 10.96 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 8.278e-05/1.144, allocations: 107.2 kB / 1.108 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/1.144, allocations: 7.891 kB / 1.108 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/1.144, allocations: 42.53 kB / 1.108 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.144, allocations: 4 kB / 1.108 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.144, allocations: 2.344 kB / 1.108 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/1.144, allocations: 0 / 1.108 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/1.144, allocations: 145.7 kB / 1.108 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.144, allocations: 0 / 1.108 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/1.144, allocations: 7.984 kB / 1.108 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/1.144, allocations: 3.953 kB / 1.108 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/1.144, allocations: 160 / 1.108 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.144, allocations: 4 kB / 1.108 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.144, allocations: 0 / 1.108 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/1.145, allocations: 61.08 kB / 1.108 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/1.145, allocations: 77.11 kB / 1.108 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/1.145, allocations: 7.938 kB / 1.108 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.328e-05/1.145, allocations: 0 / 1.108 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/1.145, allocations: 0 / 1.108 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/1.145, allocations: 10.09 kB / 1.108 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.377e-05/1.145, allocations: 75.28 kB / 1.108 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.71e-07/1.145, allocations: 0 / 1.108 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002416/1.145, allocations: 7.938 kB / 1.108 GB, free: 10.32 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.0002038/1.145, allocations: 107.2 kB / 1.108 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.15e-05/1.145, allocations: 8 kB / 1.109 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.145, allocations: 0 / 1.109 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.712e-05/1.145, allocations: 7.984 kB / 1.109 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001059/1.146, allocations: 5.469 kB / 1.109 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001727/1.146, allocations: 47.41 kB / 1.109 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/1.146, allocations: 0.677 MB / 1.109 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.257e-05/1.146, allocations: 1.484 kB / 1.109 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/1.146, allocations: 11.44 kB / 1.109 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of SimCode: time 1.042e-06/1.146, allocations: 0 / 1.109 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of Templates: time 0.00274/1.149, allocations: 278.8 kB / 1.109 GB, free: 9.16 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)