Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001001/0.001001, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001283/0.002283, allocations: 449.7 kB / 10.37 MB, free: 328 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.001051/0.001051, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001324/0.002375, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.921/0.921, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08218/1.003, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.841/1.841, allocations: 389.9 MB / 0.6191 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4932/2.334, allocations: 127.1 MB / 0.7432 GB, free: 4.605 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0.6562 kB / 0.7445 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.463e-05, allocations: 3.469 kB / 0.7445 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003185/0.00321, allocations: 1.549 MB / 0.746 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.004715, allocations: 0.8253 MB / 0.7468 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.021e-05/0.004755, allocations: 0 / 0.7468 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.728e-05/0.004832, allocations: 6.812 kB / 0.7468 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.008e-05/0.004882, allocations: 4.656 kB / 0.7468 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006884/0.005571, allocations: 148.2 kB / 0.747 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.005725, allocations: 48.02 kB / 0.747 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.052e-05/0.005815, allocations: 8.891 kB / 0.747 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.81e-05/0.005894, allocations: 21.52 kB / 0.747 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.983e-05/0.005963, allocations: 25.36 kB / 0.7471 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.005982, allocations: 4 kB / 0.7471 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000481/0.006463, allocations: 232.7 kB / 0.7473 GB, free: 468 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.464e-05/0.006508, allocations: 6.406 kB / 0.7473 GB, free: 464 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.006546, allocations: 10.08 kB / 0.7473 GB, free: 456 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.006868, allocations: 186.5 kB / 0.7475 GB, free: 272 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.978e-05/0.006888, allocations: 0 / 0.7475 GB, free: 272 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.593e-06/0.00689, allocations: 0 / 0.7475 GB, free: 272 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.839e-05/0.006908, allocations: 4.656 kB / 0.7475 GB, free: 268 kB / 0.7136 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.000582/0.00749, allocations: 342.6 kB / 0.7478 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.007526, allocations: 8.578 kB / 0.7478 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.007571, allocations: 8.922 kB / 0.7478 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.007682, allocations: 113.7 kB / 0.7479 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.007696, allocations: 4.375 kB / 0.7479 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.007708, allocations: 4.375 kB / 0.748 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.007893, allocations: 104.1 kB / 0.7481 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.0079, allocations: 0 / 0.7481 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.00791, allocations: 7.469 kB / 0.7481 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.007915, allocations: 0 / 0.7481 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.575e-05/0.007981, allocations: 49.69 kB / 0.7481 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000283/0.008264, allocations: 160.2 kB / 0.7483 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.218e-05/0.008356, allocations: 64.31 kB / 0.7483 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/0.008407, allocations: 54.56 kB / 0.7484 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.008421, allocations: 7.938 kB / 0.7484 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.008446, allocations: 30.56 kB / 0.7484 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 2.014e-06/0.008448, allocations: 0 / 0.7484 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0002522/0.008701, allocations: 182.4 kB / 0.7486 GB, free: 15 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.008734, allocations: 51.41 kB / 0.7486 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.169e-05/0.008825, allocations: 122.7 kB / 0.7487 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.008842, allocations: 29.7 kB / 0.7488 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.008881, allocations: 80.14 kB / 0.7489 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.0089, allocations: 11.94 kB / 0.7489 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.008947, allocations: 17.7 kB / 0.7489 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.982e-05/0.009037, allocations: 314.8 kB / 0.7492 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.714e-05/0.009124, allocations: 90.14 kB / 0.7493 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.818e-05/0.009182, allocations: 82.02 kB / 0.7493 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.009308, allocations: 144.8 kB / 0.7495 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.00931, allocations: 0 / 0.7495 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001829/0.009493, allocations: 200.4 kB / 0.7497 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.255e-05/0.009555, allocations: 67.39 kB / 0.7497 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.009562, allocations: 4.062 kB / 0.7497 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.009573, allocations: 0 / 0.7497 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.362e-05/0.009647, allocations: 5.625 kB / 0.7498 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.009649, allocations: 3.938 kB / 0.7498 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.1e-05/0.00969, allocations: 15.88 kB / 0.7498 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.009702, allocations: 7.938 kB / 0.7498 GB, free: 13.64 MB / 0.7292 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 9.302e-05/0.009795, allocations: 143.5 kB / 0.7499 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.009824, allocations: 7.938 kB / 0.7499 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.009845, allocations: 8.984 kB / 0.7499 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.009847, allocations: 0 / 0.7499 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.009849, allocations: 4 kB / 0.7499 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.009852, allocations: 0.5938 kB / 0.7499 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.009977, allocations: 73.88 kB / 0.75 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.009979, allocations: 0.5312 kB / 0.75 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.551e-05/0.01001, allocations: 0.5625 kB / 0.75 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.21e-05/0.01003, allocations: 4 kB / 0.75 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002763/0.0103, allocations: 5.438 kB / 0.75 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.01031, allocations: 0 / 0.75 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.01031, allocations: 0 / 0.75 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.01032, allocations: 3.984 kB / 0.75 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.01051, allocations: 231.5 kB / 0.7502 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.01052, allocations: 8.562 kB / 0.7502 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.18e-05/0.01056, allocations: 0 / 0.7502 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.01061, allocations: 9.188 kB / 0.7503 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.01061, allocations: 0 / 0.7503 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.953e-05/0.01063, allocations: 16.84 kB / 0.7503 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.01063, allocations: 1.219 kB / 0.7503 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002092/0.01084, allocations: 63.92 kB / 0.7503 GB, free: 13.02 MB / 0.7292 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.0002062/0.01105, allocations: 149.2 kB / 0.7505 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001713/0.01122, allocations: 256.7 kB / 0.7507 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.01123, allocations: 4.906 kB / 0.7507 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.362e-05/0.01129, allocations: 116.8 kB / 0.7508 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.01141, allocations: 13.53 kB / 0.7509 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/0.01182, allocations: 185 kB / 0.751 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.324e-05/0.01186, allocations: 59.34 kB / 0.7511 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.117e-05/0.01188, allocations: 4.688 kB / 0.7511 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.01193, allocations: 61.16 kB / 0.7511 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of SimCode: time 9.12e-07/0.01193, allocations: 0 / 0.7511 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of Templates: time 0.003957/0.01589, allocations: 2.003 MB / 0.7531 GB, free: 10.17 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.71001242659986]