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 1.682/1.682, allocations: 287.5 MB / 302.6 MB, free: 8.332 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.001277/0.001277, allocations: 177 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.4 MB / 0.6298 GB, free: 10.52 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.0008308/0.0008306, allocations: 84.23 kB / 0.7432 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004255, allocations: 13.92 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.227, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007826/0.2279, allocations: 323.5 kB / 0.979 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.2291, allocations: 0.9491 MB / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.801e-05/0.2292, allocations: 0 / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.297e-05/0.2292, allocations: 0 / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.937e-06/0.2292, allocations: 0 / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.2296, allocations: 43.89 kB / 0.98 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.99e-05/0.2296, allocations: 0 / 0.98 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.552e-05/0.2297, allocations: 0 / 0.98 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.937e-05/0.2297, allocations: 3.984 kB / 0.98 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.69e-05/0.2298, allocations: 4 kB / 0.98 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.898e-06/0.2298, allocations: 0 / 0.98 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.23, allocations: 91.84 kB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.23, allocations: 3.938 kB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.2301, allocations: 29.7 kB / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.599e-05/0.2302, allocations: 27.95 kB / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2302, allocations: 4 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2302, allocations: 4 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2302, allocations: 0 / 0.9801 GB, free: 26.68 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.0002837/0.2305, allocations: 323.6 kB / 0.9804 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.2306, allocations: 8.031 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.2306, allocations: 0.9375 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.541e-05/0.2307, allocations: 160.4 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.2307, allocations: 384 / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.2307, allocations: 4.375 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.2308, allocations: 34.25 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2309, allocations: 192 / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.2309, allocations: 3.938 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.2309, allocations: 0 / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.402e-05/0.2309, allocations: 7.938 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001369/0.2311, allocations: 149.6 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.273e-05/0.2311, allocations: 18.61 kB / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.983e-05/0.2312, allocations: 4.859 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005205/0.2317, allocations: 0.5662 MB / 0.9814 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.2317, allocations: 30.56 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.2317, allocations: 0 / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001636/0.2319, allocations: 37.58 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.2319, allocations: 55.41 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.484e-05/0.232, allocations: 89.98 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.232, allocations: 33.7 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.788e-05/0.232, allocations: 84.12 kB / 0.9817 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.2321, allocations: 3.906 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.2321, allocations: 0 / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.578e-05/0.2321, allocations: 310.8 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.547e-06/0.2322, allocations: 4 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-06/0.2322, allocations: 0 / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.019e-05/0.2322, allocations: 12.92 kB / 0.982 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2322, allocations: 0 / 0.982 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.44e-05/0.2323, allocations: 37.64 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2323, allocations: 4 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2323, allocations: 0 / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.2323, allocations: 7.922 kB / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.573e-05/0.2324, allocations: 4 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.2324, allocations: 0 / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.476e-05/0.2324, allocations: 0 / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.2325, allocations: 3.938 kB / 0.9821 GB, free: 24.36 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 5.88e-05/0.2325, allocations: 113.9 kB / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-06/0.2325, allocations: 0 / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.2326, allocations: 44.69 kB / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2327, allocations: 3.984 kB / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2327, allocations: 0 / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2327, allocations: 0 / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.987e-05/0.2327, allocations: 150 kB / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2328, allocations: 4.031 kB / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.713e-05/0.2328, allocations: 0 / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2328, allocations: 0 / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.2328, allocations: 11.88 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.2328, allocations: 3.984 kB / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2328, allocations: 0 / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.676e-05/0.2329, allocations: 53.14 kB / 0.9824 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.2329, allocations: 81.11 kB / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.2329, allocations: 11.97 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.027e-05/0.2329, allocations: 0 / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.233, allocations: 3.984 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.233, allocations: 3.938 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.683e-05/0.233, allocations: 75.28 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.233, allocations: 0 / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002188/0.2332, allocations: 8 kB / 0.9826 GB, free: 23.7 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.0001571/0.2334, allocations: 103.2 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.661e-05/0.2335, allocations: 8 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2335, allocations: 0 / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.264e-06/0.2335, allocations: 4 kB / 0.9827 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.2336, allocations: 3.984 kB / 0.9827 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001634/0.2338, allocations: 74.77 kB / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.2339, allocations: 0.6692 MB / 0.9834 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.426e-05/0.234, allocations: 12.11 kB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.36e-05/0.234, allocations: 7.438 kB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of SimCode: time 9.21e-07/0.234, allocations: 0 / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of Templates: time 0.002115/0.2361, allocations: 284.9 kB / 0.9837 GB, free: 22.49 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)