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.009206/0.009206, allocations: 107.4 kB / 15.06 MB, free: 5.562 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.001162/0.001162, allocations: 173.6 kB / 15.94 MB, free: 5.527 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 1.791/1.791, allocations: 194.6 MB / 211.3 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.24/2.24, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004694/0.0004697, allocations: 12 kB / 0.587 GB, free: 2.133 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5352/0.5357, allocations: 98.71 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001622/0.5374, allocations: 1.139 MB / 0.6845 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.5387, allocations: 0.7625 MB / 0.6852 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.5388, allocations: 0 / 0.6852 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 5.874e-05/0.5388, allocations: 2.078 kB / 0.6852 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.288e-05/0.5389, allocations: 5.109 kB / 0.6852 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/0.5395, allocations: 114.3 kB / 0.6853 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.636e-05/0.5396, allocations: 27.78 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.39e-05/0.5397, allocations: 9.672 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.914e-05/0.5397, allocations: 16.7 kB / 0.6854 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.804e-05/0.5398, allocations: 19.19 kB / 0.6854 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.5399, allocations: 1.781 kB / 0.6854 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003467/0.5402, allocations: 164.7 kB / 0.6856 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.5403, allocations: 6.297 kB / 0.6856 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.5403, allocations: 36.38 kB / 0.6856 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.5406, allocations: 124.4 kB / 0.6857 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.112e-06/0.5406, allocations: 1.281 kB / 0.6857 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.17e-06/0.5406, allocations: 0 / 0.6857 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.669e-06/0.5406, allocations: 0 / 0.6857 GB, free: 15.22 MB / 0.5261 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.0004153/0.541, allocations: 429 kB / 0.6861 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.5411, allocations: 8.844 kB / 0.6861 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.5411, allocations: 10.48 kB / 0.6861 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.168e-05/0.5412, allocations: 167.8 kB / 0.6863 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.5413, allocations: 2.031 kB / 0.6863 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.5413, allocations: 6.469 kB / 0.6863 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.5415, allocations: 86.56 kB / 0.6864 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.5415, allocations: 0 / 0.6864 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.5415, allocations: 1.125 kB / 0.6864 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.497e-06/0.5416, allocations: 9.688 kB / 0.6864 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.5417, allocations: 49.97 kB / 0.6865 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.5421, allocations: 272.1 kB / 0.6867 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.5423, allocations: 62.11 kB / 0.6868 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.5423, allocations: 3.938 kB / 0.6868 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.5424, allocations: 32.55 kB / 0.6868 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 2.326e-06/0.5424, allocations: 1.438 kB / 0.6868 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0005112/0.5429, allocations: 277.3 kB / 0.6871 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.5429, allocations: 79.86 kB / 0.6872 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.5431, allocations: 122.1 kB / 0.6873 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.5431, allocations: 26.8 kB / 0.6873 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.5431, allocations: 87.86 kB / 0.6874 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.5432, allocations: 6.734 kB / 0.6874 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.247e-06/0.5432, allocations: 0 / 0.6874 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.42e-05/0.5432, allocations: 318.7 kB / 0.6877 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.5434, allocations: 63.77 kB / 0.6878 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.5435, allocations: 63.02 kB / 0.6878 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.5437, allocations: 113.9 kB / 0.6879 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.529e-06/0.5437, allocations: 0 / 0.6879 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003845/0.5441, allocations: 221.2 kB / 0.6881 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.909e-05/0.5442, allocations: 69.98 kB / 0.6882 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.737e-06/0.5442, allocations: 4.547 kB / 0.6882 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.5442, allocations: 3.953 kB / 0.6882 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.816e-05/0.5443, allocations: 5.719 kB / 0.6882 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.2e-06/0.5443, allocations: 1.375 kB / 0.6882 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.23e-05/0.5444, allocations: 11.89 kB / 0.6882 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.5444, allocations: 2.062 kB / 0.6882 GB, free: 13 MB / 0.5261 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.0001028/0.5445, allocations: 150.1 kB / 0.6884 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.5446, allocations: 10.83 kB / 0.6884 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.5446, allocations: 6.594 kB / 0.6884 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.419e-06/0.5447, allocations: 9.016 kB / 0.6884 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.914e-06/0.5447, allocations: 3.953 kB / 0.6884 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.913e-06/0.5447, allocations: 1.609 kB / 0.6884 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.5449, allocations: 176 kB / 0.6886 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5449, allocations: 0 / 0.6886 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.5449, allocations: 3.812 kB / 0.6886 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.59e-06/0.5449, allocations: 1.125 kB / 0.6886 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.545, allocations: 5.281 kB / 0.6886 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.111e-06/0.545, allocations: 1.359 kB / 0.6886 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.545, allocations: 1.344 kB / 0.6886 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.5453, allocations: 250.1 kB / 0.6888 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.507e-05/0.5454, allocations: 82.83 kB / 0.6889 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.5454, allocations: 6.25 kB / 0.6889 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.5455, allocations: 11.69 kB / 0.6889 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.5456, allocations: 5.578 kB / 0.6889 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.5457, allocations: 1 kB / 0.6889 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.259e-05/0.5457, allocations: 104.6 kB / 0.689 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.07e-07/0.5457, allocations: 0 / 0.689 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004714/0.5462, allocations: 54.52 kB / 0.6891 GB, free: 12.23 MB / 0.5261 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.0003152/0.5465, allocations: 160.8 kB / 0.6892 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000396/0.547, allocations: 246.4 kB / 0.6895 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.547, allocations: 0 / 0.6895 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.5471, allocations: 100.5 kB / 0.6896 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.5473, allocations: 7.641 kB / 0.6896 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.5477, allocations: 183 kB / 0.6897 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.5479, allocations: 0.6914 MB / 0.6904 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.804e-05/0.5479, allocations: 1.156 kB / 0.6904 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.709e-05/0.548, allocations: 8.906 kB / 0.6904 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of SimCode: time 2.153e-06/0.548, allocations: 0 / 0.6904 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of Templates: time 0.005503/0.5535, allocations: 1.63 MB / 0.692 GB, free: 10.89 MB / 0.5261 GB