Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.001438/0.001438, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001641/0.001641, allocations: 202.5 kB / 23.74 MB, free: 4.543 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.801 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 0.987/0.987, allocations: 149.9 MB / 463.8 MB, free: 10.36 MB / 366.1 MB " [Timeout remaining time 179] 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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [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.002122/0.002122, allocations: 75.8 kB / 0.6423 GB, free: 9.633 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1927, allocations: 89.16 MB / 0.7294 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003089/0.1958, allocations: 1.444 MB / 0.7308 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.1973, allocations: 0.7754 MB / 0.7316 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.56e-05/0.1974, allocations: 0 / 0.7316 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.438e-05/0.1975, allocations: 3.938 kB / 0.7316 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.578e-05/0.1975, allocations: 7.938 kB / 0.7316 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006904/0.1982, allocations: 175.6 kB / 0.7317 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.1983, allocations: 47.84 kB / 0.7318 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.644e-05/0.1984, allocations: 12 kB / 0.7318 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.717e-05/0.1985, allocations: 11.98 kB / 0.7318 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.737e-05/0.1985, allocations: 19.92 kB / 0.7318 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.1985, allocations: 4 kB / 0.7318 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003968/0.1989, allocations: 211.7 kB / 0.732 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.199, allocations: 7.938 kB / 0.732 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.374e-05/0.199, allocations: 23.92 kB / 0.7321 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.1993, allocations: 183.5 kB / 0.7322 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1993, allocations: 3.984 kB / 0.7322 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.326e-06/0.1993, allocations: 7.938 kB / 0.7322 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.1994, allocations: 0 / 0.7322 GB, free: 13.59 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005565/0.1999, allocations: 365.3 kB / 0.7326 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.2, allocations: 8.031 kB / 0.7326 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.2, allocations: 8.891 kB / 0.7326 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.2001, allocations: 114.5 kB / 0.7327 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.2001, allocations: 384 / 0.7327 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.2002, allocations: 11.88 kB / 0.7327 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.2004, allocations: 107.4 kB / 0.7328 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2004, allocations: 3.984 kB / 0.7328 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.2004, allocations: 0 / 0.7328 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.2004, allocations: 4 kB / 0.7328 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.2006, allocations: 81.66 kB / 0.7329 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.201, allocations: 220.5 kB / 0.7331 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.2011, allocations: 92.19 kB / 0.7332 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.2012, allocations: 74.61 kB / 0.7333 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.2012, allocations: 0 / 0.7333 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.2013, allocations: 34.56 kB / 0.7333 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2013, allocations: 0 / 0.7333 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004577/0.2017, allocations: 238.8 kB / 0.7335 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.2018, allocations: 85.09 kB / 0.7336 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.2019, allocations: 133.1 kB / 0.7338 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.2019, allocations: 29.7 kB / 0.7338 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.202, allocations: 92.08 kB / 0.7339 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.202, allocations: 7.953 kB / 0.7339 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.2021, allocations: 17.72 kB / 0.7339 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2022, allocations: 322.8 kB / 0.7342 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.2024, allocations: 119.4 kB / 0.7343 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.2025, allocations: 115.4 kB / 0.7344 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.2028, allocations: 205.8 kB / 0.7346 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2028, allocations: 0 / 0.7346 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003544/0.2032, allocations: 272.4 kB / 0.7349 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.34e-05/0.2032, allocations: 67.39 kB / 0.7349 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2032, allocations: 0 / 0.7349 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.2033, allocations: 7.938 kB / 0.735 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.274e-05/0.2033, allocations: 0 / 0.735 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.2033, allocations: 0 / 0.735 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.262e-05/0.2034, allocations: 19.88 kB / 0.735 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.2034, allocations: 0 / 0.735 GB, free: 10.48 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: 1 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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.0001246/0.2035, allocations: 155.5 kB / 0.7351 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.2035, allocations: 4 kB / 0.7351 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.2036, allocations: 4 kB / 0.7351 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2036, allocations: 7.938 kB / 0.7351 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2036, allocations: 4.062 kB / 0.7351 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2036, allocations: 0 / 0.7351 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.2037, allocations: 125.2 kB / 0.7353 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2037, allocations: 0 / 0.7353 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.008e-05/0.2038, allocations: 4 kB / 0.7353 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2038, allocations: 4 kB / 0.7353 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.2038, allocations: 0 / 0.7353 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.2038, allocations: 7.984 kB / 0.7353 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2038, allocations: 0 / 0.7353 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.2041, allocations: 282.8 kB / 0.7355 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/0.2041, allocations: 3.953 kB / 0.7355 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.2042, allocations: 4 kB / 0.7356 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.007e-05/0.2042, allocations: 4 kB / 0.7356 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.2044, allocations: 7.984 kB / 0.7356 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.2044, allocations: 4 kB / 0.7356 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.634e-05/0.2044, allocations: 99.3 kB / 0.7357 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2044, allocations: 0 / 0.7357 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003425/0.2048, allocations: 55.92 kB / 0.7357 GB, free: 9.641 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: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.0003032/0.2051, allocations: 151 kB / 0.7359 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004493/0.2055, allocations: 320.1 kB / 0.7362 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2055, allocations: 0 / 0.7362 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.2057, allocations: 137 kB / 0.7363 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.2059, allocations: 14.19 kB / 0.7363 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.2064, allocations: 233 kB / 0.7365 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.166e-05/0.2065, allocations: 75.31 kB / 0.7366 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.2065, allocations: 7.438 kB / 0.7366 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.2065, allocations: 0 / 0.7366 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of Templates: time 0.003678/0.2102, allocations: 1.503 MB / 0.7381 GB, free: 7.102 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.417753566987813] Failed to read output from testmodel.py, exit status != 0: 0.22015896160155535 0.236107749 0.033472228 Calling exit ...