Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009184/0.0009184, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009358/0.0009358, allocations: 161.4 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9961/0.9961, allocations: 177.1 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.211/2.211, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 0.7753 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.267e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00155/0.001573, allocations: 0.6667 MB / 0.7759 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.003279, allocations: 1.317 MB / 0.7772 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.698e-05/0.003296, allocations: 0 / 0.7772 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.00331, allocations: 0 / 0.7772 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.797e-06/0.003319, allocations: 0 / 0.7772 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.00365, allocations: 69.66 kB / 0.7773 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.025e-05/0.00369, allocations: 0.75 kB / 0.7773 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.834e-05/0.003728, allocations: 4 kB / 0.7773 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.182e-05/0.00376, allocations: 7.125 kB / 0.7773 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.544e-05/0.003806, allocations: 3.984 kB / 0.7773 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.577e-06/0.003814, allocations: 0 / 0.7773 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.004085, allocations: 116.6 kB / 0.7774 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.686e-06/0.004093, allocations: 0 / 0.7774 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.347e-06/0.004103, allocations: 0 / 0.7774 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.004224, allocations: 75.42 kB / 0.7775 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004226, allocations: 0 / 0.7775 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.92e-07/0.004227, allocations: 0 / 0.7775 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.004231, allocations: 0 / 0.7775 GB, free: 3.07 MB / 0.7292 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.0002059/0.004437, allocations: 233.3 kB / 0.7777 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.004473, allocations: 9.344 kB / 0.7777 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.226e-05/0.004495, allocations: 0.9375 kB / 0.7777 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.18e-05/0.004557, allocations: 112.7 kB / 0.7778 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.004567, allocations: 1.469 kB / 0.7778 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-06/0.004573, allocations: 4.312 kB / 0.7778 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.969e-05/0.004642, allocations: 30.27 kB / 0.7778 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.004651, allocations: 192 / 0.7778 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-06/0.004657, allocations: 384 / 0.7778 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.004664, allocations: 3.938 kB / 0.7778 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.598e-06/0.004674, allocations: 0.5 kB / 0.7778 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.025e-05/0.004744, allocations: 61.05 kB / 0.7779 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.252e-05/0.004777, allocations: 15.36 kB / 0.7779 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.362e-05/0.00479, allocations: 13.42 kB / 0.7779 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001987/0.004989, allocations: 46.78 kB / 0.778 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.005007, allocations: 34.56 kB / 0.778 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.005008, allocations: 0 / 0.778 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 8.077e-05/0.005089, allocations: 34.52 kB / 0.778 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.005112, allocations: 51.41 kB / 0.7781 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.313e-05/0.005135, allocations: 91.16 kB / 0.7782 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.005143, allocations: 25.7 kB / 0.7782 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.847e-05/0.005162, allocations: 81.67 kB / 0.7783 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.005187, allocations: 7.984 kB / 0.7783 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-05/0.005206, allocations: 13.7 kB / 0.7783 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.388e-05/0.00528, allocations: 314.8 kB / 0.7786 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.412e-06/0.005286, allocations: 8.938 kB / 0.7786 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.899e-06/0.005291, allocations: 0.6562 kB / 0.7786 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.099e-05/0.005312, allocations: 10.52 kB / 0.7786 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.005313, allocations: 0 / 0.7786 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.367e-05/0.005347, allocations: 29.7 kB / 0.7786 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.005358, allocations: 8.891 kB / 0.7786 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.005362, allocations: 0 / 0.7786 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.005373, allocations: 1.906 kB / 0.7786 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.875e-05/0.005402, allocations: 4 kB / 0.7787 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-06/0.005404, allocations: 0 / 0.7787 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.714e-06/0.005412, allocations: 0 / 0.7787 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-06/0.005418, allocations: 13.61 kB / 0.7787 GB, free: 1.703 MB / 0.7292 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 4.391e-05/0.005462, allocations: 105.8 kB / 0.7788 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-06/0.005467, allocations: 4.766 kB / 0.7788 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.753e-05/0.005534, allocations: 42.25 kB / 0.7788 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.005536, allocations: 0 / 0.7788 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.005538, allocations: 4.656 kB / 0.7788 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.00554, allocations: 0 / 0.7788 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.454e-05/0.005585, allocations: 62.97 kB / 0.7789 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.005586, allocations: 0 / 0.7789 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.03e-05/0.005596, allocations: 4.656 kB / 0.7789 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.005597, allocations: 0.7188 kB / 0.7789 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-06/0.005601, allocations: 0 / 0.7789 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.005601, allocations: 0.9375 kB / 0.7789 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.005602, allocations: 0 / 0.7789 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.375e-05/0.005646, allocations: 65.53 kB / 0.7789 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-06/0.00565, allocations: 6.281 kB / 0.779 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-06/0.005656, allocations: 0 / 0.779 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.597e-06/0.005659, allocations: 0 / 0.779 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.005671, allocations: 11.97 kB / 0.779 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.005672, allocations: 0 / 0.779 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.03e-06/0.005677, allocations: 9.922 kB / 0.779 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005677, allocations: 0 / 0.779 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001137/0.005791, allocations: 15.94 kB / 0.779 GB, free: 1.328 MB / 0.7292 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.0001104/0.005902, allocations: 93.36 kB / 0.7791 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.601e-05/0.005948, allocations: 10.08 kB / 0.7791 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.00595, allocations: 0 / 0.7791 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.841e-06/0.005956, allocations: 13.83 kB / 0.7791 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.876e-05/0.006004, allocations: 7.875 kB / 0.7791 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001359/0.00614, allocations: 74.47 kB / 0.7792 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.565e-05/0.006166, allocations: 56.67 kB / 0.7792 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.65e-05/0.006182, allocations: 1.031 kB / 0.7792 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.006207, allocations: 47.38 kB / 0.7793 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of SimCode: time 6.02e-07/0.006208, allocations: 1.562 kB / 0.7793 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of Templates: time 0.00182/0.008028, allocations: 472.9 kB / 0.7797 GB, free: 0.5352 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.177167627029121]