Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001018/0.001018, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001284/0.001284, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9703/0.9703, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001633/0.001633, allocations: 242.3 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7125/0.7125, allocations: 138.4 MB / 402.2 MB, free: 0.5703 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 462.4 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.643e-05, allocations: 4.953 kB / 462.4 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.005688/0.005714, allocations: 1.523 MB / 463.9 MB, free: 15.93 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.007016, allocations: 0.818 MB / 464.7 MB, free: 15.42 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.498e-05/0.007051, allocations: 2.297 kB / 464.7 MB, free: 15.42 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.327e-05/0.007115, allocations: 4.781 kB / 464.7 MB, free: 15.42 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.034e-05/0.007165, allocations: 2.922 kB / 464.7 MB, free: 15.42 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003648/0.01081, allocations: 152.3 kB / 464.9 MB, free: 15.36 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.01093, allocations: 50.45 kB / 464.9 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.467e-05/0.01099, allocations: 5 kB / 464.9 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.21e-05/0.01105, allocations: 20.91 kB / 465 MB, free: 15.33 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.27e-05/0.0111, allocations: 19.09 kB / 465 MB, free: 15.32 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.01111, allocations: 3.781 kB / 465 MB, free: 15.32 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004414/0.01156, allocations: 241.1 kB / 465.2 MB, free: 15.27 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.167e-05/0.0116, allocations: 13.06 kB / 465.2 MB, free: 15.27 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.132e-05/0.01163, allocations: 20.83 kB / 465.2 MB, free: 15.25 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.01197, allocations: 216.3 kB / 465.5 MB, free: 15.19 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.01198, allocations: 0 / 465.5 MB, free: 15.19 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01198, allocations: 0.6875 kB / 465.5 MB, free: 15.19 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.01198, allocations: 1.094 kB / 465.5 MB, free: 15.19 MB / 426.7 MB 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.0004656/0.01245, allocations: 338.5 kB / 465.8 MB, free: 14.87 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.01248, allocations: 9.188 kB / 465.8 MB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.01252, allocations: 6.641 kB / 465.8 MB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.809e-05/0.01261, allocations: 111.1 kB / 465.9 MB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.01262, allocations: 2.594 kB / 465.9 MB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.01263, allocations: 7.188 kB / 465.9 MB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.01277, allocations: 96.83 kB / 466 MB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.01277, allocations: 2.938 kB / 466 MB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.01278, allocations: 0.9375 kB / 466 MB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.01279, allocations: 5.375 kB / 466 MB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.365e-05/0.01283, allocations: 49.91 kB / 466.1 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.01309, allocations: 159.4 kB / 466.2 MB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.047e-05/0.01316, allocations: 69.22 kB / 466.3 MB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003057/0.01622, allocations: 52.45 kB / 466.3 MB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.01623, allocations: 1.562 kB / 466.3 MB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.01625, allocations: 33.06 kB / 466.4 MB, free: 14.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.923e-06/0.01625, allocations: 2.812 kB / 466.4 MB, free: 14.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002028/0.01645, allocations: 178.1 kB / 466.6 MB, free: 14.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.01649, allocations: 83.33 kB / 466.6 MB, free: 14.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.785e-05/0.01657, allocations: 130 kB / 466.8 MB, free: 13.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.01658, allocations: 25.7 kB / 466.8 MB, free: 13.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.01661, allocations: 83.05 kB / 466.9 MB, free: 13.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.01662, allocations: 6.484 kB / 466.9 MB, free: 13.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.01666, allocations: 28.38 kB / 466.9 MB, free: 13.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.0168, allocations: 316.3 kB / 467.2 MB, free: 13.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.284e-05/0.01685, allocations: 82.47 kB / 467.3 MB, free: 13.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.933e-05/0.01689, allocations: 77.98 kB / 467.4 MB, free: 13.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.348e-05/0.01697, allocations: 143 kB / 467.5 MB, free: 13.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.01698, allocations: 1.188 kB / 467.5 MB, free: 13.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001124/0.01709, allocations: 202 kB / 467.7 MB, free: 13.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.01712, allocations: 63.39 kB / 467.8 MB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.01713, allocations: 1.578 kB / 467.8 MB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.01714, allocations: 3.938 kB / 467.8 MB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.653e-05/0.01719, allocations: 5.5 kB / 467.8 MB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.01719, allocations: 3.984 kB / 467.8 MB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.01722, allocations: 7.953 kB / 467.8 MB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.01722, allocations: 0 / 467.8 MB, free: 12.93 MB / 426.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: 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 6.268e-05/0.01729, allocations: 147.1 kB / 467.9 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.0173, allocations: 7.984 kB / 467.9 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.531e-05/0.01732, allocations: 5 kB / 467.9 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01732, allocations: 3.938 kB / 468 MB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01732, allocations: 1.875 kB / 468 MB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.01733, allocations: 0 / 468 MB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.108e-05/0.01741, allocations: 73.88 kB / 468 MB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.01741, allocations: 0 / 468 MB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-05/0.01742, allocations: 4 kB / 468 MB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.01742, allocations: 0.8125 kB / 468 MB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.01743, allocations: 0.8125 kB / 468 MB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.01743, allocations: 0.5312 kB / 468 MB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01743, allocations: 0 / 468 MB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.01755, allocations: 238.2 kB / 468.3 MB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-06/0.01756, allocations: 7.922 kB / 468.3 MB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.01757, allocations: 8 kB / 468.3 MB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.275e-05/0.0176, allocations: 4.75 kB / 468.3 MB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.01764, allocations: 3.938 kB / 468.3 MB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.01765, allocations: 4.781 kB / 468.3 MB, free: 12.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.563e-05/0.01766, allocations: 14.16 kB / 468.3 MB, free: 12.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01766, allocations: 7.938 kB / 468.3 MB, free: 12.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002359/0.0179, allocations: 64.5 kB / 468.4 MB, free: 12.3 MB / 426.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: 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.000187/0.01808, allocations: 145.8 kB / 468.5 MB, free: 12.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001633/0.01825, allocations: 272.3 kB / 468.8 MB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.01825, allocations: 0.7812 kB / 468.8 MB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.185e-05/0.0183, allocations: 112.8 kB / 468.9 MB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001056/0.01841, allocations: 4.719 kB / 468.9 MB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.01875, allocations: 182.8 kB / 469.1 MB, free: 11.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.952e-05/0.01878, allocations: 59.34 kB / 469.1 MB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.694e-05/0.0188, allocations: 0.75 kB / 469.1 MB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.263e-05/0.01885, allocations: 63.38 kB / 469.2 MB, free: 11.36 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01885, allocations: 0.7188 kB / 469.2 MB, free: 11.36 MB / 426.7 MB Notification: Performance of Templates: time 0.003235/0.02209, allocations: 1.998 MB / 471.2 MB, free: 9.523 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4461928899399936]