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.01036/0.01036, allocations: 220.8 kB / 15.17 MB, free: 5.93 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.001085/0.001085, allocations: 180 kB / 16.06 MB, free: 5.828 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.701/3.701, allocations: 389.1 MB / 405.9 MB, free: 11.83 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.76/3.76, allocations: 472.3 MB / 0.9018 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005847/0.000585, allocations: 15.31 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1278, allocations: 98.73 MB / 1.104 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001233/0.129, allocations: 1.136 MB / 1.105 GB, free: 40.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1301, allocations: 0.7617 MB / 1.106 GB, free: 40.19 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.362e-05/0.1301, allocations: 3.938 kB / 1.106 GB, free: 40.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.915e-05/0.1302, allocations: 0 / 1.106 GB, free: 40.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.285e-05/0.1303, allocations: 11.92 kB / 1.106 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005103/0.1308, allocations: 130.5 kB / 1.106 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.726e-05/0.1308, allocations: 35.92 kB / 1.106 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.819e-05/0.1309, allocations: 0 / 1.106 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.406e-05/0.131, allocations: 11.98 kB / 1.106 GB, free: 40 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.131, allocations: 19.92 kB / 1.106 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.131, allocations: 0 / 1.106 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002817/0.1313, allocations: 187.7 kB / 1.106 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.718e-05/0.1314, allocations: 10.59 kB / 1.106 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.1314, allocations: 29.64 kB / 1.106 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.1316, allocations: 127.8 kB / 1.106 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.74e-06/0.1316, allocations: 0 / 1.106 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.196e-06/0.1316, allocations: 0 / 1.106 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.094e-06/0.1316, allocations: 0 / 1.106 GB, free: 39.63 MB / 0.6042 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.0003623/0.132, allocations: 430.1 kB / 1.107 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1321, allocations: 12.03 kB / 1.107 GB, free: 39.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.1321, allocations: 4 kB / 1.107 GB, free: 39.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.846e-05/0.1322, allocations: 171 kB / 1.107 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.1322, allocations: 4 kB / 1.107 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.1323, allocations: 0 / 1.107 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.1324, allocations: 80.03 kB / 1.107 GB, free: 38.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.144e-06/0.1325, allocations: 3.938 kB / 1.107 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1325, allocations: 0 / 1.107 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.752e-06/0.1325, allocations: 3.938 kB / 1.107 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.1326, allocations: 55.42 kB / 1.107 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.133, allocations: 272.9 kB / 1.107 GB, free: 38.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.1331, allocations: 70.53 kB / 1.108 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.1333, allocations: 47.47 kB / 1.108 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.1333, allocations: 4 kB / 1.108 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.1333, allocations: 34.5 kB / 1.108 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.163e-06/0.1333, allocations: 0 / 1.108 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004219/0.1337, allocations: 195.5 kB / 1.108 GB, free: 38.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.1338, allocations: 77.11 kB / 1.108 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.496e-05/0.1339, allocations: 129.7 kB / 1.108 GB, free: 37.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.1339, allocations: 29.7 kB / 1.108 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.134, allocations: 84.14 kB / 1.108 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.134, allocations: 12.81 kB / 1.108 GB, free: 37.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.134, allocations: 0 / 1.108 GB, free: 37.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.021e-05/0.1341, allocations: 317.9 kB / 1.108 GB, free: 37.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.1342, allocations: 59.97 kB / 1.108 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.1343, allocations: 63.91 kB / 1.109 GB, free: 37.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.1345, allocations: 123.4 kB / 1.109 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.333e-06/0.1345, allocations: 0 / 1.109 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003189/0.1348, allocations: 218.9 kB / 1.109 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.86e-05/0.1349, allocations: 63.41 kB / 1.109 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.853e-06/0.1349, allocations: 0 / 1.109 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1349, allocations: 6.234 kB / 1.109 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.635e-05/0.135, allocations: 4 kB / 1.109 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.832e-06/0.135, allocations: 0 / 1.109 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.152e-05/0.1351, allocations: 11.91 kB / 1.109 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.1351, allocations: 3.094 kB / 1.109 GB, free: 36.84 MB / 0.6042 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 8.465e-05/0.1352, allocations: 147.5 kB / 1.109 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/0.1352, allocations: 7.953 kB / 1.109 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.068e-05/0.1353, allocations: 7.906 kB / 1.109 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.633e-06/0.1353, allocations: 0.7031 kB / 1.109 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.548e-06/0.1353, allocations: 3.938 kB / 1.109 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.267e-06/0.1353, allocations: 7.984 kB / 1.109 GB, free: 36.65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.1355, allocations: 167.3 kB / 1.109 GB, free: 36.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.669e-06/0.1355, allocations: 0 / 1.109 GB, free: 36.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.1355, allocations: 11.92 kB / 1.109 GB, free: 36.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.651e-06/0.1355, allocations: 3.953 kB / 1.109 GB, free: 36.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1356, allocations: 5.5 kB / 1.109 GB, free: 36.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.024e-06/0.1356, allocations: 4 kB / 1.109 GB, free: 36.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.516e-06/0.1356, allocations: 0 / 1.109 GB, free: 36.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.1359, allocations: 244.4 kB / 1.11 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/0.1359, allocations: 81.02 kB / 1.11 GB, free: 36.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.1359, allocations: 7.953 kB / 1.11 GB, free: 36.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.957e-05/0.136, allocations: 15.42 kB / 1.11 GB, free: 36.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.854e-05/0.1361, allocations: 11.98 kB / 1.11 GB, free: 36.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.633e-06/0.1362, allocations: 0 / 1.11 GB, free: 36.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.081e-05/0.1362, allocations: 99.64 kB / 1.11 GB, free: 35.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.79e-07/0.1362, allocations: 0 / 1.11 GB, free: 35.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003781/0.1366, allocations: 56 kB / 1.11 GB, free: 35.88 MB / 0.6042 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.0002506/0.1369, allocations: 162 kB / 1.11 GB, free: 35.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003257/0.1372, allocations: 249.8 kB / 1.11 GB, free: 35.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.407e-06/0.1373, allocations: 0 / 1.11 GB, free: 35.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.1374, allocations: 103.4 kB / 1.11 GB, free: 35.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.1377, allocations: 4 kB / 1.11 GB, free: 35.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.138, allocations: 183.4 kB / 1.11 GB, free: 35.13 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.1382, allocations: 0.6888 MB / 1.111 GB, free: 34.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.665e-05/0.1382, allocations: 0 / 1.111 GB, free: 34.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.469e-05/0.1382, allocations: 7.438 kB / 1.111 GB, free: 34.41 MB / 0.6042 GB Notification: Performance of SimCode: time 1.282e-06/0.1382, allocations: 0 / 1.111 GB, free: 34.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.00447/0.1427, allocations: 1.634 MB / 1.113 GB, free: 32.86 MB / 0.6042 GB