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.601/4.601, allocations: 0.5623 GB / 0.5769 GB, free: 3.293 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.00235/0.00235, allocations: 358.3 kB / 0.644 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 3.742/3.742, allocations: 410.7 MB / 1.112 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.001673/0.001673, allocations: 168.2 kB / 1.225 GB, free: 35.92 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004916, allocations: 12 kB / 1.348 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1508, allocations: 115.3 MB / 1.461 GB, free: 6.609 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001327/0.1522, allocations: 1.149 MB / 1.462 GB, free: 5.441 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1533, allocations: 0.7593 MB / 1.463 GB, free: 4.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.935e-05/0.1533, allocations: 0 / 1.463 GB, free: 4.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.616e-05/0.1534, allocations: 7.984 kB / 1.463 GB, free: 4.672 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.956e-05/0.1535, allocations: 11.88 kB / 1.463 GB, free: 4.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005188/0.154, allocations: 123.8 kB / 1.463 GB, free: 4.539 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.74e-05/0.1541, allocations: 31.92 kB / 1.463 GB, free: 4.508 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.649e-05/0.1541, allocations: 7.984 kB / 1.463 GB, free: 4.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.851e-05/0.1542, allocations: 4 kB / 1.463 GB, free: 4.496 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.548e-05/0.1542, allocations: 19.92 kB / 1.463 GB, free: 4.477 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.1543, allocations: 4 kB / 1.463 GB, free: 4.473 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.1546, allocations: 191.6 kB / 1.463 GB, free: 4.285 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.919e-05/0.1546, allocations: 11.94 kB / 1.463 GB, free: 4.273 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.1547, allocations: 29.7 kB / 1.463 GB, free: 4.238 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.1549, allocations: 128 kB / 1.463 GB, free: 4.113 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1549, allocations: 0 / 1.463 GB, free: 4.113 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2e-06/0.1549, allocations: 0 / 1.463 GB, free: 4.113 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.375e-06/0.1549, allocations: 0 / 1.463 GB, free: 4.113 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.0003671/0.1553, allocations: 426.7 kB / 1.464 GB, free: 3.637 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.1553, allocations: 8.031 kB / 1.464 GB, free: 3.629 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.1554, allocations: 11.91 kB / 1.464 GB, free: 3.617 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.849e-05/0.1554, allocations: 174.9 kB / 1.464 GB, free: 3.406 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.1555, allocations: 4 kB / 1.464 GB, free: 3.402 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.1555, allocations: 0 / 1.464 GB, free: 3.402 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.1557, allocations: 77.61 kB / 1.464 GB, free: 3.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.049e-06/0.1557, allocations: 0 / 1.464 GB, free: 3.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1557, allocations: 0 / 1.464 GB, free: 3.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.691e-06/0.1557, allocations: 0 / 1.464 GB, free: 3.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.1559, allocations: 63.95 kB / 1.464 GB, free: 3.258 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.1563, allocations: 280.8 kB / 1.464 GB, free: 2.934 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.1564, allocations: 58.55 kB / 1.464 GB, free: 2.867 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.1565, allocations: 56.84 kB / 1.464 GB, free: 2.809 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.1565, allocations: 0 / 1.464 GB, free: 2.809 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.1566, allocations: 30.56 kB / 1.464 GB, free: 2.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.939e-06/0.1566, allocations: 0 / 1.464 GB, free: 2.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004245/0.157, allocations: 187.3 kB / 1.464 GB, free: 2.574 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.1571, allocations: 89.09 kB / 1.465 GB, free: 2.469 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.613e-05/0.1572, allocations: 129.8 kB / 1.465 GB, free: 2.332 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.1572, allocations: 25.7 kB / 1.465 GB, free: 2.301 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.1572, allocations: 88.05 kB / 1.465 GB, free: 2.211 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.1573, allocations: 7.906 kB / 1.465 GB, free: 2.203 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.325e-06/0.1573, allocations: 0 / 1.465 GB, free: 2.203 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.302e-05/0.1573, allocations: 326.8 kB / 1.465 GB, free: 1.875 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.1575, allocations: 55.91 kB / 1.465 GB, free: 1.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.1576, allocations: 67.95 kB / 1.465 GB, free: 1.754 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.1577, allocations: 119.4 kB / 1.465 GB, free: 1.625 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.183e-06/0.1578, allocations: 0 / 1.465 GB, free: 1.625 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003177/0.1581, allocations: 217 kB / 1.466 GB, free: 1.395 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.128e-05/0.1582, allocations: 63.39 kB / 1.466 GB, free: 1.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.1582, allocations: 0 / 1.466 GB, free: 1.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1582, allocations: 4 kB / 1.466 GB, free: 1.316 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.638e-05/0.1583, allocations: 4 kB / 1.466 GB, free: 1.312 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.322e-06/0.1583, allocations: 0 / 1.466 GB, free: 1.312 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.928e-05/0.1584, allocations: 19.8 kB / 1.466 GB, free: 1.293 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.1584, allocations: 0 / 1.466 GB, free: 1.293 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.0001394/0.1586, allocations: 147.5 kB / 1.466 GB, free: 1.133 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.1586, allocations: 4 kB / 1.466 GB, free: 1.129 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.9e-05/0.1586, allocations: 15.83 kB / 1.466 GB, free: 1.109 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.084e-06/0.1587, allocations: 4 kB / 1.466 GB, free: 1.105 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.789e-06/0.1587, allocations: 4 kB / 1.466 GB, free: 1.102 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.331e-06/0.1587, allocations: 0 / 1.466 GB, free: 1.102 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.1589, allocations: 177.5 kB / 1.466 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.001e-06/0.1589, allocations: 0 / 1.466 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-05/0.159, allocations: 4.234 kB / 1.466 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.08e-06/0.159, allocations: 0 / 1.466 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.159, allocations: 4 kB / 1.466 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.08e-06/0.159, allocations: 0 / 1.466 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.152e-06/0.159, allocations: 0 / 1.466 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.1594, allocations: 257 kB / 1.466 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.1595, allocations: 85.09 kB / 1.466 GB, free: 0.4961 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.1595, allocations: 0 / 1.466 GB, free: 0.4961 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1597, allocations: 8 kB / 1.466 GB, free: 500 kB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.1598, allocations: 7.984 kB / 1.466 GB, free: 492 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.1598, allocations: 8.031 kB / 1.466 GB, free: 484 kB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.839e-05/0.1599, allocations: 91.27 kB / 1.466 GB, free: 392 kB / 0.6042 GB Notification: Performance of sort global known variables: time 7.5e-07/0.1599, allocations: 3.938 kB / 1.466 GB, free: 388 kB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004145/0.1603, allocations: 67.91 kB / 1.466 GB, free: 320 kB / 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.0003145/0.1606, allocations: 151.7 kB / 1.467 GB, free: 160 kB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004429/0.1611, allocations: 242.7 kB / 1.467 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1611, allocations: 0 / 1.467 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.1613, allocations: 107.4 kB / 1.467 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.1616, allocations: 3.953 kB / 1.467 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.162, allocations: 188.6 kB / 1.467 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.1624, allocations: 0.6927 MB / 1.468 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.682e-05/0.1624, allocations: 3.938 kB / 1.468 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.815e-05/0.1625, allocations: 7.438 kB / 1.468 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of SimCode: time 1.419e-06/0.1625, allocations: 0 / 1.468 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of Templates: time 0.0051/0.1676, allocations: 1.629 MB / 1.469 GB, free: 13.24 MB / 0.6198 GB