Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.621/1.621, allocations: 288.4 MB / 303.7 MB, free: 8.891 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.001077/0.001077, allocations: 170.6 kB / 372.3 MB, free: 6.453 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.431/1.431, allocations: 205.4 MB / 0.631 GB, free: 13.52 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007396/0.0007398, allocations: 87.94 kB / 0.7444 GB, free: 64.63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003824, allocations: 12 kB / 0.8675 GB, free: 0.6016 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2344, allocations: 115.3 MB / 0.9801 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0006973/0.2351, allocations: 319.5 kB / 0.9804 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.2367, allocations: 1.238 MB / 0.9817 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.307e-05/0.2367, allocations: 0 / 0.9817 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.078e-05/0.2367, allocations: 0 / 0.9817 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.573e-06/0.2367, allocations: 0 / 0.9817 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.2372, allocations: 51.83 kB / 0.9817 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 3.436e-05/0.2372, allocations: 0 / 0.9817 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.673e-05/0.2372, allocations: 4 kB / 0.9817 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 1.604e-05/0.2373, allocations: 7.938 kB / 0.9817 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.2373, allocations: 0 / 0.9817 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.394e-06/0.2373, allocations: 0 / 0.9817 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.2375, allocations: 87.89 kB / 0.9818 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.276e-06/0.2376, allocations: 0 / 0.9818 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.2376, allocations: 25.7 kB / 0.9818 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.104e-05/0.2377, allocations: 39.95 kB / 0.9819 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2377, allocations: 0 / 0.9819 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.073e-06/0.2377, allocations: 0 / 0.9819 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.2377, allocations: 0 / 0.9819 GB, free: 11.31 MB / 0.7136 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.0002663/0.238, allocations: 331.5 kB / 0.9822 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.238, allocations: 8.031 kB / 0.9822 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.2381, allocations: 0.9375 kB / 0.9822 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.601e-05/0.2382, allocations: 164.4 kB / 0.9823 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.2382, allocations: 384 / 0.9823 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.2382, allocations: 384 / 0.9823 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.151e-05/0.2383, allocations: 37.94 kB / 0.9824 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.2383, allocations: 0 / 0.9824 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.2383, allocations: 4 kB / 0.9824 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.2383, allocations: 4 kB / 0.9824 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.072e-05/0.2384, allocations: 3.984 kB / 0.9824 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.2385, allocations: 145.7 kB / 0.9825 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.606e-05/0.2386, allocations: 18.61 kB / 0.9825 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.084e-05/0.2386, allocations: 8.797 kB / 0.9826 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005349/0.2391, allocations: 0.5623 MB / 0.9831 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.2392, allocations: 38.5 kB / 0.9831 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.2392, allocations: 0 / 0.9831 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001327/0.2393, allocations: 33.7 kB / 0.9832 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.2393, allocations: 51.41 kB / 0.9832 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.885e-05/0.2394, allocations: 89.86 kB / 0.9833 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.2394, allocations: 25.7 kB / 0.9833 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.921e-05/0.2394, allocations: 84.27 kB / 0.9834 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.2395, allocations: 7.891 kB / 0.9834 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/0.2395, allocations: 0 / 0.9834 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2396, allocations: 318.8 kB / 0.9837 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.828e-06/0.2396, allocations: 0 / 0.9837 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-06/0.2396, allocations: 3.938 kB / 0.9837 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.371e-05/0.2397, allocations: 8.859 kB / 0.9837 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2397, allocations: 0 / 0.9837 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.253e-05/0.2397, allocations: 37.7 kB / 0.9838 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.2398, allocations: 11.94 kB / 0.9838 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2398, allocations: 0 / 0.9838 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.2398, allocations: 0 / 0.9838 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.657e-05/0.2398, allocations: 3.984 kB / 0.9838 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.2398, allocations: 0 / 0.9838 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.319e-05/0.2399, allocations: 3.938 kB / 0.9838 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.2399, allocations: 4 kB / 0.9838 GB, free: 8.984 MB / 0.7136 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 7.234e-05/0.2399, allocations: 113.8 kB / 0.9839 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-06/0.24, allocations: 7.969 kB / 0.9839 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.547e-05/0.2401, allocations: 36.81 kB / 0.9839 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.2401, allocations: 4 kB / 0.984 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2401, allocations: 0 / 0.984 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.2401, allocations: 0 / 0.984 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.407e-05/0.2402, allocations: 142 kB / 0.9841 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2402, allocations: 0 / 0.9841 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-05/0.2402, allocations: 4 kB / 0.9841 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2402, allocations: 7.969 kB / 0.9841 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.2402, allocations: 0 / 0.9841 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.2403, allocations: 3.984 kB / 0.9841 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2403, allocations: 0 / 0.9841 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.772e-05/0.2403, allocations: 65.08 kB / 0.9842 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.2404, allocations: 77.11 kB / 0.9842 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.2404, allocations: 3.938 kB / 0.9842 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-06/0.2404, allocations: 0 / 0.9842 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.2404, allocations: 8.016 kB / 0.9843 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.2404, allocations: 0 / 0.9843 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.996e-05/0.2405, allocations: 79.28 kB / 0.9843 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.2405, allocations: 0 / 0.9843 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002098/0.2407, allocations: 12 kB / 0.9843 GB, free: 8.324 MB / 0.7136 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.0001841/0.2409, allocations: 107.2 kB / 0.9844 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.368e-05/0.2409, allocations: 0 / 0.9844 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.241, allocations: 8.062 kB / 0.9844 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.546e-06/0.241, allocations: 3.938 kB / 0.9845 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.2411, allocations: 3.984 kB / 0.9845 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002205/0.2413, allocations: 82.7 kB / 0.9845 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.2416, allocations: 0.6692 MB / 0.9852 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.59e-05/0.2416, allocations: 3.984 kB / 0.9852 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.878e-05/0.2417, allocations: 11.44 kB / 0.9852 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of SimCode: time 3.41e-07/0.2417, allocations: 4.062 kB / 0.9852 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of Templates: time 0.002332/0.244, allocations: 283.8 kB / 0.9855 GB, free: 7.094 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)