Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.798/4.798, allocations: 0.5623 GB / 0.5775 GB, free: 3.379 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002511/0.002512, allocations: 354.6 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.126/4.126, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001814/0.001814, allocations: 175.8 kB / 1.226 GB, free: 35.97 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005114/0.0005116, allocations: 13 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2187, allocations: 115.3 MB / 1.461 GB, free: 6.586 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9227/1.141, allocations: 139.4 MB / 1.597 GB, free: 2.336 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/1.142, allocations: 94.19 kB / 1.598 GB, free: 2.281 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.01529/1.157, allocations: 3.224 MB / 1.601 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.047e-06/1.157, allocations: 3.984 kB / 1.601 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.435e-05/1.157, allocations: 4 kB / 1.601 GB, free: 15.44 MB / 0.6823 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.0005572/1.158, allocations: 441.9 kB / 1.601 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.158, allocations: 8.031 kB / 1.601 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/1.158, allocations: 7.906 kB / 1.601 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/1.158, allocations: 175.5 kB / 1.601 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/1.158, allocations: 0 / 1.601 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/1.158, allocations: 7.984 kB / 1.601 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/1.158, allocations: 80.59 kB / 1.601 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/1.158, allocations: 0 / 1.601 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/1.158, allocations: 0 / 1.601 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/1.158, allocations: 7.938 kB / 1.601 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/1.159, allocations: 46.66 kB / 1.601 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/1.159, allocations: 277.5 kB / 1.602 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/1.159, allocations: 64.61 kB / 1.602 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/1.159, allocations: 49.91 kB / 1.602 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/1.16, allocations: 0 / 1.602 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/1.16, allocations: 34.5 kB / 1.602 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/1.16, allocations: 0 / 1.602 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005869/1.16, allocations: 196.3 kB / 1.602 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/1.16, allocations: 81.11 kB / 1.602 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/1.16, allocations: 121.2 kB / 1.602 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/1.16, allocations: 29.69 kB / 1.602 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/1.16, allocations: 86.89 kB / 1.602 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/1.161, allocations: 6.781 kB / 1.602 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/1.161, allocations: 4.031 kB / 1.602 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001117/1.161, allocations: 318.8 kB / 1.603 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/1.161, allocations: 60.77 kB / 1.603 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/1.161, allocations: 56.53 kB / 1.603 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/1.161, allocations: 119.5 kB / 1.603 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/1.161, allocations: 0 / 1.603 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004601/1.162, allocations: 226.8 kB / 1.603 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.039e-05/1.162, allocations: 63.39 kB / 1.603 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.162, allocations: 0 / 1.603 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/1.162, allocations: 0 / 1.603 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.762e-05/1.162, allocations: 4 kB / 1.603 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/1.162, allocations: 0 / 1.603 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.302e-05/1.162, allocations: 8 kB / 1.603 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/1.162, allocations: 3.984 kB / 1.603 GB, free: 12.8 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001285/1.162, allocations: 158.1 kB / 1.603 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/1.162, allocations: 7.906 kB / 1.603 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/1.162, allocations: 11.89 kB / 1.603 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/1.162, allocations: 0 / 1.603 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.162, allocations: 0 / 1.603 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/1.162, allocations: 3.938 kB / 1.603 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/1.163, allocations: 175.2 kB / 1.604 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.163, allocations: 0 / 1.604 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.913e-05/1.163, allocations: 11.94 kB / 1.604 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.163, allocations: 0 / 1.604 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/1.163, allocations: 4 kB / 1.604 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.163, allocations: 0 / 1.604 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.163, allocations: 0 / 1.604 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/1.163, allocations: 252.2 kB / 1.604 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/1.163, allocations: 85.09 kB / 1.604 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/1.163, allocations: 4.031 kB / 1.604 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/1.163, allocations: 11.98 kB / 1.604 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/1.163, allocations: 7.797 kB / 1.604 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/1.163, allocations: 4 kB / 1.604 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.885e-05/1.164, allocations: 99.52 kB / 1.604 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/1.164, allocations: 0 / 1.604 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000497/1.164, allocations: 67.31 kB / 1.604 GB, free: 11.86 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003807/1.164, allocations: 171 kB / 1.604 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004708/1.165, allocations: 240 kB / 1.604 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/1.165, allocations: 0 / 1.604 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/1.165, allocations: 101.9 kB / 1.605 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/1.165, allocations: 11.83 kB / 1.605 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/1.166, allocations: 186.9 kB / 1.605 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/1.166, allocations: 0.6887 MB / 1.605 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.989e-05/1.166, allocations: 0 / 1.605 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.961e-05/1.166, allocations: 7.438 kB / 1.605 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of SimCode: time 9.22e-07/1.166, allocations: 0 / 1.605 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of Templates: time 0.005806/1.172, allocations: 1.616 MB / 1.607 GB, free: 8.855 MB / 0.6823 GB