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 2.531/2.531, allocations: 287.9 MB / 302.9 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001409/0.001409, allocations: 178.7 kB / 371.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.962/1.962, allocations: 205.4 MB / 0.6301 GB, free: 10.42 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 92.42 kB / 0.7434 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004689/0.0004691, allocations: 16.03 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1548, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001384/0.1563, allocations: 1.149 MB / 0.9799 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.1574, allocations: 0.767 MB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.741e-05/0.1575, allocations: 0 / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.727e-05/0.1576, allocations: 0 / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.875e-05/0.1576, allocations: 3.938 kB / 0.9806 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000524/0.1582, allocations: 127.7 kB / 0.9808 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.641e-05/0.1582, allocations: 19.97 kB / 0.9808 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.582e-05/0.1583, allocations: 11.98 kB / 0.9808 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.308e-05/0.1584, allocations: 7.938 kB / 0.9808 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.1584, allocations: 23.91 kB / 0.9808 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.1584, allocations: 0 / 0.9808 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.1587, allocations: 171.7 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.709e-05/0.1588, allocations: 8 kB / 0.981 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.1588, allocations: 33.7 kB / 0.981 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.159, allocations: 139.9 kB / 0.9812 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.159, allocations: 0 / 0.9812 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.011e-06/0.1591, allocations: 0 / 0.9812 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.744e-06/0.1591, allocations: 0 / 0.9812 GB, free: 25.72 MB / 0.6198 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.0003703/0.1594, allocations: 418.7 kB / 0.9816 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1595, allocations: 12.02 kB / 0.9816 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.1595, allocations: 11.91 kB / 0.9816 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.762e-05/0.1596, allocations: 171 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1597, allocations: 0 / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.1597, allocations: 8 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.1599, allocations: 77.64 kB / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.633e-06/0.1599, allocations: 4 kB / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1599, allocations: 0 / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.211e-06/0.1599, allocations: 0 / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.1601, allocations: 55.91 kB / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.1604, allocations: 280.8 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.1606, allocations: 58.55 kB / 0.9822 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.1606, allocations: 0 / 0.9822 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.1606, allocations: 42.59 kB / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.833e-06/0.1607, allocations: 0 / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004534/0.1611, allocations: 272.3 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.1612, allocations: 77.11 kB / 0.9826 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.943e-05/0.1613, allocations: 129.7 kB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1613, allocations: 29.7 kB / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/0.1613, allocations: 92.08 kB / 0.9828 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.1614, allocations: 7.906 kB / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-06/0.1614, allocations: 4 kB / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.176e-05/0.1614, allocations: 318.8 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.1616, allocations: 59.97 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.1617, allocations: 59.95 kB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1619, allocations: 115.4 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1619, allocations: 4 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003239/0.1622, allocations: 217 kB / 0.9836 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.1623, allocations: 67.39 kB / 0.9836 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.314e-06/0.1623, allocations: 4 kB / 0.9836 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1623, allocations: 0 / 0.9836 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.1624, allocations: 4 kB / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.472e-06/0.1624, allocations: 3.938 kB / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.271e-05/0.1625, allocations: 15.86 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.1625, allocations: 7.984 kB / 0.9837 GB, free: 22.86 MB / 0.6198 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.428e-05/0.1626, allocations: 143.5 kB / 0.9838 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.1626, allocations: 4 kB / 0.9838 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.084e-05/0.1627, allocations: 7.891 kB / 0.9838 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.857e-06/0.1627, allocations: 0 / 0.9838 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.974e-06/0.1627, allocations: 0 / 0.9838 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.1e-06/0.1627, allocations: 0 / 0.9838 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.1629, allocations: 181.6 kB / 0.984 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.99e-06/0.1629, allocations: 0 / 0.984 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.865e-05/0.1629, allocations: 4 kB / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.98e-06/0.163, allocations: 0 / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.163, allocations: 0 / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.139e-06/0.163, allocations: 4.062 kB / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.942e-06/0.163, allocations: 7.938 kB / 0.984 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.1633, allocations: 261 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.236e-05/0.1633, allocations: 81.09 kB / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.1634, allocations: 4 kB / 0.9843 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.826e-05/0.1635, allocations: 4 kB / 0.9843 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.423e-05/0.1636, allocations: 7.984 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.1636, allocations: 7.984 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.952e-05/0.1637, allocations: 95.7 kB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.73e-07/0.1637, allocations: 0 / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003902/0.1641, allocations: 63.94 kB / 0.9845 GB, free: 21.89 MB / 0.6198 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.0002617/0.1643, allocations: 155.4 kB / 0.9847 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003312/0.1647, allocations: 242.7 kB / 0.9849 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.751e-06/0.1647, allocations: 3.938 kB / 0.9849 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.1649, allocations: 107.4 kB / 0.985 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.165, allocations: 14.09 kB / 0.985 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.1654, allocations: 178.2 kB / 0.9852 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.1655, allocations: 0.6887 MB / 0.9858 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.741e-05/0.1656, allocations: 0 / 0.9858 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.526e-05/0.1656, allocations: 11.38 kB / 0.9859 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of SimCode: time 1.34e-06/0.1656, allocations: 4.062 kB / 0.9859 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.004437/0.1701, allocations: 1.623 MB / 0.9874 GB, free: 18.81 MB / 0.6198 GB