Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.708/1.708, allocations: 288.3 MB / 303.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 179.2 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205.4 MB / 0.6306 GB, free: 9.953 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000993/0.0009929, allocations: 97.11 kB / 0.7439 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004053/0.0004053, allocations: 11.97 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2589, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001563/0.2605, allocations: 1.141 MB / 0.9805 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.2617, allocations: 0.7706 MB / 0.9813 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.898e-05/0.2617, allocations: 4 kB / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.591e-05/0.2618, allocations: 7.984 kB / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.792e-05/0.2618, allocations: 0 / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005295/0.2624, allocations: 119.8 kB / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.917e-05/0.2624, allocations: 15.98 kB / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.726e-05/0.2625, allocations: 8 kB / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.231e-05/0.2626, allocations: 19.91 kB / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.237e-05/0.2626, allocations: 19.92 kB / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.2627, allocations: 4 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.2629, allocations: 163.8 kB / 0.9816 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/0.2629, allocations: 15.91 kB / 0.9817 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.263, allocations: 33.7 kB / 0.9817 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.2631, allocations: 124 kB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2632, allocations: 0 / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.455e-06/0.2632, allocations: 0 / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.2632, allocations: 4 kB / 0.9818 GB, free: 25.2 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.0004817/0.2637, allocations: 422.7 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.2637, allocations: 12.02 kB / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.2638, allocations: 11.89 kB / 0.9822 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.2639, allocations: 167 kB / 0.9824 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.2639, allocations: 4 kB / 0.9824 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.2639, allocations: 4 kB / 0.9824 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.2642, allocations: 85.58 kB / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.2642, allocations: 4 kB / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.2642, allocations: 0 / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.2642, allocations: 4 kB / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.2643, allocations: 51.97 kB / 0.9825 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.2648, allocations: 288.7 kB / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.2649, allocations: 66.48 kB / 0.9829 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.2649, allocations: 0 / 0.9829 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.265, allocations: 34.56 kB / 0.9829 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.265, allocations: 0 / 0.9829 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004521/0.2654, allocations: 264.5 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.2655, allocations: 81.14 kB / 0.9832 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.192e-05/0.2656, allocations: 129.7 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.2656, allocations: 25.7 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.2657, allocations: 96.03 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.2657, allocations: 3.906 kB / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-06/0.2657, allocations: 4 kB / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.495e-05/0.2658, allocations: 318.8 kB / 0.9838 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.866e-05/0.2659, allocations: 67.89 kB / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.718e-05/0.266, allocations: 63.97 kB / 0.9839 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.2661, allocations: 111.4 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2661, allocations: 0 / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002381/0.2663, allocations: 221 kB / 0.9842 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.738e-05/0.2664, allocations: 63.41 kB / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.2664, allocations: 0 / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.2664, allocations: 4 kB / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.854e-05/0.2665, allocations: 7.984 kB / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2665, allocations: 0 / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.2666, allocations: 11.91 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.2666, allocations: 4 kB / 0.9843 GB, free: 22.33 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 9.927e-05/0.2667, allocations: 147.5 kB / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.2667, allocations: 4 kB / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.2668, allocations: 7.906 kB / 0.9845 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2668, allocations: 7.938 kB / 0.9845 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.2668, allocations: 0 / 0.9845 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2668, allocations: 0 / 0.9845 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.267, allocations: 173.6 kB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.267, allocations: 3.938 kB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.671e-05/0.267, allocations: 7.984 kB / 0.9847 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.267, allocations: 3.938 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.267, allocations: 4 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.267, allocations: 0 / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.267, allocations: 0 / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.2673, allocations: 257.1 kB / 0.9849 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/0.2673, allocations: 81.11 kB / 0.985 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.2673, allocations: 4.062 kB / 0.985 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.568e-05/0.2674, allocations: 11.98 kB / 0.985 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.2676, allocations: 240 / 0.985 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.2676, allocations: 12.03 kB / 0.985 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.639e-05/0.2676, allocations: 95.27 kB / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.804e-06/0.2676, allocations: 0 / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003064/0.268, allocations: 67.83 kB / 0.9852 GB, free: 21.35 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.0002689/0.2682, allocations: 151.2 kB / 0.9853 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003292/0.2686, allocations: 250.7 kB / 0.9856 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2686, allocations: 0 / 0.9856 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.2687, allocations: 107.4 kB / 0.9857 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.2689, allocations: 3.953 kB / 0.9857 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.2693, allocations: 184.6 kB / 0.9858 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.2695, allocations: 0.6888 MB / 0.9865 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.965e-05/0.2695, allocations: 7.938 kB / 0.9865 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.562e-05/0.2695, allocations: 7.438 kB / 0.9865 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2695, allocations: 0 / 0.9865 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of Templates: time 0.004162/0.2737, allocations: 1.617 MB / 0.9881 GB, free: 18.29 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)