Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 192.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.1 MB / 222.4 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.7/1.7, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 69.45 kB / 0.6715 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2643, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003082/0.2675, allocations: 1.445 MB / 0.7848 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.2689, allocations: 0.817 MB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.659e-05/0.2689, allocations: 0 / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.2691, allocations: 7.938 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.2691, allocations: 0 / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006303/0.2698, allocations: 183.1 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.2699, allocations: 43.91 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.687e-05/0.27, allocations: 15.92 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.933e-05/0.27, allocations: 15.94 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.634e-05/0.2701, allocations: 19.91 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.2701, allocations: 4 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.2704, allocations: 207.7 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.2705, allocations: 4 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.2705, allocations: 23.86 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.2708, allocations: 183.6 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2708, allocations: 4 kB / 0.7863 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2709, allocations: 0 / 0.7863 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2709, allocations: 0 / 0.7863 GB, free: 10.51 MB / 0.6075 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.0005523/0.2714, allocations: 426.7 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2715, allocations: 19.91 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.2715, allocations: 4.938 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.2717, allocations: 172.3 kB / 0.7869 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.2717, allocations: 4.375 kB / 0.7869 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.2717, allocations: 4.125 kB / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.272, allocations: 73.67 kB / 0.7869 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.272, allocations: 3.938 kB / 0.7869 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.272, allocations: 4 kB / 0.7869 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.272, allocations: 0 / 0.7869 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.2721, allocations: 47.95 kB / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000581/0.2727, allocations: 284.8 kB / 0.7873 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.2729, allocations: 58.53 kB / 0.7873 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.875e-05/0.273, allocations: 48.91 kB / 0.7874 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.273, allocations: 0 / 0.7874 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.273, allocations: 38.56 kB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.273, allocations: 0 / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003891/0.2734, allocations: 191.2 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.2735, allocations: 77.11 kB / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.9e-05/0.2736, allocations: 121.8 kB / 0.7878 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.2736, allocations: 29.7 kB / 0.7878 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.2737, allocations: 84.14 kB / 0.7879 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.2737, allocations: 7.906 kB / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.2737, allocations: 29.73 kB / 0.7879 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002182/0.2739, allocations: 318.8 kB / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.2741, allocations: 59.95 kB / 0.7883 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.172e-05/0.2742, allocations: 51.97 kB / 0.7883 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.2744, allocations: 193.9 kB / 0.7885 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2744, allocations: 0 / 0.7885 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003838/0.2748, allocations: 224.9 kB / 0.7887 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.281e-05/0.2748, allocations: 71.33 kB / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2749, allocations: 0 / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.2749, allocations: 4 kB / 0.7888 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.17e-05/0.2749, allocations: 0 / 0.7888 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.275, allocations: 0 / 0.7888 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.95e-05/0.275, allocations: 11.98 kB / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.275, allocations: 4 kB / 0.7888 GB, free: 7.605 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.2751, allocations: 147.5 kB / 0.789 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.2752, allocations: 7.906 kB / 0.789 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.2752, allocations: 11.91 kB / 0.789 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.2752, allocations: 0 / 0.789 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2752, allocations: 0 / 0.789 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.2752, allocations: 4 kB / 0.789 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.2755, allocations: 177.6 kB / 0.7891 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2755, allocations: 0 / 0.7891 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.798e-05/0.2755, allocations: 4 kB / 0.7892 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.2755, allocations: 0 / 0.7892 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.2755, allocations: 0 / 0.7892 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.2756, allocations: 0 / 0.7892 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2756, allocations: 7.938 kB / 0.7892 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.2758, allocations: 257 kB / 0.7894 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.2759, allocations: 85.05 kB / 0.7895 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.2759, allocations: 4 kB / 0.7895 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.276, allocations: 4 kB / 0.7895 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.2761, allocations: 3.984 kB / 0.7895 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.2762, allocations: 4 kB / 0.7895 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.903e-05/0.2762, allocations: 103.3 kB / 0.7896 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2762, allocations: 0 / 0.7896 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003275/0.2766, allocations: 59.98 kB / 0.7897 GB, free: 6.629 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002888/0.2769, allocations: 155.1 kB / 0.7898 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003658/0.2772, allocations: 242.7 kB / 0.79 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.2772, allocations: 4 kB / 0.79 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.2774, allocations: 103.4 kB / 0.7901 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.2776, allocations: 13.09 kB / 0.7901 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000494/0.2781, allocations: 177.4 kB / 0.7903 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.2785, allocations: 0.6846 MB / 0.791 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.498e-05/0.2785, allocations: 0 / 0.791 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.2785, allocations: 11.44 kB / 0.791 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2785, allocations: 4.062 kB / 0.791 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of Templates: time 0.004582/0.2831, allocations: 1.76 MB / 0.7927 GB, free: 3.406 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)