Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.157/2.157, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 178.7 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.394/2.394, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00116/0.001159, allocations: 104.2 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004909, allocations: 15.27 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2152, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001765/0.2171, allocations: 1.152 MB / 0.9 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.2185, allocations: 0.7746 MB / 0.9008 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.149e-05/0.2185, allocations: 0 / 0.9008 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 6.69e-05/0.2186, allocations: 3.938 kB / 0.9008 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.335e-05/0.2187, allocations: 0 / 0.9008 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006491/0.2193, allocations: 126.5 kB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.905e-05/0.2194, allocations: 27.97 kB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.923e-05/0.2195, allocations: 0 / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.073e-05/0.2196, allocations: 19.86 kB / 0.901 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.425e-05/0.2196, allocations: 15.98 kB / 0.901 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.2196, allocations: 0 / 0.901 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003331/0.22, allocations: 167.7 kB / 0.9011 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.238e-05/0.22, allocations: 7.984 kB / 0.9011 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.2201, allocations: 37.64 kB / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.2203, allocations: 131.8 kB / 0.9013 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2204, allocations: 4 kB / 0.9013 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2204, allocations: 0 / 0.9013 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2204, allocations: 0 / 0.9013 GB, free: 62.97 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.0004618/0.2209, allocations: 426.8 kB / 0.9017 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.2209, allocations: 12.02 kB / 0.9017 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.221, allocations: 7.953 kB / 0.9017 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.576e-05/0.2211, allocations: 174.9 kB / 0.9019 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.2211, allocations: 4 kB / 0.9019 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.2211, allocations: 4 kB / 0.9019 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.2214, allocations: 81.64 kB / 0.902 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.2214, allocations: 0 / 0.902 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.2214, allocations: 4 kB / 0.902 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.2214, allocations: 3.953 kB / 0.902 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.2216, allocations: 51.91 kB / 0.902 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.222, allocations: 276.9 kB / 0.9023 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.2222, allocations: 58.55 kB / 0.9024 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.2222, allocations: 0 / 0.9024 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.2223, allocations: 38.59 kB / 0.9024 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.515e-06/0.2223, allocations: 0 / 0.9024 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005411/0.2228, allocations: 276.3 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.2229, allocations: 81.11 kB / 0.9027 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.843e-05/0.223, allocations: 121.8 kB / 0.9028 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.223, allocations: 25.7 kB / 0.9029 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.2231, allocations: 88.14 kB / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.2231, allocations: 7.906 kB / 0.903 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-06/0.2231, allocations: 4.031 kB / 0.903 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.318e-05/0.2232, allocations: 318.8 kB / 0.9033 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.2233, allocations: 59.97 kB / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.2235, allocations: 55.97 kB / 0.9034 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.2237, allocations: 123.3 kB / 0.9035 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.2237, allocations: 0 / 0.9035 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003815/0.2241, allocations: 224.9 kB / 0.9037 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/0.2241, allocations: 63.41 kB / 0.9038 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.2242, allocations: 64 / 0.9038 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.2242, allocations: 11.95 kB / 0.9038 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.754e-05/0.2243, allocations: 11.92 kB / 0.9038 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2243, allocations: 0 / 0.9038 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.721e-05/0.2244, allocations: 7.938 kB / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.2244, allocations: 4 kB / 0.9038 GB, free: 60.11 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 0.0001009/0.2245, allocations: 151.5 kB / 0.904 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.2246, allocations: 7.906 kB / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.364e-05/0.2246, allocations: 3.906 kB / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.2246, allocations: 0 / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2247, allocations: 3.953 kB / 0.904 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2247, allocations: 0 / 0.904 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.2248, allocations: 177.6 kB / 0.9041 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2249, allocations: 0 / 0.9041 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/0.2249, allocations: 7.984 kB / 0.9041 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.2249, allocations: 4 kB / 0.9041 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.2249, allocations: 0 / 0.9041 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.225, allocations: 3.938 kB / 0.9042 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.225, allocations: 0 / 0.9042 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.2253, allocations: 253.2 kB / 0.9044 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.2254, allocations: 81.02 kB / 0.9045 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.2254, allocations: 8.031 kB / 0.9045 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.2255, allocations: 7.984 kB / 0.9045 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.2256, allocations: 8 kB / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.2257, allocations: 0 / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.883e-05/0.2257, allocations: 103.2 kB / 0.9046 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2257, allocations: 0 / 0.9046 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004197/0.2262, allocations: 56 kB / 0.9046 GB, free: 59.14 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.0003257/0.2265, allocations: 151.2 kB / 0.9048 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004086/0.2269, allocations: 254.9 kB / 0.905 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.227, allocations: 0 / 0.905 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.2271, allocations: 103.4 kB / 0.9051 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.2273, allocations: 4 kB / 0.9051 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.2277, allocations: 176.7 kB / 0.9053 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.2279, allocations: 0.6927 MB / 0.906 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.085e-05/0.2279, allocations: 3.984 kB / 0.906 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.228, allocations: 7.438 kB / 0.906 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of SimCode: time 6.22e-07/0.228, allocations: 0 / 0.906 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.005159/0.2331, allocations: 1.626 MB / 0.9076 GB, free: 56.07 MB / 0.6042 GB