Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.82/4.82, allocations: 0.5623 GB / 0.5776 GB, free: 3.371 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002522/0.002522, allocations: 367.1 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.044/4.044, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001803/0.001803, allocations: 171.5 kB / 1.226 GB, free: 36.02 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.000478, allocations: 12.5 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1993, allocations: 115.3 MB / 1.461 GB, free: 6.629 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001614/0.2009, allocations: 1.149 MB / 1.462 GB, free: 5.461 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.2023, allocations: 0.7632 MB / 1.463 GB, free: 4.695 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.489e-05/0.2024, allocations: 0 / 1.463 GB, free: 4.695 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.26e-05/0.2024, allocations: 0 / 1.463 GB, free: 4.695 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.851e-05/0.2025, allocations: 7.938 kB / 1.463 GB, free: 4.688 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006793/0.2032, allocations: 123.7 kB / 1.463 GB, free: 4.566 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.015e-05/0.2033, allocations: 35.91 kB / 1.463 GB, free: 4.531 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.883e-05/0.2034, allocations: 4 kB / 1.463 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.089e-05/0.2034, allocations: 19.97 kB / 1.463 GB, free: 4.508 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.418e-05/0.2035, allocations: 15.92 kB / 1.463 GB, free: 4.492 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.2035, allocations: 4 kB / 1.463 GB, free: 4.488 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003525/0.2039, allocations: 179.7 kB / 1.464 GB, free: 4.312 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.2039, allocations: 7.984 kB / 1.464 GB, free: 4.305 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.204, allocations: 37.64 kB / 1.464 GB, free: 4.262 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.2042, allocations: 124 kB / 1.464 GB, free: 4.141 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.2042, allocations: 4 kB / 1.464 GB, free: 4.137 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2042, allocations: 0 / 1.464 GB, free: 4.137 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2042, allocations: 4 kB / 1.464 GB, free: 4.133 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.0004721/0.2047, allocations: 426.5 kB / 1.464 GB, free: 3.656 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.2048, allocations: 12.03 kB / 1.464 GB, free: 3.645 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.2048, allocations: 3.906 kB / 1.464 GB, free: 3.641 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.2049, allocations: 171 kB / 1.464 GB, free: 3.434 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.205, allocations: 4 kB / 1.464 GB, free: 3.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.205, allocations: 0 / 1.464 GB, free: 3.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.2052, allocations: 85.59 kB / 1.464 GB, free: 3.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2053, allocations: 0 / 1.464 GB, free: 3.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.2053, allocations: 0 / 1.464 GB, free: 3.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2053, allocations: 0 / 1.464 GB, free: 3.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.2055, allocations: 51.97 kB / 1.464 GB, free: 3.289 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.2059, allocations: 284.8 kB / 1.465 GB, free: 2.961 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.2061, allocations: 62.55 kB / 1.465 GB, free: 2.891 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.2062, allocations: 56.84 kB / 1.465 GB, free: 2.832 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.2062, allocations: 3.938 kB / 1.465 GB, free: 2.828 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.2063, allocations: 30.56 kB / 1.465 GB, free: 2.789 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.154e-06/0.2063, allocations: 0 / 1.465 GB, free: 2.789 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005298/0.2068, allocations: 187.3 kB / 1.465 GB, free: 2.594 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.2069, allocations: 81.14 kB / 1.465 GB, free: 2.496 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.815e-05/0.207, allocations: 129.7 kB / 1.465 GB, free: 2.359 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.207, allocations: 29.7 kB / 1.465 GB, free: 2.324 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.024e-05/0.207, allocations: 92.03 kB / 1.465 GB, free: 2.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.2071, allocations: 7.906 kB / 1.465 GB, free: 2.223 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-06/0.2071, allocations: 0 / 1.465 GB, free: 2.223 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.82e-05/0.2071, allocations: 314.8 kB / 1.466 GB, free: 1.906 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.2073, allocations: 63.95 kB / 1.466 GB, free: 1.844 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.2075, allocations: 67.91 kB / 1.466 GB, free: 1.777 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.2076, allocations: 115.4 kB / 1.466 GB, free: 1.652 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.2077, allocations: 0 / 1.466 GB, free: 1.652 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000384/0.2081, allocations: 217 kB / 1.466 GB, free: 1.422 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.85e-05/0.2081, allocations: 67.39 kB / 1.466 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.2081, allocations: 0 / 1.466 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.2082, allocations: 4 kB / 1.466 GB, free: 1.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.153e-05/0.2082, allocations: 4 kB / 1.466 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.2083, allocations: 0 / 1.466 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.815e-05/0.2084, allocations: 19.84 kB / 1.466 GB, free: 1.316 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.2084, allocations: 0 / 1.466 GB, free: 1.316 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.0001371/0.2085, allocations: 147.5 kB / 1.466 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.2086, allocations: 4.234 kB / 1.466 GB, free: 1.152 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.2086, allocations: 7.906 kB / 1.466 GB, free: 1.141 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.2086, allocations: 3.984 kB / 1.466 GB, free: 1.137 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2086, allocations: 0 / 1.466 GB, free: 1.137 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.2087, allocations: 88.95 kB / 1.466 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.2087, allocations: 7.891 kB / 1.466 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.2089, allocations: 11.98 kB / 1.467 GB, free: 1.012 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.209, allocations: 7.938 kB / 1.467 GB, free: 1.004 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004489/0.2094, allocations: 294 kB / 1.467 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004486/0.2099, allocations: 320.5 kB / 1.467 GB, free: 364 kB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001623/0.2101, allocations: 51.91 kB / 1.467 GB, free: 312 kB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.005e-05/0.2102, allocations: 103.3 kB / 1.467 GB, free: 208 kB / 0.6042 GB Notification: Performance of Backend: time 7.41e-07/0.2102, allocations: 0 / 1.467 GB, free: 208 kB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009849/0.2112, allocations: 326.2 kB / 1.468 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0005844/0.2118, allocations: 0.6418 MB / 1.468 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of Templates: time 0.005945/0.2178, allocations: 1.664 MB / 1.47 GB, free: 13.53 MB / 0.6198 GB