Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009181/0.0009186, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.0009407/0.0009407, allocations: 176.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.4 MB / 222.1 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.7176/0.7176, allocations: 95.63 MB / 366 MB, free: 10.41 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008578/0.0008579, allocations: 19.91 kB / 446.9 MB, free: 9.398 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3983, allocations: 70.33 MB / 0.5051 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.000687/0.399, allocations: 273 kB / 0.5053 GB, free: 16.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009662/0.4, allocations: 0.9364 MB / 0.5063 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.625e-05/0.4, allocations: 0 / 0.5063 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.391e-05/0.4, allocations: 0 / 0.5063 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.674e-06/0.4001, allocations: 0 / 0.5063 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.4003, allocations: 43.89 kB / 0.5063 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.357e-05/0.4004, allocations: 0 / 0.5063 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.904e-05/0.4005, allocations: 4 kB / 0.5063 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.658e-05/0.4005, allocations: 4 kB / 0.5063 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.835e-05/0.4005, allocations: 3.984 kB / 0.5063 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.105e-06/0.4005, allocations: 0 / 0.5063 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.4007, allocations: 91.89 kB / 0.5064 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.4008, allocations: 7.938 kB / 0.5064 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.4008, allocations: 25.7 kB / 0.5064 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.511e-05/0.4009, allocations: 23.97 kB / 0.5064 GB, free: 15.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.4009, allocations: 0 / 0.5064 GB, free: 15.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.4009, allocations: 0 / 0.5064 GB, free: 15.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.4009, allocations: 0 / 0.5064 GB, free: 15.08 MB / 382.1 MB 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.0002809/0.4012, allocations: 331.4 kB / 0.5068 GB, free: 14.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.4013, allocations: 15.98 kB / 0.5068 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.4013, allocations: 0 / 0.5068 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.167e-05/0.4014, allocations: 159.1 kB / 0.5069 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.4014, allocations: 3.984 kB / 0.5069 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.4014, allocations: 3.938 kB / 0.5069 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.87e-05/0.4015, allocations: 33.66 kB / 0.507 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.4015, allocations: 0 / 0.507 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.4015, allocations: 0 / 0.507 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4016, allocations: 4 kB / 0.507 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.076e-05/0.4016, allocations: 3.938 kB / 0.507 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.4017, allocations: 149.7 kB / 0.5071 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.025e-05/0.4018, allocations: 18.61 kB / 0.5071 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.411e-05/0.4018, allocations: 4.859 kB / 0.5071 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004255/0.4022, allocations: 0.5662 MB / 0.5077 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.4022, allocations: 38.52 kB / 0.5077 GB, free: 13.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.4022, allocations: 0 / 0.5077 GB, free: 13.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001275/0.4024, allocations: 37.55 kB / 0.5078 GB, free: 13.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.4024, allocations: 55.34 kB / 0.5078 GB, free: 13.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.998e-05/0.4024, allocations: 89.86 kB / 0.5079 GB, free: 13.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.4025, allocations: 25.7 kB / 0.5079 GB, free: 13.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.378e-05/0.4025, allocations: 80.27 kB / 0.508 GB, free: 13.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.4025, allocations: 11.98 kB / 0.508 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-06/0.4025, allocations: 4 kB / 0.508 GB, free: 13.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.092e-05/0.4026, allocations: 314.8 kB / 0.5083 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-06/0.4026, allocations: 0 / 0.5083 GB, free: 12.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-06/0.4026, allocations: 3.984 kB / 0.5083 GB, free: 12.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.583e-05/0.4026, allocations: 4 kB / 0.5083 GB, free: 12.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.4026, allocations: 0 / 0.5083 GB, free: 12.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.026e-05/0.4027, allocations: 33.64 kB / 0.5084 GB, free: 12.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.4027, allocations: 8.094 kB / 0.5084 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4027, allocations: 0 / 0.5084 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.4027, allocations: 7.953 kB / 0.5084 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.422e-05/0.4028, allocations: 4 kB / 0.5084 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4028, allocations: 0 / 0.5084 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.087e-05/0.4028, allocations: 0 / 0.5084 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.4028, allocations: 0 / 0.5084 GB, free: 12.75 MB / 382.1 MB 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 5.255e-05/0.4029, allocations: 117.8 kB / 0.5085 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-06/0.4029, allocations: 0 / 0.5085 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.623e-05/0.4029, allocations: 40.78 kB / 0.5085 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.403, allocations: 3.953 kB / 0.5085 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.403, allocations: 3.938 kB / 0.5085 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.403, allocations: 4 kB / 0.5085 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.534e-05/0.403, allocations: 145.7 kB / 0.5087 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.403, allocations: 0 / 0.5087 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.297e-05/0.4031, allocations: 3.938 kB / 0.5087 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4031, allocations: 4 kB / 0.5087 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.4031, allocations: 4.031 kB / 0.5087 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.4031, allocations: 0 / 0.5087 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.4031, allocations: 3.953 kB / 0.5087 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.884e-05/0.4031, allocations: 57.12 kB / 0.5088 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.974e-05/0.4032, allocations: 83.08 kB / 0.5088 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.4032, allocations: 0 / 0.5088 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.398e-06/0.4032, allocations: 0 / 0.5088 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.094e-05/0.4032, allocations: 0 / 0.5088 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.4032, allocations: 7.984 kB / 0.5088 GB, free: 12.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.176e-05/0.4032, allocations: 75.28 kB / 0.5089 GB, free: 12.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4032, allocations: 0 / 0.5089 GB, free: 12.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.4035, allocations: 12 kB / 0.5089 GB, free: 12.1 MB / 382.1 MB 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.0001426/0.4036, allocations: 103.2 kB / 0.509 GB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.08e-05/0.4037, allocations: 11.88 kB / 0.509 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4037, allocations: 0 / 0.509 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.4e-06/0.4037, allocations: 4.062 kB / 0.509 GB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.4038, allocations: 4 kB / 0.509 GB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001543/0.404, allocations: 74.91 kB / 0.5091 GB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.4041, allocations: 0.6692 MB / 0.5098 GB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.167e-05/0.4042, allocations: 11.92 kB / 0.5098 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.128e-05/0.4042, allocations: 7.438 kB / 0.5098 GB, free: 11.16 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.4042, allocations: 0 / 0.5098 GB, free: 11.16 MB / 382.1 MB Notification: Performance of Templates: time 0.002294/0.4065, allocations: 287.8 kB / 0.5101 GB, free: 10.88 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) Environment - environmentSimulation: