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.001651/0.001651, allocations: 105 kB / 20.45 MB, free: 1.5 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.001518/0.001518, allocations: 221.9 kB / 23.76 MB, free: 4.711 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.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.9983/0.9983, allocations: 150 MB / 463.9 MB, free: 10.55 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.002086/0.002086, allocations: 67.5 kB / 0.6425 GB, free: 10.01 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2079, allocations: 89.17 MB / 0.7296 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003069/0.2109, allocations: 1.446 MB / 0.731 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.2125, allocations: 0.8454 MB / 0.7318 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.668e-05/0.2126, allocations: 0 / 0.7318 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.746e-05/0.2127, allocations: 3.938 kB / 0.7318 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.897e-05/0.2127, allocations: 0 / 0.7318 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007404/0.2134, allocations: 187.5 kB / 0.732 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.2136, allocations: 47.97 kB / 0.7321 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.088e-05/0.2137, allocations: 3.938 kB / 0.7321 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.436e-05/0.2137, allocations: 19.92 kB / 0.7321 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.561e-05/0.2138, allocations: 23.97 kB / 0.7321 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.2138, allocations: 0 / 0.7321 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004173/0.2142, allocations: 227.6 kB / 0.7323 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.2143, allocations: 7.938 kB / 0.7323 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.2143, allocations: 31.84 kB / 0.7324 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.2146, allocations: 187.5 kB / 0.7325 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2146, allocations: 0 / 0.7325 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2146, allocations: 4 kB / 0.7325 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2146, allocations: 0 / 0.7325 GB, free: 13.87 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.0006013/0.2152, allocations: 353.4 kB / 0.7329 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.2153, allocations: 12.03 kB / 0.7329 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.2153, allocations: 4.891 kB / 0.7329 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.2155, allocations: 118.4 kB / 0.733 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.2155, allocations: 4.375 kB / 0.733 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.2155, allocations: 3.938 kB / 0.733 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.2157, allocations: 85.59 kB / 0.7331 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.2157, allocations: 4 kB / 0.7331 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.2157, allocations: 0 / 0.7331 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2157, allocations: 0 / 0.7331 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.2159, allocations: 47.95 kB / 0.7331 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.2163, allocations: 247.9 kB / 0.7334 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.2164, allocations: 58.55 kB / 0.7334 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.405e-05/0.2165, allocations: 56.84 kB / 0.7335 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.2165, allocations: 0 / 0.7335 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.2166, allocations: 34.56 kB / 0.7335 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.2166, allocations: 0 / 0.7335 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004189/0.217, allocations: 179.3 kB / 0.7337 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.2171, allocations: 81.11 kB / 0.7338 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.2172, allocations: 125.9 kB / 0.7339 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.2172, allocations: 29.7 kB / 0.7339 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.2173, allocations: 92.03 kB / 0.734 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.2173, allocations: 11.95 kB / 0.734 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.2173, allocations: 17.7 kB / 0.734 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.2175, allocations: 322.8 kB / 0.7343 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.2176, allocations: 63.89 kB / 0.7344 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.445e-05/0.2177, allocations: 55.97 kB / 0.7345 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/0.218, allocations: 193.9 kB / 0.7346 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.218, allocations: 0 / 0.7346 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003012/0.2183, allocations: 217 kB / 0.7349 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.817e-05/0.2183, allocations: 59.41 kB / 0.7349 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2183, allocations: 4.062 kB / 0.7349 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.2183, allocations: 7.938 kB / 0.7349 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.462e-05/0.2184, allocations: 3.984 kB / 0.7349 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.2184, allocations: 0 / 0.7349 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.606e-05/0.2185, allocations: 23.89 kB / 0.7349 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.2185, allocations: 0 / 0.7349 GB, free: 11.15 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.0001284/0.2186, allocations: 155.4 kB / 0.7351 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.2186, allocations: 4 kB / 0.7351 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.2187, allocations: 4 kB / 0.7351 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2187, allocations: 0 / 0.7351 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2187, allocations: 0 / 0.7351 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2187, allocations: 4 kB / 0.7351 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.2189, allocations: 148.6 kB / 0.7353 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2189, allocations: 4 kB / 0.7353 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.2189, allocations: 7.984 kB / 0.7353 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.2189, allocations: 0 / 0.7353 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.2189, allocations: 0 / 0.7353 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.2189, allocations: 4 kB / 0.7353 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2189, allocations: 240 / 0.7353 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.2192, allocations: 249.1 kB / 0.7355 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.509e-05/0.2192, allocations: 11.95 kB / 0.7355 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.2193, allocations: 4.031 kB / 0.7355 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.2193, allocations: 7.984 kB / 0.7355 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.2195, allocations: 11.92 kB / 0.7355 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.2195, allocations: 0 / 0.7355 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.856e-05/0.2196, allocations: 103.2 kB / 0.7356 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2196, allocations: 0 / 0.7356 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003418/0.2199, allocations: 55.88 kB / 0.7357 GB, free: 10.3 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.0002875/0.2202, allocations: 159.1 kB / 0.7358 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003784/0.2206, allocations: 226.7 kB / 0.7361 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2206, allocations: 7.938 kB / 0.7361 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.2207, allocations: 95.38 kB / 0.7362 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.2209, allocations: 9.359 kB / 0.7362 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.2214, allocations: 219.1 kB / 0.7364 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.2217, allocations: 0.6846 MB / 0.737 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.2217, allocations: 7.438 kB / 0.7371 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of SimCode: time 3.5e-07/0.2217, allocations: 0 / 0.7371 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of Templates: time 0.003694/0.2254, allocations: 1.489 MB / 0.7385 GB, free: 7.32 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.582754530012608] Failed to read output from testmodel.py, exit status != 0: 0.23459521890617907 0.24959351799999996 0.031636018 Calling exit ...