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.61/1.61, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.001455/0.001455, allocations: 172.9 kB / 361.4 MB, free: 6.809 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.674/1.674, allocations: 205.2 MB / 0.62 GB, free: 11.63 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008829/0.000883, allocations: 105.8 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.631e-05/1.662e-05, allocations: 4 kB / 0.8518 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6792/0.6792, allocations: 115.3 MB / 0.9644 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1915/0.8708, allocations: 138.8 MB / 1.1 GB, free: 1.062 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.8711, allocations: 95.38 kB / 1.1 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009805/0.8809, allocations: 3.191 MB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.853e-06/0.881, allocations: 3.5 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.881, allocations: 4 kB / 1.103 GB, free: 13.83 MB / 0.7136 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.0004775/0.8815, allocations: 429.7 kB / 1.104 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.8815, allocations: 8.031 kB / 1.104 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.8816, allocations: 8.938 kB / 1.104 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.8817, allocations: 178.9 kB / 1.104 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.8817, allocations: 0 / 1.104 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.8818, allocations: 4.812 kB / 1.104 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001035/0.8819, allocations: 35.98 kB / 1.104 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.882, allocations: 67.89 kB / 1.104 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.882, allocations: 0 / 1.104 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.882, allocations: 0 / 1.104 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.882, allocations: 3.938 kB / 1.104 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.8824, allocations: 273.2 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.794e-05/0.8825, allocations: 50.56 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.887e-05/0.8826, allocations: 40.92 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.8826, allocations: 0 / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.8826, allocations: 30.56 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.8826, allocations: 0 / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002686/0.8829, allocations: 113.6 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.883, allocations: 77.11 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.484e-05/0.8831, allocations: 118.8 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.8831, allocations: 25.7 kB / 1.105 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.8832, allocations: 96.03 kB / 1.105 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.8832, allocations: 3.906 kB / 1.105 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.8832, allocations: 0 / 1.105 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.8834, allocations: 318.8 kB / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.777e-05/0.8834, allocations: 48 kB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.189e-05/0.8835, allocations: 51.97 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.8836, allocations: 55.92 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.8836, allocations: 0 / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002326/0.8839, allocations: 145.6 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.185e-05/0.8839, allocations: 68.17 kB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.8839, allocations: 0 / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.884, allocations: 0 / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.884, allocations: 4 kB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.884, allocations: 3.938 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.462e-05/0.8841, allocations: 23.77 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.8841, allocations: 4 kB / 1.105 GB, free: 11.37 MB / 0.7136 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 () * 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.0001007/0.8842, allocations: 134.6 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.8843, allocations: 0 / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.8843, allocations: 12.34 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.8843, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.8843, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.8843, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.8845, allocations: 146.2 kB / 1.106 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.8845, allocations: 4 kB / 1.106 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.83e-05/0.8845, allocations: 4 kB / 1.106 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.8845, allocations: 7.938 kB / 1.106 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.8845, allocations: 4 kB / 1.106 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.8846, allocations: 0 / 1.106 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8846, allocations: 0 / 1.106 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.8848, allocations: 203.4 kB / 1.106 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.8848, allocations: 89.05 kB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.8849, allocations: 5.453 kB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.719e-05/0.8849, allocations: 11.98 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.885, allocations: 11.92 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.885, allocations: 4 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.971e-05/0.8851, allocations: 91.27 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8851, allocations: 0 / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003447/0.8854, allocations: 71.86 kB / 1.106 GB, free: 10.5 MB / 0.7136 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) * 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.0003005/0.8857, allocations: 174.9 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002691/0.886, allocations: 222.8 kB / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.886, allocations: 0 / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.995e-05/0.8861, allocations: 91.39 kB / 1.107 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.8863, allocations: 7.594 kB / 1.107 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.8866, allocations: 122.2 kB / 1.107 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.8869, allocations: 0.6874 MB / 1.107 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.892e-05/0.8869, allocations: 12.05 kB / 1.107 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.466e-05/0.8869, allocations: 7.438 kB / 1.107 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.8869, allocations: 0 / 1.107 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of Templates: time 0.003767/0.8907, allocations: 1.525 MB / 1.109 GB, free: 7.621 MB / 0.7136 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)