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.001823/0.001823, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.001925/0.001925, allocations: 218.3 kB / 23.02 MB, free: 2.945 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 1.659/1.659, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 178] 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 3.321/3.321, allocations: 0.5045 GB / 0.8104 GB, free: 2.801 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.00354/0.00354, allocations: 63.91 kB / 1.177 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7937/0.7973, allocations: 180 MB / 1.353 GB, free: 1.625 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001831/0.7991, allocations: 0.5787 MB / 1.353 GB, free: 1.047 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001953/0.801, allocations: 1.282 MB / 1.355 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.987e-05/0.8011, allocations: 0 / 1.355 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 1.174e-05/0.8011, allocations: 0 / 1.355 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.98e-06/0.8011, allocations: 0 / 1.355 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.8015, allocations: 79.67 kB / 1.355 GB, free: 15.67 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 3.486e-05/0.8015, allocations: 0 / 1.355 GB, free: 15.67 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.8016, allocations: 11.94 kB / 1.355 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.226e-05/0.8016, allocations: 0 / 1.355 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.603e-05/0.8016, allocations: 0 / 1.355 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 7.194e-06/0.8016, allocations: 0 / 1.355 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003215/0.8019, allocations: 107.9 kB / 1.355 GB, free: 15.55 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.8019, allocations: 4 kB / 1.355 GB, free: 15.55 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 1.338e-05/0.802, allocations: 0 / 1.355 GB, free: 15.55 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.8021, allocations: 62.62 kB / 1.355 GB, free: 15.49 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.8021, allocations: 0 / 1.355 GB, free: 15.49 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8021, allocations: 0 / 1.355 GB, free: 15.49 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.8021, allocations: 0 / 1.355 GB, free: 15.49 MB / 1.042 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.0003453/0.8025, allocations: 258.3 kB / 1.355 GB, free: 15.21 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.8025, allocations: 12.92 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/0.8025, allocations: 0.9375 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.8026, allocations: 110.5 kB / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.8026, allocations: 4.375 kB / 1.355 GB, free: 15.06 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.8027, allocations: 384 / 1.355 GB, free: 15.06 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.939e-05/0.8028, allocations: 37.95 kB / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.8028, allocations: 0 / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.8028, allocations: 0 / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.8028, allocations: 0 / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.592e-05/0.8028, allocations: 4 kB / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.8029, allocations: 105.3 kB / 1.356 GB, free: 14.88 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.83e-05/0.803, allocations: 14.58 kB / 1.356 GB, free: 14.86 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.795e-05/0.803, allocations: 8.953 kB / 1.356 GB, free: 14.85 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003261/0.8033, allocations: 43.95 kB / 1.356 GB, free: 14.8 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002612/0.8036, allocations: 34.5 kB / 1.356 GB, free: 14.76 MB / 1.042 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.8036, allocations: 0 / 1.356 GB, free: 14.76 MB / 1.042 GB Notification: Performance of matching and sorting (n=1): time 0.0001268/0.8037, allocations: 41.64 kB / 1.356 GB, free: 14.71 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.8037, allocations: 51.41 kB / 1.356 GB, free: 14.65 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.022e-05/0.8038, allocations: 93.86 kB / 1.356 GB, free: 14.55 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.8038, allocations: 25.7 kB / 1.356 GB, free: 14.52 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.8039, allocations: 80.14 kB / 1.356 GB, free: 14.44 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.8039, allocations: 3.984 kB / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.8039, allocations: 13.72 kB / 1.356 GB, free: 14.41 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.8041, allocations: 314.8 kB / 1.356 GB, free: 14.1 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/0.8041, allocations: 4 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-06/0.8041, allocations: 3.938 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.998e-05/0.8041, allocations: 17.05 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.8042, allocations: 0 / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.406e-05/0.8042, allocations: 29.7 kB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.8042, allocations: 4 kB / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.8042, allocations: 7.922 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.8042, allocations: 7.938 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.721e-05/0.8043, allocations: 0 / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.8043, allocations: 0 / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.038e-05/0.8043, allocations: 0 / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.8043, allocations: 4 kB / 1.356 GB, free: 14.01 MB / 1.042 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 8.192e-05/0.8044, allocations: 109.9 kB / 1.356 GB, free: 13.89 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-06/0.8044, allocations: 0 / 1.356 GB, free: 13.89 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.8045, allocations: 52.55 kB / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.8045, allocations: 4 kB / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.8045, allocations: 0 / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.8045, allocations: 0 / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.91e-05/0.8046, allocations: 97.31 kB / 1.357 GB, free: 13.71 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.8046, allocations: 0 / 1.357 GB, free: 13.71 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.631e-05/0.8046, allocations: 8.031 kB / 1.357 GB, free: 13.7 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.8046, allocations: 0 / 1.357 GB, free: 13.7 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.8046, allocations: 0 / 1.357 GB, free: 13.7 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.8046, allocations: 3.938 kB / 1.357 GB, free: 13.7 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.8046, allocations: 0 / 1.357 GB, free: 13.7 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.939e-05/0.8047, allocations: 69.02 kB / 1.357 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-06/0.8047, allocations: 0 / 1.357 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.8047, allocations: 4 kB / 1.357 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.35e-05/0.8047, allocations: 7.938 kB / 1.357 GB, free: 13.6 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/0.8047, allocations: 0 / 1.357 GB, free: 13.6 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.8048, allocations: 8.016 kB / 1.357 GB, free: 13.59 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.065e-05/0.8048, allocations: 75.28 kB / 1.357 GB, free: 13.52 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.8048, allocations: 0 / 1.357 GB, free: 13.52 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002039/0.805, allocations: 11.94 kB / 1.357 GB, free: 13.51 MB / 1.042 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.0001771/0.8052, allocations: 115.2 kB / 1.357 GB, free: 13.38 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 6.796e-05/0.8052, allocations: 8 kB / 1.357 GB, free: 13.38 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8052, allocations: 0 / 1.357 GB, free: 13.38 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 9.909e-06/0.8053, allocations: 3.938 kB / 1.357 GB, free: 13.37 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001186/0.8054, allocations: 4 kB / 1.357 GB, free: 13.37 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001918/0.8056, allocations: 77.75 kB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.584e-05/0.8056, allocations: 59.22 kB / 1.357 GB, free: 13.19 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 1.866e-05/0.8056, allocations: 3.984 kB / 1.357 GB, free: 13.18 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.978e-05/0.8057, allocations: 11.44 kB / 1.357 GB, free: 13.17 MB / 1.042 GB Notification: Performance of SimCode: time 4.21e-07/0.8057, allocations: 0 / 1.357 GB, free: 13.17 MB / 1.042 GB Notification: Performance of Templates: time 0.002739/0.8084, allocations: 379.2 kB / 1.357 GB, free: 12.8 MB / 1.042 GB " [Timeout remaining time 299] 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: 9.81292193569243]