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.001093/0.001093, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001701/0.002795, allocations: 449.8 kB / 10.44 MB, free: 252 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.0008093/0.0008093, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001168/0.001978, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9869/0.9869, allocations: 177.2 MB / 189.8 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08912/1.076, allocations: 53.65 MB / 243.4 MB, free: 15.5 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.885/1.885, allocations: 390 MB / 0.6193 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5153/2.4, allocations: 127.1 MB / 0.7435 GB, free: 4.527 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.784e-06/1.784e-06, allocations: 0 / 0.7449 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/2.014e-05, allocations: 7.438 kB / 0.7449 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001291/0.001311, allocations: 0.641 MB / 0.7455 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.002434, allocations: 1.327 MB / 0.7468 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.088e-05/0.002445, allocations: 0 / 0.7468 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.416e-06/0.002448, allocations: 0 / 0.7468 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.42e-07/0.002449, allocations: 0 / 0.7468 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.00266, allocations: 65.88 kB / 0.7469 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.676e-05/0.002707, allocations: 4.547 kB / 0.7469 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.561e-05/0.002742, allocations: 6.094 kB / 0.7469 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.154e-05/0.002774, allocations: 0 / 0.7469 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.784e-05/0.002822, allocations: 4 kB / 0.7469 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.995e-06/0.00283, allocations: 2.422 kB / 0.7469 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002246/0.003054, allocations: 116.9 kB / 0.747 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.003065, allocations: 0 / 0.747 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.106e-05/0.003076, allocations: 4 kB / 0.747 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.003195, allocations: 65.56 kB / 0.7471 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.247e-05/0.003207, allocations: 4.656 kB / 0.7471 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003208, allocations: 0 / 0.7471 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.003219, allocations: 0.5625 kB / 0.7471 GB, free: 0.9414 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.000243/0.003462, allocations: 230.6 kB / 0.7473 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.755e-05/0.00349, allocations: 8.031 kB / 0.7473 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.003514, allocations: 4.938 kB / 0.7473 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.338e-05/0.003567, allocations: 105.8 kB / 0.7474 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.003575, allocations: 2.625 kB / 0.7474 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.003584, allocations: 4.375 kB / 0.7474 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.006e-05/0.003654, allocations: 38.19 kB / 0.7474 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.003661, allocations: 2.625 kB / 0.7474 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-06/0.003666, allocations: 384 / 0.7474 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.003672, allocations: 3.938 kB / 0.7474 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.067e-06/0.003681, allocations: 0.875 kB / 0.7474 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.256e-05/0.003744, allocations: 57.05 kB / 0.7475 GB, free: 444 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.888e-05/0.003772, allocations: 18.58 kB / 0.7475 GB, free: 416 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.448e-06/0.003782, allocations: 11.02 kB / 0.7475 GB, free: 404 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002/0.003982, allocations: 39.95 kB / 0.7476 GB, free: 364 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.004004, allocations: 34.56 kB / 0.7476 GB, free: 320 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.004005, allocations: 5.562 kB / 0.7476 GB, free: 316 kB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 8.043e-05/0.004085, allocations: 33.69 kB / 0.7476 GB, free: 276 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.004108, allocations: 52.39 kB / 0.7477 GB, free: 212 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.528e-05/0.004134, allocations: 92.61 kB / 0.7478 GB, free: 112 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.004144, allocations: 29.7 kB / 0.7478 GB, free: 76 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.004175, allocations: 80.14 kB / 0.7479 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.004202, allocations: 0 / 0.7479 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/0.004222, allocations: 9.719 kB / 0.7479 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.507e-05/0.004297, allocations: 322.8 kB / 0.7482 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-06/0.004305, allocations: 0 / 0.7482 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-06/0.00431, allocations: 3.438 kB / 0.7482 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.578e-05/0.004336, allocations: 18.31 kB / 0.7482 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.004337, allocations: 0 / 0.7482 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.205e-05/0.004369, allocations: 29.7 kB / 0.7482 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.004381, allocations: 4 kB / 0.7482 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.004384, allocations: 0 / 0.7482 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.004397, allocations: 0 / 0.7482 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.841e-05/0.004435, allocations: 4 kB / 0.7483 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.004437, allocations: 0.7188 kB / 0.7483 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.366e-06/0.004446, allocations: 0 / 0.7483 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.004452, allocations: 8.609 kB / 0.7483 GB, free: 15.58 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.896e-05/0.004501, allocations: 118.4 kB / 0.7484 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-06/0.004504, allocations: 0 / 0.7484 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.036e-05/0.004575, allocations: 38.7 kB / 0.7484 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.004576, allocations: 0 / 0.7484 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.004578, allocations: 0.6562 kB / 0.7484 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.004581, allocations: 4.953 kB / 0.7484 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.757e-05/0.004629, allocations: 65.84 kB / 0.7485 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.00463, allocations: 0 / 0.7485 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.748e-06/0.004639, allocations: 0.5938 kB / 0.7485 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-06/0.004643, allocations: 0.5938 kB / 0.7485 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.004645, allocations: 4.656 kB / 0.7485 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-06/0.004648, allocations: 1.156 kB / 0.7485 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.004649, allocations: 0 / 0.7485 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.004649, allocations: 0 / 0.7485 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.25e-05/0.004692, allocations: 61.78 kB / 0.7485 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.644e-06/0.0047, allocations: 8 kB / 0.7486 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.489e-06/0.004704, allocations: 2.188 kB / 0.7486 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.017e-05/0.004714, allocations: 0 / 0.7486 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.004717, allocations: 0 / 0.7486 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.105e-06/0.004725, allocations: 9.391 kB / 0.7486 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.004725, allocations: 0 / 0.7486 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001067/0.004832, allocations: 12.97 kB / 0.7486 GB, free: 15.22 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.0001185/0.00495, allocations: 102.9 kB / 0.7487 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.617e-05/0.004996, allocations: 4.859 kB / 0.7487 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.005, allocations: 4 kB / 0.7487 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.037e-06/0.005009, allocations: 6.484 kB / 0.7487 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.837e-05/0.005057, allocations: 15.5 kB / 0.7487 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001377/0.005195, allocations: 90.41 kB / 0.7488 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.386e-05/0.005219, allocations: 51.36 kB / 0.7488 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.71e-05/0.005236, allocations: 8.578 kB / 0.7488 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.005261, allocations: 53.56 kB / 0.7489 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of SimCode: time 7.12e-07/0.005262, allocations: 0 / 0.7489 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of Templates: time 0.001737/0.006998, allocations: 473.4 kB / 0.7493 GB, free: 14.4 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.896064234897494]