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.001018/0.001018, allocations: 88.8 kB / 21.63 MB, free: 2.828 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.001116/0.001116, allocations: 171.8 kB / 25.04 MB, free: 8.793 MB / 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.9805/0.9805, allocations: 177.2 MB / 205.5 MB, free: 4.426 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.959/1.959, allocations: 389.6 MB / 0.6363 GB, free: 13.3 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.784e-06/1.784e-06, allocations: 0 / 0.7762 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.515e-05, allocations: 6.25 kB / 0.7762 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00346/0.003485, allocations: 0.6543 MB / 0.7769 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.005057, allocations: 1.318 MB / 0.7781 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.799e-05/0.005075, allocations: 0 / 0.7781 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.005092, allocations: 8 kB / 0.7782 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.163e-06/0.005099, allocations: 0 / 0.7782 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.005429, allocations: 55.69 kB / 0.7782 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.211e-05/0.005472, allocations: 4 kB / 0.7782 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.005507, allocations: 3.938 kB / 0.7782 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.574e-05/0.005533, allocations: 0 / 0.7782 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.117e-05/0.005574, allocations: 7.984 kB / 0.7782 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.256e-06/0.005583, allocations: 0 / 0.7782 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.005868, allocations: 115.9 kB / 0.7783 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.095e-06/0.005876, allocations: 4 kB / 0.7783 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.013e-05/0.005886, allocations: 0 / 0.7783 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.006027, allocations: 79.73 kB / 0.7784 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.00603, allocations: 0 / 0.7784 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.443e-06/0.006032, allocations: 0 / 0.7784 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.006036, allocations: 0 / 0.7784 GB, free: 11.48 MB / 0.7448 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.0003834/0.00642, allocations: 228.6 kB / 0.7786 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.006457, allocations: 8.031 kB / 0.7786 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.559e-05/0.006483, allocations: 4.938 kB / 0.7786 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.818e-05/0.006551, allocations: 101.8 kB / 0.7787 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.006561, allocations: 384 / 0.7787 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.006571, allocations: 8.359 kB / 0.7787 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.707e-05/0.006638, allocations: 30.27 kB / 0.7788 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.006645, allocations: 192 / 0.7788 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.72e-06/0.006651, allocations: 4.312 kB / 0.7788 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.006657, allocations: 3.938 kB / 0.7788 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.464e-05/0.006671, allocations: 3.938 kB / 0.7788 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.218e-05/0.006734, allocations: 61.05 kB / 0.7788 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 2.755e-05/0.006761, allocations: 14.58 kB / 0.7789 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.528e-06/0.006771, allocations: 12.94 kB / 0.7789 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/0.006973, allocations: 51.95 kB / 0.7789 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.006991, allocations: 30.56 kB / 0.779 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.021e-06/0.006992, allocations: 0 / 0.779 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 7.876e-05/0.00707, allocations: 33.64 kB / 0.779 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.007099, allocations: 51.41 kB / 0.779 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.324e-05/0.007122, allocations: 89.86 kB / 0.7791 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.00713, allocations: 29.7 kB / 0.7791 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.779e-05/0.007147, allocations: 80.14 kB / 0.7792 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.007172, allocations: 12.41 kB / 0.7792 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.819e-05/0.00719, allocations: 13.7 kB / 0.7792 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.857e-05/0.007258, allocations: 318.8 kB / 0.7796 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-06/0.007264, allocations: 0 / 0.7796 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-06/0.00727, allocations: 4 kB / 0.7796 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.926e-05/0.007289, allocations: 8.859 kB / 0.7796 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.00729, allocations: 0 / 0.7796 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.338e-05/0.007324, allocations: 33.64 kB / 0.7796 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.007335, allocations: 4 kB / 0.7796 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.007339, allocations: 4.094 kB / 0.7796 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.007348, allocations: 3.984 kB / 0.7796 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.129e-05/0.007379, allocations: 4 kB / 0.7796 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.007381, allocations: 0 / 0.7796 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.502e-06/0.007388, allocations: 0 / 0.7796 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.007393, allocations: 3.938 kB / 0.7796 GB, free: 10.1 MB / 0.7448 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.671e-05/0.007439, allocations: 113.8 kB / 0.7797 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-06/0.007442, allocations: 0 / 0.7797 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.007507, allocations: 40.69 kB / 0.7798 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.007508, allocations: 0 / 0.7798 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.007512, allocations: 3.938 kB / 0.7798 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.007515, allocations: 0 / 0.7798 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.565e-05/0.00756, allocations: 65.84 kB / 0.7798 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.007561, allocations: 3.938 kB / 0.7798 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-06/0.007569, allocations: 0 / 0.7798 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.92e-07/0.00757, allocations: 0 / 0.7798 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-06/0.007574, allocations: 0 / 0.7798 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.007574, allocations: 0 / 0.7798 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.007575, allocations: 4 kB / 0.7798 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.987e-05/0.007615, allocations: 61.09 kB / 0.7799 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-06/0.007618, allocations: 0 / 0.7799 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.173e-06/0.007626, allocations: 4 kB / 0.7799 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.477e-06/0.007629, allocations: 0 / 0.7799 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.016e-05/0.007639, allocations: 4 kB / 0.7799 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-06/0.007641, allocations: 0 / 0.7799 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.003e-06/0.007648, allocations: 4.859 kB / 0.7799 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007648, allocations: 0 / 0.7799 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001046/0.007753, allocations: 19.86 kB / 0.7799 GB, free: 9.73 MB / 0.7448 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.0001152/0.007868, allocations: 96.42 kB / 0.78 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.751e-05/0.007915, allocations: 8.859 kB / 0.78 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.007918, allocations: 0 / 0.78 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.931e-06/0.007924, allocations: 8.859 kB / 0.78 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.398e-05/0.007978, allocations: 7.547 kB / 0.78 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001483/0.008126, allocations: 86.3 kB / 0.7801 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.762e-05/0.008154, allocations: 55.34 kB / 0.7802 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.039e-05/0.008174, allocations: 8.125 kB / 0.7802 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.008204, allocations: 51.38 kB / 0.7802 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of SimCode: time 6.92e-07/0.008205, allocations: 0 / 0.7802 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of Templates: time 0.001843/0.01005, allocations: 472.4 kB / 0.7807 GB, free: 8.895 MB / 0.7448 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.8117740750312805]