Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.516/1.516, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009758/0.0009757, allocations: 184.9 kB / 327.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205.4 MB / 0.5786 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009216/0.0009218, allocations: 81.5 kB / 0.6832 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.0004679, allocations: 11.28 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2533, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007643/0.2541, allocations: 330.3 kB / 0.9018 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.2557, allocations: 1.27 MB / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.116e-05/0.2557, allocations: 4 kB / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.656e-05/0.2557, allocations: 4 kB / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.26e-06/0.2557, allocations: 0 / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.2561, allocations: 43.88 kB / 0.9031 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.703e-05/0.2561, allocations: 7.984 kB / 0.9031 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.658e-05/0.2562, allocations: 0 / 0.9031 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.553e-05/0.2562, allocations: 0 / 0.9031 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.157e-05/0.2563, allocations: 8 kB / 0.9031 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.2563, allocations: 0 / 0.9031 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.2565, allocations: 103.8 kB / 0.9032 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.2565, allocations: 0 / 0.9032 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.2565, allocations: 25.7 kB / 0.9032 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.154e-05/0.2566, allocations: 35.95 kB / 0.9032 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2567, allocations: 4 kB / 0.9032 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2567, allocations: 0 / 0.9032 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2567, allocations: 0 / 0.9032 GB, free: 61.64 MB / 0.6042 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.0002431/0.2569, allocations: 319.6 kB / 0.9036 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.257, allocations: 8.031 kB / 0.9036 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.257, allocations: 4.844 kB / 0.9036 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.468e-05/0.2571, allocations: 164.4 kB / 0.9037 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.2571, allocations: 384 / 0.9037 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-06/0.2571, allocations: 4.375 kB / 0.9037 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.4e-05/0.2572, allocations: 34.02 kB / 0.9038 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.2572, allocations: 0 / 0.9038 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.2572, allocations: 3.938 kB / 0.9038 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.2572, allocations: 3.984 kB / 0.9038 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.058e-05/0.2573, allocations: 4 kB / 0.9038 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.2574, allocations: 145.7 kB / 0.9039 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.509e-05/0.2574, allocations: 18.61 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/0.2575, allocations: 4.859 kB / 0.9039 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000502/0.258, allocations: 0.5623 MB / 0.9045 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.258, allocations: 34.5 kB / 0.9045 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.258, allocations: 7.938 kB / 0.9045 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.000132/0.2581, allocations: 41.64 kB / 0.9046 GB, free: 60 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.2582, allocations: 51.41 kB / 0.9046 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.169e-05/0.2582, allocations: 89.86 kB / 0.9047 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.914e-06/0.2582, allocations: 29.64 kB / 0.9047 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.537e-05/0.2582, allocations: 84.14 kB / 0.9048 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.2583, allocations: 0 / 0.9048 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/0.2583, allocations: 0 / 0.9048 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.787e-05/0.2583, allocations: 319 kB / 0.9051 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-06/0.2584, allocations: 4 kB / 0.9051 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.609e-06/0.2584, allocations: 0 / 0.9051 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.339e-05/0.2584, allocations: 12.8 kB / 0.9051 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.2584, allocations: 0 / 0.9051 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.147e-05/0.2585, allocations: 33.7 kB / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.2585, allocations: 7.938 kB / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2585, allocations: 0 / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2585, allocations: 4 kB / 0.9052 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.517e-05/0.2586, allocations: 4.094 kB / 0.9052 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.2586, allocations: 0 / 0.9052 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.229e-05/0.2586, allocations: 3.984 kB / 0.9052 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.2586, allocations: 0 / 0.9052 GB, free: 59.32 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/0.2587, allocations: 109.8 kB / 0.9053 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-06/0.2587, allocations: 3.938 kB / 0.9053 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.184e-05/0.2588, allocations: 44.77 kB / 0.9053 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2588, allocations: 0 / 0.9053 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.2588, allocations: 7.984 kB / 0.9053 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.2588, allocations: 0 / 0.9053 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.738e-05/0.2588, allocations: 141.7 kB / 0.9055 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2588, allocations: 4 kB / 0.9055 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.309e-05/0.2589, allocations: 0 / 0.9055 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2589, allocations: 7.938 kB / 0.9055 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.2589, allocations: 0 / 0.9055 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.2589, allocations: 0 / 0.9055 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2589, allocations: 3.984 kB / 0.9055 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.397e-05/0.259, allocations: 65.16 kB / 0.9055 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.247e-05/0.259, allocations: 81.05 kB / 0.9056 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.259, allocations: 3.938 kB / 0.9056 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-06/0.259, allocations: 0 / 0.9056 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.259, allocations: 0 / 0.9056 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-06/0.259, allocations: 0 / 0.9056 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.766e-05/0.2591, allocations: 79.22 kB / 0.9057 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2591, allocations: 4.031 kB / 0.9057 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001955/0.2593, allocations: 15.92 kB / 0.9057 GB, free: 58.66 MB / 0.6042 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 (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.0001567/0.2594, allocations: 99.25 kB / 0.9058 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.488e-05/0.2595, allocations: 4 kB / 0.9058 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2595, allocations: 0 / 0.9058 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.763e-06/0.2595, allocations: 4 kB / 0.9058 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.2597, allocations: 9.438 kB / 0.9058 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001664/0.2598, allocations: 112.4 kB / 0.9059 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.26, allocations: 0.6692 MB / 0.9066 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.259e-05/0.26, allocations: 7.438 kB / 0.9066 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of SimCode: time 8.12e-07/0.26, allocations: 0 / 0.9066 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.001585/0.2616, allocations: 422.7 kB / 0.907 GB, free: 57.29 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)