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.0009437/0.0009437, allocations: 80.81 kB / 21.55 MB, free: 2.949 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.0009245/0.0009245, allocations: 165.3 kB / 24.96 MB, free: 8.652 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 1.107/1.107, allocations: 177.1 MB / 205.4 MB, free: 5.5 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.915/1.915, allocations: 389.6 MB / 0.6362 GB, free: 12.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 2.034e-06/2.034e-06, allocations: 0 / 0.776 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.504e-05/3.707e-05, allocations: 6.25 kB / 0.776 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001913/0.00195, allocations: 0.6676 MB / 0.7767 GB, free: 4.645 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.003652, allocations: 1.314 MB / 0.778 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.311e-05/0.003675, allocations: 0 / 0.778 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.438e-05/0.003699, allocations: 6.812 kB / 0.778 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.654e-06/0.003707, allocations: 0 / 0.778 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.004045, allocations: 65.22 kB / 0.778 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.568e-05/0.00409, allocations: 4.641 kB / 0.778 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.004134, allocations: 7.984 kB / 0.778 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.783e-05/0.004162, allocations: 0 / 0.778 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.039e-05/0.004203, allocations: 0.875 kB / 0.778 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.004213, allocations: 0.7188 kB / 0.778 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.004481, allocations: 116.6 kB / 0.7781 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.528e-06/0.004491, allocations: 0.6562 kB / 0.7781 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.09e-05/0.004502, allocations: 3.25 kB / 0.7782 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.004636, allocations: 80.66 kB / 0.7782 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.004638, allocations: 0 / 0.7782 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.112e-06/0.004639, allocations: 0 / 0.7782 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.004644, allocations: 0 / 0.7782 GB, free: 3.055 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.0002306/0.004875, allocations: 225.1 kB / 0.7784 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.004909, allocations: 9.344 kB / 0.7785 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.282e-05/0.004931, allocations: 0.9375 kB / 0.7785 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.306e-05/0.004994, allocations: 114.7 kB / 0.7786 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.005005, allocations: 3.875 kB / 0.7786 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-06/0.005011, allocations: 384 / 0.7786 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.726e-05/0.005088, allocations: 30.27 kB / 0.7786 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.005096, allocations: 192 / 0.7786 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.005103, allocations: 384 / 0.7786 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.005111, allocations: 3.938 kB / 0.7786 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.917e-06/0.00512, allocations: 0 / 0.7786 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.609e-05/0.005196, allocations: 57.05 kB / 0.7787 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.122e-05/0.005227, allocations: 27.27 kB / 0.7787 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.151e-05/0.005238, allocations: 9.984 kB / 0.7787 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/0.005455, allocations: 49.61 kB / 0.7787 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.005478, allocations: 34.56 kB / 0.7788 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.933e-06/0.00548, allocations: 0.6562 kB / 0.7788 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 8.767e-05/0.005567, allocations: 31.27 kB / 0.7788 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.005597, allocations: 51.41 kB / 0.7788 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.863e-05/0.005636, allocations: 90.73 kB / 0.7789 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.005646, allocations: 25.7 kB / 0.779 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.504e-05/0.005672, allocations: 88.12 kB / 0.779 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.005709, allocations: 4.594 kB / 0.779 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.00573, allocations: 10.81 kB / 0.7791 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.068e-05/0.005821, allocations: 318.8 kB / 0.7794 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-06/0.005828, allocations: 0 / 0.7794 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-06/0.005833, allocations: 1.75 kB / 0.7794 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.251e-05/0.005855, allocations: 10.06 kB / 0.7794 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.005856, allocations: 0 / 0.7794 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.903e-05/0.005896, allocations: 35.28 kB / 0.7794 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.005907, allocations: 4 kB / 0.7794 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.005912, allocations: 0 / 0.7794 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.005922, allocations: 0 / 0.7794 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.818e-05/0.00596, allocations: 7.938 kB / 0.7794 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.005963, allocations: 0.8125 kB / 0.7794 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.454e-06/0.00597, allocations: 0 / 0.7794 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.005975, allocations: 4.844 kB / 0.7794 GB, free: 1.699 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.843e-05/0.006024, allocations: 109.8 kB / 0.7795 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-06/0.006027, allocations: 5.078 kB / 0.7795 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.048e-05/0.006097, allocations: 38.91 kB / 0.7796 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.006099, allocations: 0 / 0.7796 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.006101, allocations: 3.984 kB / 0.7796 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.006104, allocations: 1.469 kB / 0.7796 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.848e-05/0.006153, allocations: 66.61 kB / 0.7796 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.006155, allocations: 4 kB / 0.7796 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.037e-05/0.006165, allocations: 0 / 0.7796 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.006167, allocations: 1.125 kB / 0.7796 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.006172, allocations: 3.984 kB / 0.7796 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.006172, allocations: 0 / 0.7796 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.006173, allocations: 1.062 kB / 0.7796 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.704e-05/0.00622, allocations: 65.66 kB / 0.7797 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-06/0.006226, allocations: 4.453 kB / 0.7797 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.081e-06/0.006232, allocations: 0.75 kB / 0.7797 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.161e-06/0.006238, allocations: 7.984 kB / 0.7797 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.063e-05/0.006249, allocations: 1.031 kB / 0.7797 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.006253, allocations: 4 kB / 0.7797 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.641e-06/0.006259, allocations: 5.516 kB / 0.7797 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006259, allocations: 0.9688 kB / 0.7797 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001043/0.006363, allocations: 11.94 kB / 0.7797 GB, free: 1.324 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.0001342/0.006497, allocations: 89.89 kB / 0.7798 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.23e-05/0.006559, allocations: 13.48 kB / 0.7798 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.006562, allocations: 0.7812 kB / 0.7798 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.551e-06/0.006567, allocations: 8.859 kB / 0.7799 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.972e-05/0.006617, allocations: 5.062 kB / 0.7799 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001447/0.006762, allocations: 82.47 kB / 0.7799 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.566e-05/0.006787, allocations: 52.8 kB / 0.78 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.608e-05/0.006803, allocations: 0.6562 kB / 0.78 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.006836, allocations: 48.88 kB / 0.78 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of SimCode: time 1.002e-06/0.006837, allocations: 4 kB / 0.78 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of Templates: time 0.001937/0.008774, allocations: 468.6 kB / 0.7805 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 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.997426599264145]