Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009807/0.0009808, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000996/0.000996, allocations: 190.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.213/1.213, allocations: 205.1 MB / 222.1 MB, free: 4.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.298/1.298, allocations: 251.7 MB / 0.5089 GB, free: 3.355 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 71.91 kB / 0.6218 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3849, allocations: 104.7 MB / 0.724 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001686/0.3867, allocations: 0.6481 MB / 0.7246 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.3881, allocations: 1.287 MB / 0.7259 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.035e-05/0.3881, allocations: 0 / 0.7259 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.354e-05/0.3881, allocations: 0 / 0.7259 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.887e-06/0.3881, allocations: 0 / 0.7259 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.3884, allocations: 51.89 kB / 0.7259 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.35e-05/0.3885, allocations: 4 kB / 0.7259 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.25e-05/0.3885, allocations: 0 / 0.7259 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.243e-05/0.3885, allocations: 4 kB / 0.726 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.935e-05/0.3886, allocations: 0 / 0.726 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.302e-06/0.3886, allocations: 3.938 kB / 0.726 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.3888, allocations: 99.89 kB / 0.7261 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.133e-06/0.3888, allocations: 0 / 0.7261 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.196e-05/0.3888, allocations: 4 kB / 0.7261 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.3889, allocations: 43.94 kB / 0.7261 GB, free: 10.97 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3889, allocations: 0 / 0.7261 GB, free: 10.97 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3889, allocations: 0 / 0.7261 GB, free: 10.97 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3889, allocations: 3.938 kB / 0.7261 GB, free: 10.96 MB / 0.545 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.0002467/0.3892, allocations: 327.6 kB / 0.7264 GB, free: 10.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.3892, allocations: 8.031 kB / 0.7264 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.27e-05/0.3893, allocations: 4.844 kB / 0.7264 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.763e-05/0.3893, allocations: 172.3 kB / 0.7266 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.3894, allocations: 384 / 0.7266 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.3894, allocations: 4.375 kB / 0.7266 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.934e-05/0.3894, allocations: 34 kB / 0.7266 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.919e-06/0.3894, allocations: 0 / 0.7266 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.922e-06/0.3895, allocations: 0 / 0.7266 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.3895, allocations: 4 kB / 0.7266 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.432e-05/0.3895, allocations: 0 / 0.7266 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001108/0.3896, allocations: 145.7 kB / 0.7268 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.225e-05/0.3896, allocations: 26.55 kB / 0.7268 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.3897, allocations: 4.859 kB / 0.7268 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000496/0.3902, allocations: 0.5584 MB / 0.7273 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.3902, allocations: 34.5 kB / 0.7274 GB, free: 9.367 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.3902, allocations: 7.938 kB / 0.7274 GB, free: 9.359 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001168/0.3903, allocations: 37.7 kB / 0.7274 GB, free: 9.316 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.3903, allocations: 51.41 kB / 0.7275 GB, free: 9.254 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.224e-05/0.3904, allocations: 89.86 kB / 0.7276 GB, free: 9.156 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.3904, allocations: 25.7 kB / 0.7276 GB, free: 9.125 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/0.3904, allocations: 84.12 kB / 0.7277 GB, free: 9.039 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.3905, allocations: 3.938 kB / 0.7277 GB, free: 9.035 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.3905, allocations: 13.72 kB / 0.7277 GB, free: 9.016 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.3906, allocations: 315 kB / 0.728 GB, free: 8.699 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-06/0.3906, allocations: 0 / 0.728 GB, free: 8.699 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-06/0.3906, allocations: 4 kB / 0.728 GB, free: 8.695 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.979e-05/0.3906, allocations: 8.859 kB / 0.728 GB, free: 8.684 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3906, allocations: 0 / 0.728 GB, free: 8.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.529e-05/0.3907, allocations: 37.69 kB / 0.728 GB, free: 8.641 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3907, allocations: 7.938 kB / 0.728 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.3907, allocations: 0 / 0.728 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.3907, allocations: 4.094 kB / 0.728 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.885e-05/0.3908, allocations: 4 kB / 0.728 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3908, allocations: 3.938 kB / 0.728 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.749e-06/0.3908, allocations: 0 / 0.728 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.3908, allocations: 3.984 kB / 0.728 GB, free: 8.617 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.391e-05/0.3909, allocations: 105.8 kB / 0.7281 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.775e-06/0.3909, allocations: 7.938 kB / 0.7282 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.763e-05/0.391, allocations: 48.8 kB / 0.7282 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.391, allocations: 0 / 0.7282 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.391, allocations: 3.938 kB / 0.7282 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.391, allocations: 0 / 0.7282 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.177e-05/0.3911, allocations: 147.6 kB / 0.7283 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.3911, allocations: 4 kB / 0.7284 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.318e-05/0.3911, allocations: 3.984 kB / 0.7284 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.3911, allocations: 3.938 kB / 0.7284 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.3911, allocations: 0 / 0.7284 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3911, allocations: 4 kB / 0.7284 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3911, allocations: 4 kB / 0.7284 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.298e-05/0.3912, allocations: 61.11 kB / 0.7284 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.3912, allocations: 77.11 kB / 0.7285 GB, free: 8.055 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.3912, allocations: 11.86 kB / 0.7285 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-06/0.3913, allocations: 4 kB / 0.7285 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.356e-06/0.3913, allocations: 0 / 0.7285 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.3913, allocations: 0 / 0.7285 GB, free: 8.039 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.283e-05/0.3913, allocations: 79.31 kB / 0.7286 GB, free: 7.961 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3913, allocations: 0 / 0.7286 GB, free: 7.961 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000175/0.3915, allocations: 4 kB / 0.7286 GB, free: 7.957 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001327/0.3916, allocations: 107.2 kB / 0.7287 GB, free: 7.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.623e-05/0.3917, allocations: 11.92 kB / 0.7287 GB, free: 7.828 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3917, allocations: 0 / 0.7287 GB, free: 7.828 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.035e-06/0.3917, allocations: 4 kB / 0.7287 GB, free: 7.824 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000109/0.3918, allocations: 0 / 0.7287 GB, free: 7.824 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001278/0.3919, allocations: 84.97 kB / 0.7288 GB, free: 7.715 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.3922, allocations: 0.6729 MB / 0.7294 GB, free: 7.016 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.605e-05/0.3922, allocations: 0 / 0.7294 GB, free: 7.016 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.186e-05/0.3922, allocations: 7.438 kB / 0.7295 GB, free: 7.008 MB / 0.545 GB Notification: Performance of SimCode: time 1.9e-07/0.3922, allocations: 0 / 0.7295 GB, free: 7.008 MB / 0.545 GB Notification: Performance of Templates: time 0.001674/0.3939, allocations: 304.6 kB / 0.7297 GB, free: 6.711 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)