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.0006748/0.0006748, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008791/0.001554, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006835/0.0006835, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000914/0.001598, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9554/0.9554, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08786/1.043, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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 1.895/1.895, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5096/2.404, allocations: 127.1 MB / 0.7432 GB, free: 4.59 MB / 0.7136 GB " [Timeout remaining time 178] 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.362e-06/1.362e-06, allocations: 0.7656 kB / 0.7445 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.867e-05, allocations: 5.734 kB / 0.7445 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001424/0.001442, allocations: 0.6451 MB / 0.7452 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.00287, allocations: 1.328 MB / 0.7465 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.076e-05/0.002881, allocations: 0 / 0.7465 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.318e-06/0.002885, allocations: 0 / 0.7465 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 1.022e-06/0.002886, allocations: 0 / 0.7465 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.003114, allocations: 65.86 kB / 0.7465 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 3.894e-05/0.003153, allocations: 0 / 0.7465 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/0.003191, allocations: 5.828 kB / 0.7465 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.18e-05/0.003223, allocations: 0.6562 kB / 0.7465 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.998e-05/0.003263, allocations: 0 / 0.7465 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.003273, allocations: 4 kB / 0.7465 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002613/0.003534, allocations: 114.1 kB / 0.7467 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.316e-06/0.003543, allocations: 0.6562 kB / 0.7467 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.006e-05/0.003553, allocations: 0.875 kB / 0.7467 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.003697, allocations: 72.73 kB / 0.7467 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.478e-05/0.003712, allocations: 0.5938 kB / 0.7467 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003712, allocations: 5.5 kB / 0.7467 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.003726, allocations: 0 / 0.7467 GB, free: 1.02 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.0002586/0.003985, allocations: 230.1 kB / 0.7469 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.004017, allocations: 8.031 kB / 0.747 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.365e-05/0.00404, allocations: 1.906 kB / 0.747 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.52e-05/0.004095, allocations: 105.8 kB / 0.7471 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.004104, allocations: 384 / 0.7471 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-06/0.00411, allocations: 0.9688 kB / 0.7471 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.972e-05/0.00418, allocations: 38.83 kB / 0.7471 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.004186, allocations: 0.8438 kB / 0.7471 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.004193, allocations: 4.375 kB / 0.7471 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.004199, allocations: 4.5 kB / 0.7471 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.351e-05/0.004212, allocations: 5.469 kB / 0.7471 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.056e-05/0.004283, allocations: 57.05 kB / 0.7472 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.215e-05/0.004315, allocations: 19.44 kB / 0.7472 GB, free: 496 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.217e-05/0.004327, allocations: 8.953 kB / 0.7472 GB, free: 484 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002369/0.004564, allocations: 45.98 kB / 0.7472 GB, free: 440 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.004586, allocations: 30.56 kB / 0.7473 GB, free: 400 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.004587, allocations: 2.438 kB / 0.7473 GB, free: 400 kB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 8.868e-05/0.004675, allocations: 33.64 kB / 0.7473 GB, free: 360 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.004703, allocations: 51.41 kB / 0.7474 GB, free: 296 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.984e-05/0.004733, allocations: 89.86 kB / 0.7474 GB, free: 196 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.445e-06/0.004742, allocations: 26.36 kB / 0.7475 GB, free: 164 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.317e-05/0.004765, allocations: 84.14 kB / 0.7475 GB, free: 76 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.004789, allocations: 1.75 kB / 0.7475 GB, free: 76 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.004811, allocations: 9.719 kB / 0.7476 GB, free: 60 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.004914, allocations: 322.8 kB / 0.7479 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.761e-06/0.00492, allocations: 0 / 0.7479 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-06/0.004926, allocations: 2.719 kB / 0.7479 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.412e-05/0.00495, allocations: 12.84 kB / 0.7479 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.004952, allocations: 0 / 0.7479 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.779e-05/0.005, allocations: 37.64 kB / 0.7479 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.005012, allocations: 4.938 kB / 0.7479 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.005016, allocations: 2.75 kB / 0.7479 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-06/0.005023, allocations: 0.875 kB / 0.7479 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.386e-05/0.005067, allocations: 7.984 kB / 0.7479 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.005069, allocations: 0 / 0.7479 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.598e-06/0.005079, allocations: 0 / 0.7479 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.005085, allocations: 3.938 kB / 0.7479 GB, free: 15.66 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 5.259e-05/0.005137, allocations: 112.8 kB / 0.748 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-06/0.005142, allocations: 0 / 0.748 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.537e-05/0.005208, allocations: 40.62 kB / 0.7481 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.00521, allocations: 4.984 kB / 0.7481 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.005212, allocations: 0 / 0.7481 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.005214, allocations: 0 / 0.7481 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.281e-05/0.005267, allocations: 66.47 kB / 0.7481 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.005268, allocations: 4 kB / 0.7481 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.085e-05/0.005279, allocations: 0.6875 kB / 0.7481 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-06/0.005283, allocations: 0 / 0.7481 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.005284, allocations: 0.5312 kB / 0.7482 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-06/0.005287, allocations: 4.625 kB / 0.7482 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.005289, allocations: 4.75 kB / 0.7482 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.00529, allocations: 0.7812 kB / 0.7482 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.697e-05/0.005337, allocations: 57.7 kB / 0.7482 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-06/0.005344, allocations: 4 kB / 0.7482 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.791e-06/0.00535, allocations: 0.9062 kB / 0.7482 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-06/0.00536, allocations: 0 / 0.7482 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.005362, allocations: 3.938 kB / 0.7482 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.883e-06/0.005369, allocations: 6.953 kB / 0.7482 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.005369, allocations: 0 / 0.7482 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001556/0.005525, allocations: 15.92 kB / 0.7482 GB, free: 15.29 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.0001176/0.005642, allocations: 89.28 kB / 0.7483 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.752e-05/0.00569, allocations: 10.86 kB / 0.7483 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.005694, allocations: 5.188 kB / 0.7483 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.4e-06/0.0057, allocations: 8.859 kB / 0.7484 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.776e-05/0.005747, allocations: 5 kB / 0.7484 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001457/0.005893, allocations: 90.41 kB / 0.7484 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.661e-05/0.00592, allocations: 51.36 kB / 0.7485 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.923e-05/0.005939, allocations: 9.234 kB / 0.7485 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.005965, allocations: 48.97 kB / 0.7485 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of SimCode: time 7.21e-07/0.005966, allocations: 3.938 kB / 0.7486 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of Templates: time 0.002025/0.007991, allocations: 469.7 kB / 0.749 GB, free: 14.49 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 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.83825762104243]