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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.673/1.673, allocations: 292.6 MB / 307.5 MB, free: 5.129 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.001202/0.001201, allocations: 176.4 kB / 377.1 MB, free: 1.465 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.843/1.843, allocations: 205.4 MB / 0.6367 GB, free: 8.691 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.0009417/0.0009418, allocations: 95.12 kB / 0.751 GB, free: 63.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003757, allocations: 12 kB / 0.8748 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2857, allocations: 116.3 MB / 0.9884 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8352/1.121, allocations: 140.5 MB / 1.126 GB, free: 34.59 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/1.121, allocations: 95.08 kB / 1.126 GB, free: 34.52 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.009533/1.131, allocations: 3.214 MB / 1.129 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.655e-06/1.131, allocations: 4 kB / 1.129 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.396e-06/1.131, allocations: 0 / 1.129 GB, free: 32.3 MB / 0.7292 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.0004552/1.131, allocations: 438.4 kB / 1.129 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/1.131, allocations: 16.02 kB / 1.129 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/1.132, allocations: 10.84 kB / 1.129 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/1.132, allocations: 175 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/1.132, allocations: 4.984 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/1.132, allocations: 0 / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/1.132, allocations: 83.41 kB / 1.13 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/1.132, allocations: 0 / 1.13 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/1.132, allocations: 0 / 1.13 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/1.132, allocations: 0 / 1.13 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/1.132, allocations: 51.5 kB / 1.13 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/1.132, allocations: 279.6 kB / 1.13 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/1.133, allocations: 61.45 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/1.133, allocations: 6.406 kB / 1.13 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/1.133, allocations: 30.56 kB / 1.13 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/1.133, allocations: 0 / 1.13 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0004016/1.133, allocations: 273.3 kB / 1.13 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/1.133, allocations: 85.05 kB / 1.13 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.011e-05/1.133, allocations: 116.8 kB / 1.13 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/1.133, allocations: 29.7 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/1.133, allocations: 87.66 kB / 1.13 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/1.133, allocations: 7.906 kB / 1.131 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/1.133, allocations: 0 / 1.131 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.394e-05/1.133, allocations: 318.8 kB / 1.131 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-05/1.133, allocations: 54.31 kB / 1.131 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.791e-05/1.133, allocations: 62.83 kB / 1.131 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/1.134, allocations: 114.2 kB / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.134, allocations: 0 / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002451/1.134, allocations: 218.3 kB / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/1.134, allocations: 69.61 kB / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/1.134, allocations: 0 / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/1.134, allocations: 0.5625 kB / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.399e-05/1.134, allocations: 12.3 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/1.134, allocations: 3.938 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.762e-05/1.134, allocations: 8 kB / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/1.134, allocations: 4 kB / 1.131 GB, free: 29.61 MB / 0.7292 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.405e-05/1.134, allocations: 156.2 kB / 1.131 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/1.134, allocations: 4.469 kB / 1.131 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/1.134, allocations: 11.91 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/1.134, allocations: 0.75 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.134, allocations: 5.172 kB / 1.132 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.134, allocations: 3.609 kB / 1.132 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/1.134, allocations: 176.2 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.134, allocations: 0.5625 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.734e-05/1.135, allocations: 4.625 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/1.135, allocations: 0 / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/1.135, allocations: 4 kB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/1.135, allocations: 0 / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.135, allocations: 0.5 kB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/1.135, allocations: 255.2 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.325e-05/1.135, allocations: 85.06 kB / 1.132 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/1.135, allocations: 3.516 kB / 1.132 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.87e-05/1.135, allocations: 9.906 kB / 1.132 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/1.135, allocations: 7.562 kB / 1.132 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/1.135, allocations: 4 kB / 1.132 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.295e-05/1.135, allocations: 100.9 kB / 1.132 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.135, allocations: 0 / 1.132 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003451/1.135, allocations: 71.34 kB / 1.132 GB, free: 28.67 MB / 0.7292 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.0002607/1.136, allocations: 158.7 kB / 1.132 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002864/1.136, allocations: 239.7 kB / 1.133 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.136, allocations: 4 kB / 1.133 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.563e-05/1.136, allocations: 106.3 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/1.136, allocations: 4.656 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/1.137, allocations: 184.3 kB / 1.133 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/1.137, allocations: 0.6879 MB / 1.134 GB, free: 27.27 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.444e-05/1.137, allocations: 4.062 kB / 1.134 GB, free: 27.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.364e-05/1.137, allocations: 7.438 kB / 1.134 GB, free: 27.26 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.137, allocations: 0 / 1.134 GB, free: 27.26 MB / 0.7292 GB Notification: Performance of Templates: time 0.004368/1.141, allocations: 1.559 MB / 1.135 GB, free: 26.4 MB / 0.7292 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)