Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0006646/0.0006646, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009255/0.00159, allocations: 452 kB / 10.43 MB, free: 268 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.0006881/0.0006881, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009483/0.001636, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.9445/0.9445, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09968/1.044, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6584/0.6584, allocations: 120.1 MB / 364.2 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07494/0.7333, allocations: 38.15 MB / 402.4 MB, free: 12.27 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.11e-05, allocations: 2.312 kB / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001785/0.001806, allocations: 0.6462 MB / 404.4 MB, free: 10.24 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.003097, allocations: 1.326 MB / 405.7 MB, free: 8.895 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.123e-05/0.003109, allocations: 4 kB / 405.8 MB, free: 8.891 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.166e-06/0.003112, allocations: 0 / 405.8 MB, free: 8.891 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 1.173e-06/0.003113, allocations: 0 / 405.8 MB, free: 8.891 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003247/0.00636, allocations: 63.62 kB / 405.8 MB, free: 8.828 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 4.833e-05/0.006409, allocations: 8 kB / 405.8 MB, free: 8.82 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.006446, allocations: 0 / 405.8 MB, free: 8.82 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.53e-05/0.006482, allocations: 3.984 kB / 405.8 MB, free: 8.816 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.059e-05/0.006532, allocations: 7.938 kB / 405.8 MB, free: 8.809 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.006544, allocations: 0 / 405.8 MB, free: 8.809 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002642/0.006808, allocations: 115.9 kB / 405.9 MB, free: 8.695 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.00682, allocations: 4 kB / 406 MB, free: 8.691 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.427e-06/0.006829, allocations: 0 / 406 MB, free: 8.691 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.006971, allocations: 59.84 kB / 406 MB, free: 8.633 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.006981, allocations: 4 kB / 406 MB, free: 8.629 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.006982, allocations: 0 / 406 MB, free: 8.629 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.006994, allocations: 0 / 406 MB, free: 8.629 MB / 394.7 MB 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.0003032/0.007297, allocations: 236.5 kB / 406.2 MB, free: 8.375 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.00733, allocations: 15.97 kB / 406.3 MB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.007359, allocations: 0.9375 kB / 406.3 MB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.401e-05/0.007433, allocations: 105.8 kB / 406.4 MB, free: 8.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.007443, allocations: 384 / 406.4 MB, free: 8.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.007455, allocations: 8.312 kB / 406.4 MB, free: 8.223 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.14e-05/0.007526, allocations: 26.27 kB / 406.4 MB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.007533, allocations: 192 / 406.4 MB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.00754, allocations: 8.359 kB / 406.4 MB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.007547, allocations: 3.938 kB / 406.4 MB, free: 8.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.317e-05/0.00756, allocations: 4 kB / 406.4 MB, free: 8.176 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.578e-05/0.007636, allocations: 57.03 kB / 406.5 MB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.329e-05/0.007669, allocations: 18.61 kB / 406.5 MB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.238e-05/0.007682, allocations: 8.797 kB / 406.5 MB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002382/0.00792, allocations: 40.03 kB / 406.5 MB, free: 8.027 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.007943, allocations: 34.56 kB / 406.6 MB, free: 7.984 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.007944, allocations: 0 / 406.6 MB, free: 7.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 9.193e-05/0.008036, allocations: 29.7 kB / 406.6 MB, free: 7.949 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.008066, allocations: 59.39 kB / 406.7 MB, free: 7.879 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.252e-05/0.008098, allocations: 93.84 kB / 406.7 MB, free: 7.777 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.008108, allocations: 25.7 kB / 406.8 MB, free: 7.746 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.434e-05/0.008133, allocations: 80.14 kB / 406.9 MB, free: 7.664 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.008157, allocations: 0 / 406.9 MB, free: 7.664 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.008184, allocations: 17.72 kB / 406.9 MB, free: 7.641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.776e-05/0.008261, allocations: 318.8 kB / 407.2 MB, free: 7.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.532e-06/0.008268, allocations: 8.062 kB / 407.2 MB, free: 7.312 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.068e-06/0.008272, allocations: 0 / 407.2 MB, free: 7.312 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.214e-05/0.008294, allocations: 8.859 kB / 407.2 MB, free: 7.301 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.008296, allocations: 0 / 407.2 MB, free: 7.301 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.294e-05/0.008339, allocations: 33.69 kB / 407.2 MB, free: 7.262 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.00835, allocations: 4 kB / 407.2 MB, free: 7.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.008354, allocations: 4 kB / 407.2 MB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.008365, allocations: 0 / 407.2 MB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.132e-05/0.008406, allocations: 0 / 407.2 MB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.726e-06/0.008409, allocations: 4.094 kB / 407.2 MB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.398e-06/0.008419, allocations: 0 / 407.2 MB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.008425, allocations: 11.88 kB / 407.3 MB, free: 7.238 MB / 394.7 MB 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.812e-05/0.008473, allocations: 109.8 kB / 407.4 MB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-06/0.008477, allocations: 0 / 407.4 MB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.521e-05/0.008542, allocations: 36.69 kB / 407.4 MB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.008544, allocations: 0 / 407.4 MB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.008545, allocations: 0 / 407.4 MB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.008548, allocations: 32 / 407.4 MB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.248e-05/0.0086, allocations: 73.84 kB / 407.5 MB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.008601, allocations: 0 / 407.5 MB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.181e-05/0.008613, allocations: 7.984 kB / 407.5 MB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-06/0.008618, allocations: 4 kB / 407.5 MB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.008619, allocations: 0 / 407.5 MB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-06/0.008622, allocations: 0 / 407.5 MB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.008622, allocations: 0 / 407.5 MB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.008623, allocations: 0 / 407.5 MB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.811e-05/0.008671, allocations: 68.98 kB / 407.5 MB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-06/0.008678, allocations: 0 / 407.5 MB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.68e-06/0.008684, allocations: 4.031 kB / 407.6 MB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.676e-06/0.008692, allocations: 0 / 407.6 MB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.008694, allocations: 0 / 407.6 MB, free: 6.891 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.614e-06/0.008702, allocations: 4.859 kB / 407.6 MB, free: 6.883 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008702, allocations: 0 / 407.6 MB, free: 6.883 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001423/0.008844, allocations: 11.94 kB / 407.6 MB, free: 6.871 MB / 394.7 MB 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.003155/0.012, allocations: 92.41 kB / 407.7 MB, free: 6.773 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.432e-05/0.01205, allocations: 8.859 kB / 407.7 MB, free: 6.762 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.01206, allocations: 4 kB / 407.7 MB, free: 6.758 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.309e-05/0.01207, allocations: 20.81 kB / 407.7 MB, free: 6.734 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.435e-05/0.01212, allocations: 7.938 kB / 407.7 MB, free: 6.727 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001464/0.01227, allocations: 82.28 kB / 407.8 MB, free: 6.617 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.85e-05/0.0123, allocations: 55.34 kB / 407.8 MB, free: 6.543 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.766e-05/0.01232, allocations: 0 / 407.8 MB, free: 6.543 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.01234, allocations: 51.38 kB / 407.9 MB, free: 6.492 MB / 394.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01234, allocations: 0 / 407.9 MB, free: 6.492 MB / 394.7 MB Notification: Performance of Templates: time 0.001992/0.01433, allocations: 481.5 kB / 408.4 MB, free: 6.02 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2751727923750877]