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.62/1.62, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001119/0.001119, allocations: 180.8 kB / 366.7 MB, free: 1.664 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.67/1.67, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0008482/0.0008483, allocations: 80.88 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.145e-05/2.147e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6959/0.696, allocations: 116.3 MB / 0.9733 GB, free: 76.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.202/0.898, allocations: 139.8 MB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/0.8984, allocations: 88.53 kB / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0104/0.9088, allocations: 3.205 MB / 1.113 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9089, allocations: 0 / 1.113 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.9089, allocations: 0 / 1.113 GB, free: 7.199 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.0005685/0.9095, allocations: 423 kB / 1.113 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/0.9095, allocations: 8.031 kB / 1.113 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.9096, allocations: 12.41 kB / 1.113 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.9098, allocations: 163 kB / 1.114 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.9098, allocations: 8.812 kB / 1.114 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.9098, allocations: 0 / 1.114 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001293/0.91, allocations: 38.02 kB / 1.114 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.9101, allocations: 67.86 kB / 1.114 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.9102, allocations: 4 kB / 1.114 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.9102, allocations: 0 / 1.114 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.9102, allocations: 3.984 kB / 1.114 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004779/0.9107, allocations: 260.5 kB / 1.114 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.323e-05/0.9108, allocations: 54.5 kB / 1.114 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.988e-05/0.9109, allocations: 44.91 kB / 1.114 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.9109, allocations: 3.25 kB / 1.114 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.9109, allocations: 34.56 kB / 1.114 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.9109, allocations: 0 / 1.114 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003104/0.9113, allocations: 98.88 kB / 1.114 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.9113, allocations: 85.11 kB / 1.114 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.9115, allocations: 111.5 kB / 1.114 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.9115, allocations: 29.73 kB / 1.114 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.9115, allocations: 92.05 kB / 1.114 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.9116, allocations: 7.906 kB / 1.114 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-06/0.9116, allocations: 4 kB / 1.114 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.9118, allocations: 314.8 kB / 1.115 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.715e-05/0.9118, allocations: 51.97 kB / 1.115 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.318e-05/0.9119, allocations: 47.98 kB / 1.115 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.9121, allocations: 59.8 kB / 1.115 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9121, allocations: 4 kB / 1.115 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002425/0.9123, allocations: 145.6 kB / 1.115 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.576e-05/0.9124, allocations: 62.97 kB / 1.115 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.9124, allocations: 0 / 1.115 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.9124, allocations: 0 / 1.115 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.286e-05/0.9125, allocations: 7.984 kB / 1.115 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.9125, allocations: 4 kB / 1.115 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/0.9126, allocations: 9.969 kB / 1.115 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.9126, allocations: 4 kB / 1.115 GB, free: 4.773 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.0001389/0.9128, allocations: 146.6 kB / 1.115 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.9128, allocations: 4 kB / 1.115 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.679e-05/0.9128, allocations: 4.438 kB / 1.115 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.9129, allocations: 3.984 kB / 1.115 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.9129, allocations: 4 kB / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.9129, allocations: 0 / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.9131, allocations: 150.2 kB / 1.115 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.9131, allocations: 0 / 1.115 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.891e-05/0.9131, allocations: 4 kB / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.9131, allocations: 3.953 kB / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.9131, allocations: 7.938 kB / 1.115 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.9131, allocations: 0 / 1.115 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.9132, allocations: 4 kB / 1.115 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.9134, allocations: 203.4 kB / 1.116 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.9135, allocations: 85 kB / 1.116 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.9135, allocations: 7.953 kB / 1.116 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.961e-05/0.9136, allocations: 7.188 kB / 1.116 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/0.9137, allocations: 12.02 kB / 1.116 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.9137, allocations: 0 / 1.116 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.446e-05/0.9137, allocations: 95.27 kB / 1.116 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9138, allocations: 3.938 kB / 1.116 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003226/0.9141, allocations: 63.94 kB / 1.116 GB, free: 3.891 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.0003395/0.9144, allocations: 167.1 kB / 1.116 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003113/0.9148, allocations: 222.7 kB / 1.116 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9148, allocations: 4 kB / 1.116 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.9149, allocations: 99.38 kB / 1.116 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.9151, allocations: 6.266 kB / 1.116 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.9154, allocations: 118.3 kB / 1.117 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.9157, allocations: 0.6885 MB / 1.117 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.51e-05/0.9158, allocations: 0 / 1.117 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.732e-05/0.9158, allocations: 7.438 kB / 1.117 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.9158, allocations: 0 / 1.117 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of Templates: time 0.003953/0.9197, allocations: 1.532 MB / 1.119 GB, free: 1.012 MB / 0.7136 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)