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.594/1.594, allocations: 288.4 MB / 304.3 MB, free: 7.98 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.001038/0.001038, allocations: 198.8 kB / 373 MB, free: 10.12 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.458/1.458, allocations: 205.4 MB / 0.6317 GB, free: 9.914 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.0007098/0.0007099, allocations: 98.28 kB / 0.745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004605/0.0004605, allocations: 14.72 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2319, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5687/0.8006, allocations: 138.3 MB / 1.116 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001744/0.8008, allocations: 85.56 kB / 1.116 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004381/0.8052, allocations: 1.658 MB / 1.118 GB, free: 31.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8052, allocations: 7.781 kB / 1.118 GB, free: 31.99 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.8052, allocations: 3.625 kB / 1.118 GB, free: 31.99 MB / 0.698 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.0002152/0.8054, allocations: 326.7 kB / 1.118 GB, free: 31.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.8055, allocations: 11.75 kB / 1.118 GB, free: 31.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.8055, allocations: 0.9375 kB / 1.118 GB, free: 31.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.402e-05/0.8056, allocations: 164.3 kB / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.8056, allocations: 384 / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.8056, allocations: 384 / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.897e-05/0.8057, allocations: 38.22 kB / 1.118 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.8057, allocations: 7.219 kB / 1.118 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.8058, allocations: 7.625 kB / 1.118 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.8058, allocations: 3.938 kB / 1.118 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.739e-05/0.8058, allocations: 3.844 kB / 1.118 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001291/0.8059, allocations: 141.7 kB / 1.118 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.018e-05/0.806, allocations: 14.58 kB / 1.118 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/0.806, allocations: 11.64 kB / 1.118 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003972/0.8064, allocations: 0.5637 MB / 1.119 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.8064, allocations: 30.56 kB / 1.119 GB, free: 30.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.8064, allocations: 0 / 1.119 GB, free: 30.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 7.995e-05/0.8065, allocations: 47.95 kB / 1.119 GB, free: 30.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.8065, allocations: 51.41 kB / 1.119 GB, free: 30.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.382e-05/0.8066, allocations: 89.98 kB / 1.119 GB, free: 30.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.8066, allocations: 29.7 kB / 1.119 GB, free: 30.22 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.378e-05/0.8066, allocations: 80.14 kB / 1.119 GB, free: 30.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.8067, allocations: 0.625 kB / 1.119 GB, free: 30.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.8067, allocations: 0 / 1.119 GB, free: 30.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.8068, allocations: 310.8 kB / 1.119 GB, free: 29.83 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.407e-06/0.8068, allocations: 3.938 kB / 1.119 GB, free: 29.83 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-06/0.8068, allocations: 3.422 kB / 1.119 GB, free: 29.83 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.097e-05/0.8068, allocations: 16.77 kB / 1.119 GB, free: 29.81 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.8069, allocations: 0 / 1.119 GB, free: 29.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.435e-05/0.8069, allocations: 33.48 kB / 1.119 GB, free: 29.78 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.8069, allocations: 5.562 kB / 1.119 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.8069, allocations: 3.906 kB / 1.119 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.8069, allocations: 3.938 kB / 1.119 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.492e-05/0.807, allocations: 0 / 1.119 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.807, allocations: 3.328 kB / 1.119 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.054e-05/0.807, allocations: 0 / 1.119 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.807, allocations: 3.938 kB / 1.119 GB, free: 29.78 MB / 0.698 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.582e-05/0.8071, allocations: 111.4 kB / 1.12 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-06/0.8071, allocations: 0 / 1.12 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.339e-05/0.8072, allocations: 54.78 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.8072, allocations: 3.844 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.8072, allocations: 0 / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.8072, allocations: 0 / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.965e-05/0.8073, allocations: 148.8 kB / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8073, allocations: 4.031 kB / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.344e-05/0.8073, allocations: 7.812 kB / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.8073, allocations: 0 / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.8073, allocations: 3.938 kB / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.8073, allocations: 0 / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8073, allocations: 0 / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.298e-05/0.8074, allocations: 59.64 kB / 1.12 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.8074, allocations: 77.11 kB / 1.12 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.8075, allocations: 11.91 kB / 1.12 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.027e-05/0.8075, allocations: 0.875 kB / 1.12 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/0.8075, allocations: 0 / 1.12 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.8075, allocations: 3.812 kB / 1.12 GB, free: 29.24 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.618e-05/0.8075, allocations: 78.09 kB / 1.12 GB, free: 29.17 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8075, allocations: 0 / 1.12 GB, free: 29.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001786/0.8077, allocations: 7.844 kB / 1.12 GB, free: 29.16 MB / 0.698 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.0001359/0.8079, allocations: 102.2 kB / 1.12 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.121e-05/0.8079, allocations: 10.86 kB / 1.12 GB, free: 29.07 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8079, allocations: 0 / 1.12 GB, free: 29.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.535e-06/0.808, allocations: 7.906 kB / 1.12 GB, free: 29.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001179/0.8081, allocations: 2.375 kB / 1.12 GB, free: 29.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001414/0.8082, allocations: 71.14 kB / 1.12 GB, free: 28.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.8085, allocations: 0.68 MB / 1.121 GB, free: 28.28 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.988e-05/0.8085, allocations: 4.125 kB / 1.121 GB, free: 28.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.245e-05/0.8085, allocations: 7.438 kB / 1.121 GB, free: 28.27 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.8085, allocations: 3.938 kB / 1.121 GB, free: 28.27 MB / 0.698 GB Notification: Performance of Templates: time 0.00181/0.8103, allocations: 278.8 kB / 1.121 GB, free: 28.22 MB / 0.698 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)