Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004229/0.004228, allocations: 231.2 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001155/0.001155, allocations: 175.3 kB / 16.7 MB, free: 5.453 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.762/3.762, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.85/3.85, allocations: 472.3 MB / 0.9024 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.0004888, allocations: 12.22 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1712, allocations: 98.73 MB / 1.105 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.744/0.9153, allocations: 126.1 MB / 1.228 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004262/0.9158, allocations: 95.47 kB / 1.228 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01943/0.9352, allocations: 3.2 MB / 1.231 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.635e-06/0.9353, allocations: 0 / 1.231 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.9353, allocations: 0 / 1.231 GB, free: 25.57 MB / 0.6198 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.0005729/0.9359, allocations: 440.7 kB / 1.231 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.936, allocations: 8.734 kB / 1.231 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/0.936, allocations: 11.19 kB / 1.231 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.9362, allocations: 167.5 kB / 1.232 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.9362, allocations: 4 kB / 1.232 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.9362, allocations: 7.125 kB / 1.232 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.9365, allocations: 78.95 kB / 1.232 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.9366, allocations: 0 / 1.232 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.9366, allocations: 0 / 1.232 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.9366, allocations: 0 / 1.232 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.9369, allocations: 55.33 kB / 1.232 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/0.9374, allocations: 280.8 kB / 1.232 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.9377, allocations: 62.78 kB / 1.232 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.9378, allocations: 54.55 kB / 1.232 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.9379, allocations: 0 / 1.232 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.9379, allocations: 30.56 kB / 1.232 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.064e-06/0.9379, allocations: 3.938 kB / 1.232 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0007012/0.9386, allocations: 195.2 kB / 1.232 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.9387, allocations: 81.81 kB / 1.232 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.9389, allocations: 131.2 kB / 1.233 GB, free: 24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.9389, allocations: 25.7 kB / 1.233 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.323e-05/0.939, allocations: 89.17 kB / 1.233 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.939, allocations: 4.609 kB / 1.233 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.9391, allocations: 2.594 kB / 1.233 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.9392, allocations: 320.5 kB / 1.233 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.9395, allocations: 56.38 kB / 1.233 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.9397, allocations: 56.66 kB / 1.233 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.9399, allocations: 114.2 kB / 1.233 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.9399, allocations: 0 / 1.233 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000543/0.9405, allocations: 219.3 kB / 1.233 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.9406, allocations: 65.98 kB / 1.233 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.9406, allocations: 0 / 1.233 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.9406, allocations: 3.062 kB / 1.233 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.583e-05/0.9407, allocations: 7.562 kB / 1.233 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.9408, allocations: 0 / 1.233 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.9409, allocations: 13.78 kB / 1.233 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.9409, allocations: 4.625 kB / 1.233 GB, free: 23.12 MB / 0.6198 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.0001548/0.9411, allocations: 153.2 kB / 1.234 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.9412, allocations: 8.562 kB / 1.234 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.9412, allocations: 7.594 kB / 1.234 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.9412, allocations: 4 kB / 1.234 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.9412, allocations: 5.078 kB / 1.234 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.9413, allocations: 0 / 1.234 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.9415, allocations: 172.7 kB / 1.234 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.9416, allocations: 3.938 kB / 1.234 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.815e-05/0.9416, allocations: 7.969 kB / 1.234 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.9416, allocations: 0.6562 kB / 1.234 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.9417, allocations: 4 kB / 1.234 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.9417, allocations: 0.6562 kB / 1.234 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.9417, allocations: 0 / 1.234 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005473/0.9423, allocations: 252 kB / 1.234 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.9423, allocations: 89.47 kB / 1.234 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.9424, allocations: 1.406 kB / 1.234 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.9426, allocations: 8.953 kB / 1.234 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/0.9427, allocations: 10.28 kB / 1.234 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.9427, allocations: 4 kB / 1.234 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001135/0.9428, allocations: 97.05 kB / 1.234 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.41e-07/0.9428, allocations: 0 / 1.234 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007603/0.9436, allocations: 73.47 kB / 1.234 GB, free: 22.23 MB / 0.6198 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.0008646/0.9445, allocations: 162.3 kB / 1.235 GB, free: 38.08 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005831/0.9451, allocations: 239.7 kB / 1.235 GB, free: 37.87 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.9451, allocations: 0 / 1.235 GB, free: 37.87 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.9453, allocations: 109 kB / 1.235 GB, free: 37.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.9458, allocations: 9.234 kB / 1.235 GB, free: 37.77 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005587/0.9464, allocations: 188.5 kB / 1.235 GB, free: 37.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.9468, allocations: 0.6879 MB / 1.236 GB, free: 36.89 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.482e-05/0.9468, allocations: 4 kB / 1.236 GB, free: 36.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.9468, allocations: 7.438 kB / 1.236 GB, free: 36.88 MB / 0.6355 GB Notification: Performance of SimCode: time 8.12e-07/0.9468, allocations: 0 / 1.236 GB, free: 36.88 MB / 0.6355 GB Notification: Performance of Templates: time 0.006959/0.9538, allocations: 1.608 MB / 1.237 GB, free: 36.08 MB / 0.6355 GB