Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001432/0.001432, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.002636/0.002636, allocations: 210.7 kB / 22.99 MB, free: 4.977 MB / 14.72 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.019/1.019, allocations: 149.9 MB / 463 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 67.91 kB / 0.6416 GB, free: 9.57 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.197, allocations: 89.17 MB / 0.7287 GB, free: 476 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001821/0.1988, allocations: 0.6167 MB / 0.7293 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002267/0.2011, allocations: 1.428 MB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.2011, allocations: 0 / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.553e-05/0.2012, allocations: 0 / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.592e-05/0.2012, allocations: 7.938 kB / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008118/0.202, allocations: 218.3 kB / 0.7309 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.663e-05/0.2021, allocations: 43.84 kB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.2022, allocations: 4 kB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.135e-05/0.2022, allocations: 15.98 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.472e-05/0.2023, allocations: 19.92 kB / 0.731 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.2023, allocations: 0 / 0.731 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004724/0.2027, allocations: 263.6 kB / 0.7312 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.438e-05/0.2028, allocations: 7.938 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.2028, allocations: 19.86 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003753/0.2032, allocations: 219.4 kB / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2032, allocations: 0 / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.465e-06/0.2032, allocations: 0 / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.2032, allocations: 4 kB / 0.7315 GB, free: 13.6 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006319/0.2039, allocations: 327.6 kB / 0.7318 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.2039, allocations: 11.97 kB / 0.7318 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.204, allocations: 4.938 kB / 0.7318 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.2041, allocations: 114.5 kB / 0.7319 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.2041, allocations: 384 / 0.7319 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.2041, allocations: 4.375 kB / 0.7319 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.2044, allocations: 107.7 kB / 0.732 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2044, allocations: 0 / 0.732 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.2044, allocations: 0 / 0.732 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2044, allocations: 3.938 kB / 0.732 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.513e-05/0.2045, allocations: 65.67 kB / 0.7321 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.2047, allocations: 121.2 kB / 0.7322 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.2048, allocations: 84.25 kB / 0.7323 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.527e-05/0.2049, allocations: 70.56 kB / 0.7323 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.2049, allocations: 0 / 0.7323 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.205, allocations: 34.56 kB / 0.7324 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.338e-05/0.205, allocations: 3.984 kB / 0.7324 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004315/0.2054, allocations: 262.5 kB / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.2055, allocations: 77.11 kB / 0.7327 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.2056, allocations: 121.8 kB / 0.7328 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.2056, allocations: 25.7 kB / 0.7328 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.2057, allocations: 84.17 kB / 0.7329 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.2057, allocations: 19.86 kB / 0.7329 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.2058, allocations: 21.7 kB / 0.7329 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.2059, allocations: 318.8 kB / 0.7333 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-05/0.206, allocations: 69.67 kB / 0.7333 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.749e-05/0.2061, allocations: 65.67 kB / 0.7334 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.2063, allocations: 148.1 kB / 0.7335 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2063, allocations: 0 / 0.7335 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002487/0.2065, allocations: 193.8 kB / 0.7337 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.746e-05/0.2066, allocations: 37.69 kB / 0.7337 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2066, allocations: 4 kB / 0.7337 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.2066, allocations: 4 kB / 0.7337 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.2066, allocations: 0 / 0.7337 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.2066, allocations: 0 / 0.7337 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.2068, allocations: 11.94 kB / 0.7338 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.2068, allocations: 7.984 kB / 0.7338 GB, free: 10.96 MB / 0.5606 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000125/0.2069, allocations: 155.4 kB / 0.7339 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.2069, allocations: 7.953 kB / 0.7339 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.822e-05/0.207, allocations: 12.31 kB / 0.7339 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.207, allocations: 0 / 0.7339 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.207, allocations: 0 / 0.7339 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.207, allocations: 4 kB / 0.7339 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.2071, allocations: 109.3 kB / 0.734 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2071, allocations: 0 / 0.734 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.2071, allocations: 0 / 0.734 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.2071, allocations: 0 / 0.734 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.2071, allocations: 7.984 kB / 0.7341 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.2071, allocations: 11.86 kB / 0.7341 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2071, allocations: 0 / 0.7341 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.2074, allocations: 232.4 kB / 0.7343 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-06/0.2074, allocations: 3.953 kB / 0.7343 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.2074, allocations: 4 kB / 0.7343 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.845e-05/0.2075, allocations: 15.95 kB / 0.7343 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.2075, allocations: 4 kB / 0.7343 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.2075, allocations: 8 kB / 0.7343 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.461e-05/0.2076, allocations: 87.27 kB / 0.7344 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2076, allocations: 0 / 0.7344 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003618/0.2079, allocations: 79.86 kB / 0.7345 GB, free: 10.15 MB / 0.5606 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000348/0.2083, allocations: 155.1 kB / 0.7346 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003394/0.2086, allocations: 230.6 kB / 0.7348 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2086, allocations: 64 / 0.7348 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.2088, allocations: 149 kB / 0.735 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.2089, allocations: 4 kB / 0.735 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.2093, allocations: 202.4 kB / 0.7352 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.805e-05/0.2094, allocations: 71.33 kB / 0.7353 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.061e-06/0.2094, allocations: 0 / 0.7353 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.2094, allocations: 11.38 kB / 0.7353 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of SimCode: time 3.8e-07/0.2094, allocations: 0 / 0.7353 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of Templates: time 0.005508/0.2149, allocations: 2.13 MB / 0.7373 GB, free: 7.141 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.057486962527037] Failed to read output from testmodel.py, exit status != 0: 0.2236742153763771 0.238464955 0.032028725 Calling exit ...