Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadModel(Buildings): time 3.711/3.711, allocations: 432.7 MB / 445.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.035e-05/3.051e-05, allocations: 4.531 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.171, allocations: 98.72 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1908/0.3618, allocations: 126 MB / 0.7578 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.3621, allocations: 95.94 kB / 0.7579 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01432/0.3765, allocations: 3.183 MB / 0.761 GB, free: 464 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.901e-06/0.3765, allocations: 0 / 0.761 GB, free: 464 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.3765, allocations: 4 kB / 0.761 GB, free: 460 kB / 0.6355 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.0005277/0.3771, allocations: 425.7 kB / 0.7614 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3771, allocations: 11.97 kB / 0.7614 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.3772, allocations: 7.906 kB / 0.7614 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.3773, allocations: 171 kB / 0.7616 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.3774, allocations: 0 / 0.7616 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.3774, allocations: 8 kB / 0.7616 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.3776, allocations: 69.67 kB / 0.7616 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.258e-06/0.3776, allocations: 0 / 0.7616 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3776, allocations: 0 / 0.7616 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3777, allocations: 0 / 0.7616 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.3778, allocations: 43.97 kB / 0.7617 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.3782, allocations: 284.8 kB / 0.762 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.3784, allocations: 58.56 kB / 0.762 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.042e-05/0.3785, allocations: 40.92 kB / 0.7621 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.3785, allocations: 0 / 0.7621 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.3786, allocations: 30.56 kB / 0.7621 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 1.937e-06/0.3786, allocations: 0 / 0.7621 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0003425/0.3789, allocations: 139.2 kB / 0.7622 GB, free: 15 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/0.379, allocations: 77.11 kB / 0.7623 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.3792, allocations: 125 kB / 0.7624 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.3792, allocations: 29.7 kB / 0.7624 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.3793, allocations: 84.14 kB / 0.7625 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.3793, allocations: 11.84 kB / 0.7625 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.3793, allocations: 4 kB / 0.7625 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.3795, allocations: 314.8 kB / 0.7628 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.3796, allocations: 47.98 kB / 0.7629 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.3797, allocations: 59.97 kB / 0.7629 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.3799, allocations: 103.4 kB / 0.763 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.491e-06/0.3799, allocations: 7.938 kB / 0.763 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003547/0.3803, allocations: 204.9 kB / 0.7632 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.908e-05/0.3804, allocations: 63.41 kB / 0.7633 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.704e-06/0.3804, allocations: 3.938 kB / 0.7633 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3804, allocations: 0 / 0.7633 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.777e-05/0.3805, allocations: 7.984 kB / 0.7633 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.359e-06/0.3805, allocations: 0 / 0.7633 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.3806, allocations: 8 kB / 0.7633 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.3806, allocations: 11.95 kB / 0.7633 GB, free: 13.77 MB / 0.6511 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 () * 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.0001195/0.3808, allocations: 138.7 kB / 0.7635 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.3808, allocations: 7.906 kB / 0.7635 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.3809, allocations: 4.031 kB / 0.7635 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.929e-06/0.3809, allocations: 0 / 0.7635 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.305e-06/0.3809, allocations: 0 / 0.7635 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.259e-06/0.3809, allocations: 0 / 0.7635 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.3811, allocations: 177.6 kB / 0.7636 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.333e-06/0.3812, allocations: 0 / 0.7636 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/0.3812, allocations: 8 kB / 0.7636 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.191e-06/0.3812, allocations: 0 / 0.7636 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.3812, allocations: 0 / 0.7636 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.239e-06/0.3813, allocations: 0 / 0.7636 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.876e-06/0.3813, allocations: 7.969 kB / 0.7637 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.3816, allocations: 245 kB / 0.7639 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.3817, allocations: 77.11 kB / 0.764 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.3817, allocations: 4 kB / 0.764 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.3818, allocations: 12.02 kB / 0.764 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.3819, allocations: 8 kB / 0.764 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.382, allocations: 8 kB / 0.764 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.5e-05/0.3821, allocations: 99.64 kB / 0.7641 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.45e-07/0.3821, allocations: 0 / 0.7641 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004832/0.3826, allocations: 83.84 kB / 0.7642 GB, free: 12.81 MB / 0.6511 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) * 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.0003551/0.3829, allocations: 151.2 kB / 0.7643 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003692/0.3833, allocations: 230.8 kB / 0.7645 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.567e-06/0.3833, allocations: 0 / 0.7645 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.3835, allocations: 107.3 kB / 0.7646 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.3837, allocations: 5.984 kB / 0.7646 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.384, allocations: 120.9 kB / 0.7648 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.3844, allocations: 0.6887 MB / 0.7654 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.056e-05/0.3845, allocations: 3.984 kB / 0.7654 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.3845, allocations: 15.44 kB / 0.7654 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.507e-06/0.3845, allocations: 0 / 0.7654 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of Templates: time 0.005178/0.3897, allocations: 1.584 MB / 0.767 GB, free: 9.82 MB / 0.6511 GB