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.01116/0.01116, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.002091/0.002091, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.592/1.592, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5039/0.5039, allocations: 95.48 MB / 365.4 MB, free: 12.18 MB / 318.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.00185/0.00185, allocations: 72.42 kB / 0.5036 GB, free: 11.82 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4797/0.4816, allocations: 69.08 MB / 0.5711 GB, free: 4.293 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001892/0.4835, allocations: 0.547 MB / 0.5716 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.4849, allocations: 0.9624 MB / 0.5726 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.485, allocations: 0 / 0.5726 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.485, allocations: 0 / 0.5726 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.746e-06/0.485, allocations: 0 / 0.5726 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.4854, allocations: 71.75 kB / 0.5726 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.252e-05/0.4855, allocations: 0 / 0.5726 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.817e-05/0.4855, allocations: 0 / 0.5726 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.893e-05/0.4856, allocations: 3.984 kB / 0.5727 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.826e-05/0.4856, allocations: 4 kB / 0.5727 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.998e-06/0.4856, allocations: 0 / 0.5727 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.4859, allocations: 91.89 kB / 0.5727 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.4859, allocations: 0 / 0.5727 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.27e-05/0.4859, allocations: 3.938 kB / 0.5727 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.4861, allocations: 51.94 kB / 0.5728 GB, free: 2.555 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.4861, allocations: 0 / 0.5728 GB, free: 2.555 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4861, allocations: 0 / 0.5728 GB, free: 2.555 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.4861, allocations: 0 / 0.5728 GB, free: 2.555 MB / 430.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.0003621/0.4865, allocations: 327.5 kB / 0.5731 GB, free: 2.188 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.4865, allocations: 11.98 kB / 0.5731 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.4866, allocations: 0.9375 kB / 0.5731 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.774e-05/0.4867, allocations: 164.4 kB / 0.5733 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.4867, allocations: 3.938 kB / 0.5733 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.4867, allocations: 4 kB / 0.5733 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.4868, allocations: 33.69 kB / 0.5733 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.4868, allocations: 0 / 0.5733 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.4869, allocations: 3.938 kB / 0.5733 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4869, allocations: 0 / 0.5733 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.766e-05/0.4869, allocations: 7.984 kB / 0.5733 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.4871, allocations: 145.6 kB / 0.5735 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.811e-05/0.4871, allocations: 26.55 kB / 0.5735 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.967e-05/0.4872, allocations: 8.859 kB / 0.5735 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005997/0.4878, allocations: 0.5584 MB / 0.574 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.4878, allocations: 30.56 kB / 0.5741 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.4878, allocations: 0 / 0.5741 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001396/0.488, allocations: 37.7 kB / 0.5741 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.488, allocations: 55.47 kB / 0.5742 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.946e-05/0.4881, allocations: 93.86 kB / 0.5743 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.4881, allocations: 25.7 kB / 0.5743 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.878e-05/0.4881, allocations: 80.14 kB / 0.5744 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.4882, allocations: 3.984 kB / 0.5744 GB, free: 0.625 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.4882, allocations: 13.72 kB / 0.5744 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4883, allocations: 318.8 kB / 0.5747 GB, free: 292 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.265e-05/0.4884, allocations: 0 / 0.5747 GB, free: 292 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-06/0.4884, allocations: 0 / 0.5747 GB, free: 292 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.002e-05/0.4884, allocations: 12.92 kB / 0.5747 GB, free: 276 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.4884, allocations: 3.938 kB / 0.5747 GB, free: 272 kB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.669e-05/0.4885, allocations: 33.7 kB / 0.5747 GB, free: 232 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.4885, allocations: 11.94 kB / 0.5747 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4885, allocations: 3.984 kB / 0.5747 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.4886, allocations: 0 / 0.5747 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.816e-05/0.4886, allocations: 0 / 0.5747 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.4886, allocations: 4 kB / 0.5747 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.232e-05/0.4886, allocations: 0 / 0.5747 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.4887, allocations: 4.031 kB / 0.5747 GB, free: 208 kB / 430.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.841e-05/0.4887, allocations: 115.5 kB / 0.5749 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-06/0.4888, allocations: 0 / 0.5749 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.4889, allocations: 40.81 kB / 0.5749 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.4889, allocations: 0 / 0.5749 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4889, allocations: 0 / 0.5749 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4889, allocations: 0 / 0.5749 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.489, allocations: 153.3 kB / 0.575 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.4891, allocations: 0 / 0.575 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.797e-05/0.4891, allocations: 4 kB / 0.575 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.4891, allocations: 3.938 kB / 0.575 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.4891, allocations: 3.984 kB / 0.5751 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4891, allocations: 3.984 kB / 0.5751 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.4891, allocations: 0 / 0.5751 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.982e-05/0.4892, allocations: 69.02 kB / 0.5751 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.4893, allocations: 77.11 kB / 0.5752 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.4893, allocations: 0 / 0.5752 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.249e-05/0.4893, allocations: 3.984 kB / 0.5752 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.4893, allocations: 4 kB / 0.5752 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-06/0.4893, allocations: 0 / 0.5752 GB, free: 15.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.194e-05/0.4894, allocations: 75.28 kB / 0.5753 GB, free: 15.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4894, allocations: 0 / 0.5753 GB, free: 15.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002101/0.4896, allocations: 8 kB / 0.5753 GB, free: 15.55 MB / 446.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 (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.000187/0.4898, allocations: 111.2 kB / 0.5754 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.188e-05/0.4899, allocations: 11.92 kB / 0.5754 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4899, allocations: 0 / 0.5754 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.362e-06/0.4899, allocations: 4 kB / 0.5754 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.4901, allocations: 7.219 kB / 0.5754 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002182/0.4903, allocations: 76.98 kB / 0.5755 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.4907, allocations: 0.6729 MB / 0.5761 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.395e-05/0.4907, allocations: 4.125 kB / 0.5761 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.4907, allocations: 7.438 kB / 0.5762 GB, free: 14.6 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.4907, allocations: 0 / 0.5762 GB, free: 14.6 MB / 446.1 MB Notification: Performance of Templates: time 0.002411/0.4931, allocations: 289.6 kB / 0.5764 GB, free: 14.32 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (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)