Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.73/2.73, allocations: 287.3 MB / 302.3 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 189.3 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.361/2.361, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001196/0.001196, allocations: 90.06 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006319/0.000632, allocations: 18.17 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2105, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007053/0.2113, allocations: 317.8 kB / 0.9785 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.2126, allocations: 0.9468 MB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.383e-05/0.2126, allocations: 0 / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.919e-06/0.2127, allocations: 0 / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.272e-06/0.2127, allocations: 4 kB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.213, allocations: 39.83 kB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.225e-05/0.213, allocations: 3.984 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.2131, allocations: 4 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.449e-05/0.2131, allocations: 3.984 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.421e-05/0.2132, allocations: 0 / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.206e-06/0.2132, allocations: 0 / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.2134, allocations: 83.91 kB / 0.9796 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.995e-06/0.2134, allocations: 0 / 0.9796 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.2135, allocations: 33.64 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.913e-05/0.2136, allocations: 35.95 kB / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.2136, allocations: 0 / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2136, allocations: 0 / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.2136, allocations: 7.938 kB / 0.9796 GB, free: 26.89 MB / 0.6198 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.0002374/0.2138, allocations: 319.4 kB / 0.9799 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2139, allocations: 8.031 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.2139, allocations: 0 / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.671e-05/0.214, allocations: 163 kB / 0.9801 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.214, allocations: 0 / 0.9801 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.214, allocations: 7.984 kB / 0.9801 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.87e-05/0.2141, allocations: 29.7 kB / 0.9801 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.599e-06/0.2142, allocations: 4 kB / 0.9801 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.2142, allocations: 0 / 0.9801 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2142, allocations: 0 / 0.9801 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.286e-05/0.2142, allocations: 3.938 kB / 0.9801 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001135/0.2143, allocations: 153.6 kB / 0.9803 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.493e-05/0.2144, allocations: 14.58 kB / 0.9803 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000525/0.2149, allocations: 0.5662 MB / 0.9809 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.215, allocations: 34.56 kB / 0.9809 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.215, allocations: 0 / 0.9809 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001333/0.2151, allocations: 33.64 kB / 0.9809 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.2152, allocations: 51.41 kB / 0.981 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.145e-05/0.2152, allocations: 97.97 kB / 0.9811 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.2152, allocations: 25.7 kB / 0.9811 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.689e-05/0.2152, allocations: 84.08 kB / 0.9812 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.2153, allocations: 7.906 kB / 0.9812 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.2153, allocations: 4 kB / 0.9812 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.66e-05/0.2154, allocations: 310.8 kB / 0.9815 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.2154, allocations: 0 / 0.9815 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-06/0.2154, allocations: 0 / 0.9815 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.063e-05/0.2154, allocations: 8.062 kB / 0.9815 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2154, allocations: 0 / 0.9815 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.886e-05/0.2155, allocations: 33.66 kB / 0.9815 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.2155, allocations: 6.188 kB / 0.9815 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.2155, allocations: 3.984 kB / 0.9815 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.2156, allocations: 4 kB / 0.9815 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.467e-05/0.2156, allocations: 3.938 kB / 0.9815 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2156, allocations: 3.938 kB / 0.9815 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.492e-05/0.2157, allocations: 0 / 0.9815 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.2157, allocations: 0 / 0.9815 GB, free: 24.6 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.855e-05/0.2158, allocations: 117.9 kB / 0.9817 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.2158, allocations: 3.953 kB / 0.9817 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.2159, allocations: 36.81 kB / 0.9817 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2159, allocations: 0 / 0.9817 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.2159, allocations: 0 / 0.9817 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2159, allocations: 4 kB / 0.9817 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.181e-05/0.216, allocations: 142 kB / 0.9818 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.216, allocations: 4.031 kB / 0.9818 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.218e-05/0.2161, allocations: 4 kB / 0.9818 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2161, allocations: 7.953 kB / 0.9818 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.2161, allocations: 3.984 kB / 0.9819 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2161, allocations: 3.938 kB / 0.9819 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2161, allocations: 0 / 0.9819 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.328e-05/0.2162, allocations: 49.14 kB / 0.9819 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.862e-05/0.2162, allocations: 81.11 kB / 0.982 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.2162, allocations: 7.984 kB / 0.982 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.349e-05/0.2163, allocations: 3.984 kB / 0.982 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.2163, allocations: 3.984 kB / 0.982 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.2163, allocations: 0 / 0.982 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.657e-05/0.2163, allocations: 79.28 kB / 0.9821 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2163, allocations: 0 / 0.9821 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002417/0.2166, allocations: 8 kB / 0.9821 GB, free: 23.95 MB / 0.6198 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 (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.0001682/0.2168, allocations: 103.2 kB / 0.9822 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.983e-05/0.2168, allocations: 11.94 kB / 0.9822 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2169, allocations: 0 / 0.9822 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.191e-05/0.2169, allocations: 7.984 kB / 0.9822 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001083/0.217, allocations: 3.938 kB / 0.9822 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001784/0.2172, allocations: 74.7 kB / 0.9823 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.2173, allocations: 0.677 MB / 0.9829 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.358e-05/0.2174, allocations: 4.125 kB / 0.9829 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.523e-05/0.2174, allocations: 7.438 kB / 0.9829 GB, free: 23 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/0.2174, allocations: 0 / 0.9829 GB, free: 23 MB / 0.6198 GB Notification: Performance of Templates: time 0.002461/0.2199, allocations: 289.2 kB / 0.9832 GB, free: 22.72 MB / 0.6198 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)