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.001338/0.001338, 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.001594/0.001594, allocations: 161 kB / 24.16 MB, free: 336 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.9592/0.9592, allocations: 177.2 MB / 204.6 MB, free: 5.496 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 1.894/1.894, allocations: 389.6 MB / 0.6354 GB, free: 12.32 MB / 0.6042 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.824e-06/1.824e-06, allocations: 0 / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.761e-05, allocations: 5.828 kB / 0.7752 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0014/0.001427, allocations: 0.6194 MB / 0.7758 GB, free: 4.777 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.002802, allocations: 1.323 MB / 0.7771 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.181e-05/0.002823, allocations: 4 kB / 0.7771 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.002839, allocations: 0 / 0.7771 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.875e-06/0.002847, allocations: 0 / 0.7771 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.003262, allocations: 71.77 kB / 0.7772 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.58e-05/0.003308, allocations: 4 kB / 0.7772 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.003346, allocations: 0 / 0.7772 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.181e-05/0.003378, allocations: 4.859 kB / 0.7772 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.188e-05/0.003429, allocations: 7.984 kB / 0.7772 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.00344, allocations: 0 / 0.7772 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.00367, allocations: 106.5 kB / 0.7773 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.827e-06/0.003679, allocations: 0 / 0.7773 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.315e-05/0.003692, allocations: 4 kB / 0.7773 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.003816, allocations: 72.55 kB / 0.7774 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003818, allocations: 0 / 0.7774 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003819, allocations: 0.75 kB / 0.7774 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.003822, allocations: 0 / 0.7774 GB, free: 3.188 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.0002132/0.004035, allocations: 231.4 kB / 0.7776 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.004068, allocations: 13.34 kB / 0.7776 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.196e-05/0.00409, allocations: 0.9375 kB / 0.7776 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.309e-05/0.004153, allocations: 106.9 kB / 0.7777 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.004162, allocations: 384 / 0.7777 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.00417, allocations: 7.125 kB / 0.7777 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.369e-05/0.004234, allocations: 26.27 kB / 0.7777 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.00424, allocations: 4.125 kB / 0.7777 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.004248, allocations: 4.359 kB / 0.7777 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.004253, allocations: 3.938 kB / 0.7777 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.129e-05/0.004264, allocations: 4 kB / 0.7778 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.999e-05/0.004334, allocations: 61.03 kB / 0.7778 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.576e-05/0.00437, allocations: 21.64 kB / 0.7778 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.083e-05/0.004381, allocations: 5.406 kB / 0.7778 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/0.004585, allocations: 44.03 kB / 0.7779 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.004602, allocations: 30.56 kB / 0.7779 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.004603, allocations: 0 / 0.7779 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 6.97e-05/0.004673, allocations: 38.41 kB / 0.7779 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.004697, allocations: 52.8 kB / 0.778 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.53e-05/0.004722, allocations: 93.86 kB / 0.7781 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.744e-06/0.00473, allocations: 26.61 kB / 0.7781 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.669e-05/0.004747, allocations: 80.14 kB / 0.7782 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.00477, allocations: 5.188 kB / 0.7782 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.004791, allocations: 17.7 kB / 0.7782 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.929e-05/0.004861, allocations: 314.8 kB / 0.7785 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.707e-06/0.004864, allocations: 1.562 kB / 0.7785 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.626e-06/0.004868, allocations: 0 / 0.7785 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.043e-05/0.004888, allocations: 17.31 kB / 0.7785 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.00489, allocations: 1.438 kB / 0.7785 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.63e-05/0.004916, allocations: 29.7 kB / 0.7786 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.004926, allocations: 4 kB / 0.7786 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.004931, allocations: 5.75 kB / 0.7786 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.797e-06/0.00494, allocations: 0 / 0.7786 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.74e-05/0.004967, allocations: 0 / 0.7786 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.004969, allocations: 0.5 kB / 0.7786 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-06/0.004975, allocations: 1.594 kB / 0.7786 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.00498, allocations: 3.938 kB / 0.7786 GB, free: 1.828 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.501e-05/0.005025, allocations: 114.6 kB / 0.7787 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-06/0.005028, allocations: 0 / 0.7787 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.795e-05/0.005086, allocations: 47.06 kB / 0.7787 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.005087, allocations: 0 / 0.7787 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.005088, allocations: 0 / 0.7787 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.005091, allocations: 0 / 0.7787 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.294e-05/0.005133, allocations: 71.58 kB / 0.7788 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.005135, allocations: 4.656 kB / 0.7788 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.069e-06/0.00514, allocations: 0 / 0.7788 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.005141, allocations: 0 / 0.7788 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-06/0.005144, allocations: 1.219 kB / 0.7788 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.005145, allocations: 4 kB / 0.7788 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.91e-07/0.005145, allocations: 0 / 0.7788 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.759e-05/0.005183, allocations: 62.2 kB / 0.7789 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-06/0.005191, allocations: 7.953 kB / 0.7789 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.081e-06/0.005197, allocations: 1.125 kB / 0.7789 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.626e-06/0.005201, allocations: 0 / 0.7789 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-06/0.005209, allocations: 0 / 0.7789 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.22e-07/0.00521, allocations: 1.281 kB / 0.7789 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.731e-06/0.005216, allocations: 4.859 kB / 0.7789 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005216, allocations: 0.5 kB / 0.7789 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001014/0.005317, allocations: 11.94 kB / 0.7789 GB, free: 1.457 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.0001037/0.005421, allocations: 98.64 kB / 0.779 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.081e-05/0.005462, allocations: 16.84 kB / 0.779 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.005464, allocations: 0 / 0.779 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.879e-06/0.005468, allocations: 9.859 kB / 0.779 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.874e-05/0.005507, allocations: 3.938 kB / 0.779 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001269/0.005634, allocations: 79.52 kB / 0.7791 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.454e-05/0.005659, allocations: 51.36 kB / 0.7791 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.481e-05/0.005673, allocations: 1.219 kB / 0.7791 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.005698, allocations: 51.38 kB / 0.7792 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of SimCode: time 3.11e-07/0.005698, allocations: 1.031 kB / 0.7792 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of Templates: time 0.001659/0.007357, allocations: 472.1 kB / 0.7796 GB, free: 0.6562 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: 5.016267842147499]