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.001132/0.001132, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.441/1.441, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.676/1.676, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.001322/0.001322, allocations: 67.48 kB / 0.671 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2587, allocations: 114.5 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003071/0.2618, allocations: 1.509 MB / 0.7843 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.2633, allocations: 0.825 MB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.2634, allocations: 0 / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.972e-05/0.2635, allocations: 0 / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.074e-05/0.2636, allocations: 7.938 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007402/0.2643, allocations: 148.1 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.2645, allocations: 47.95 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.2645, allocations: 11.94 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.98e-05/0.2646, allocations: 19.92 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.907e-05/0.2647, allocations: 15.92 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.2647, allocations: 4 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.265, allocations: 199.7 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.2651, allocations: 19.92 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.136e-05/0.2651, allocations: 19.86 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.2655, allocations: 191.6 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2655, allocations: 0 / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2655, allocations: 0 / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.2655, allocations: 0 / 0.7858 GB, free: 10.87 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.000588/0.2661, allocations: 430.7 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.2661, allocations: 12.03 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.2662, allocations: 4.938 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.2663, allocations: 168.3 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.2663, allocations: 4.375 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.2664, allocations: 8.062 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.2666, allocations: 81.59 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.2666, allocations: 4 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.2666, allocations: 0 / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.2666, allocations: 0 / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.2667, allocations: 43.97 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.2671, allocations: 284.8 kB / 0.7868 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.2672, allocations: 54.55 kB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.221e-05/0.2673, allocations: 48.91 kB / 0.7869 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.2674, allocations: 3.938 kB / 0.7869 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.2674, allocations: 34.56 kB / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.2674, allocations: 0 / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003763/0.2678, allocations: 191.2 kB / 0.7871 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.2678, allocations: 77.11 kB / 0.7872 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.2679, allocations: 121.8 kB / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.268, allocations: 29.7 kB / 0.7873 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.268, allocations: 84.14 kB / 0.7874 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.268, allocations: 7.906 kB / 0.7874 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.2681, allocations: 21.72 kB / 0.7874 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.2682, allocations: 326.8 kB / 0.7877 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.2683, allocations: 55.97 kB / 0.7878 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.102e-05/0.2684, allocations: 64.03 kB / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.2686, allocations: 197.9 kB / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2686, allocations: 0 / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00027/0.2689, allocations: 217 kB / 0.7883 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.965e-05/0.269, allocations: 63.39 kB / 0.7883 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.269, allocations: 4 kB / 0.7883 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.269, allocations: 7.984 kB / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.606e-05/0.2691, allocations: 0 / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2691, allocations: 0 / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.851e-05/0.2691, allocations: 11.98 kB / 0.7883 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.2692, allocations: 4 kB / 0.7883 GB, free: 7.969 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.0001068/0.2693, allocations: 147.4 kB / 0.7885 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.2693, allocations: 11.91 kB / 0.7885 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.397e-05/0.2693, allocations: 7.891 kB / 0.7885 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.2693, allocations: 4 kB / 0.7885 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2694, allocations: 0 / 0.7885 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2694, allocations: 4 kB / 0.7885 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.2695, allocations: 177.6 kB / 0.7887 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.2695, allocations: 0 / 0.7887 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.691e-05/0.2696, allocations: 4 kB / 0.7887 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2696, allocations: 0 / 0.7887 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.2696, allocations: 3.938 kB / 0.7887 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2696, allocations: 0 / 0.7887 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2696, allocations: 0 / 0.7887 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.2699, allocations: 257 kB / 0.7889 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.27, allocations: 85.03 kB / 0.789 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.27, allocations: 4 kB / 0.789 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.595e-05/0.2701, allocations: 4 kB / 0.789 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.2702, allocations: 3.984 kB / 0.789 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.2702, allocations: 7.938 kB / 0.789 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.118e-05/0.2703, allocations: 99.27 kB / 0.7891 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2703, allocations: 4.031 kB / 0.7891 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003384/0.2706, allocations: 52 kB / 0.7892 GB, free: 6.996 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.0002708/0.2709, allocations: 159.1 kB / 0.7893 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003295/0.2712, allocations: 242.7 kB / 0.7896 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2713, allocations: 0 / 0.7896 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.2714, allocations: 103.4 kB / 0.7897 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.2716, allocations: 12.06 kB / 0.7897 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003746/0.272, allocations: 185.3 kB / 0.7899 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.2723, allocations: 0.6924 MB / 0.7905 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.448e-05/0.2723, allocations: 0 / 0.7905 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.552e-05/0.2724, allocations: 7.438 kB / 0.7905 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2724, allocations: 0 / 0.7905 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of Templates: time 0.004182/0.2766, allocations: 1.683 MB / 0.7922 GB, free: 3.84 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)