Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002515/0.002521, allocations: 358.3 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.399/1.399, allocations: 165.8 MB / 183.1 MB, free: 5.449 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.681/3.681, allocations: 410.8 MB / 0.6001 GB, free: 15.09 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00177/0.001769, allocations: 203.2 kB / 0.6668 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004728, allocations: 16 kB / 0.7429 GB, free: 8.949 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3973, allocations: 67.43 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1678/0.5651, allocations: 99.83 MB / 0.9062 GB, free: 8.828 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/0.5655, allocations: 99.92 kB / 0.9063 GB, free: 8.73 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0156/0.5811, allocations: 3.225 MB / 0.9095 GB, free: 5.504 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5811, allocations: 0 / 0.9095 GB, free: 5.504 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.5811, allocations: 0 / 0.9095 GB, free: 5.504 MB / 458.7 MB 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.0005448/0.5817, allocations: 438.5 kB / 0.9099 GB, free: 5.016 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.5817, allocations: 12.02 kB / 0.9099 GB, free: 5.004 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.5818, allocations: 7.906 kB / 0.9099 GB, free: 4.996 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.5819, allocations: 167 kB / 0.9101 GB, free: 4.793 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.582, allocations: 0 / 0.9101 GB, free: 4.793 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.582, allocations: 4 kB / 0.9101 GB, free: 4.789 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.5823, allocations: 85.59 kB / 0.9102 GB, free: 4.699 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.5823, allocations: 0 / 0.9102 GB, free: 4.699 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.5823, allocations: 7.953 kB / 0.9102 GB, free: 4.691 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.5823, allocations: 3.984 kB / 0.9102 GB, free: 4.688 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.5825, allocations: 47.97 kB / 0.9102 GB, free: 4.641 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004779/0.583, allocations: 280.8 kB / 0.9105 GB, free: 4.316 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.5832, allocations: 62.48 kB / 0.9105 GB, free: 4.246 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.5834, allocations: 48.91 kB / 0.9106 GB, free: 4.195 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.5834, allocations: 0 / 0.9106 GB, free: 4.195 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.5834, allocations: 42.52 kB / 0.9106 GB, free: 4.145 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.5835, allocations: 0 / 0.9106 GB, free: 4.145 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005724/0.584, allocations: 183.3 kB / 0.9108 GB, free: 3.953 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.5841, allocations: 81.11 kB / 0.9109 GB, free: 3.855 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.5842, allocations: 121.8 kB / 0.911 GB, free: 3.727 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.5843, allocations: 25.7 kB / 0.911 GB, free: 3.695 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.5844, allocations: 111.9 kB / 0.9111 GB, free: 3.582 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.5844, allocations: 7.844 kB / 0.9111 GB, free: 3.574 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.5844, allocations: 4 kB / 0.9111 GB, free: 3.57 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5845, allocations: 314.8 kB / 0.9114 GB, free: 3.254 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.5847, allocations: 59.95 kB / 0.9115 GB, free: 3.195 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.5849, allocations: 55.97 kB / 0.9115 GB, free: 3.141 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.5851, allocations: 111.4 kB / 0.9117 GB, free: 3.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.5851, allocations: 4 kB / 0.9117 GB, free: 3.016 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004742/0.5856, allocations: 217 kB / 0.9119 GB, free: 2.785 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.203e-05/0.5857, allocations: 66.02 kB / 0.9119 GB, free: 2.711 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5857, allocations: 0 / 0.9119 GB, free: 2.711 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.5857, allocations: 0 / 0.9119 GB, free: 2.711 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.549e-05/0.5858, allocations: 7.984 kB / 0.9119 GB, free: 2.703 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.5858, allocations: 0 / 0.9119 GB, free: 2.703 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.044e-05/0.5859, allocations: 19.91 kB / 0.912 GB, free: 2.684 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.586, allocations: 4 kB / 0.912 GB, free: 2.68 MB / 458.7 MB 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 0.0001353/0.5861, allocations: 155.4 kB / 0.9121 GB, free: 2.512 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.5862, allocations: 0 / 0.9121 GB, free: 2.512 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.5862, allocations: 11.86 kB / 0.9121 GB, free: 2.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.5862, allocations: 0 / 0.9121 GB, free: 2.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.5862, allocations: 0 / 0.9121 GB, free: 2.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5862, allocations: 0 / 0.9121 GB, free: 2.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.5864, allocations: 169.6 kB / 0.9123 GB, free: 2.285 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.5865, allocations: 4 kB / 0.9123 GB, free: 2.281 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.5865, allocations: 7.984 kB / 0.9123 GB, free: 2.273 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.5865, allocations: 4.062 kB / 0.9123 GB, free: 2.27 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.5866, allocations: 4 kB / 0.9123 GB, free: 2.266 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.5866, allocations: 3.953 kB / 0.9123 GB, free: 2.262 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5866, allocations: 0 / 0.9123 GB, free: 2.262 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.587, allocations: 257.1 kB / 0.9125 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.236e-05/0.5871, allocations: 77.11 kB / 0.9126 GB, free: 1.895 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/0.5871, allocations: 3.938 kB / 0.9126 GB, free: 1.891 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.5872, allocations: 11.98 kB / 0.9126 GB, free: 1.879 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/0.5873, allocations: 7.953 kB / 0.9126 GB, free: 1.871 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.5874, allocations: 3.938 kB / 0.9126 GB, free: 1.867 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.445e-05/0.5875, allocations: 104 kB / 0.9127 GB, free: 1.766 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5875, allocations: 0 / 0.9127 GB, free: 1.766 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004824/0.588, allocations: 67.88 kB / 0.9128 GB, free: 1.699 MB / 458.7 MB 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.0003631/0.5883, allocations: 167.1 kB / 0.913 GB, free: 1.523 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004749/0.5888, allocations: 234.7 kB / 0.9132 GB, free: 1.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5888, allocations: 0 / 0.9132 GB, free: 1.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.589, allocations: 103.4 kB / 0.9133 GB, free: 1.156 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.5893, allocations: 13.53 kB / 0.9133 GB, free: 1.145 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000461/0.5898, allocations: 176.6 kB / 0.9135 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.5901, allocations: 0.693 MB / 0.9142 GB, free: 232 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.176e-05/0.5901, allocations: 7.922 kB / 0.9142 GB, free: 224 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.5901, allocations: 7.438 kB / 0.9142 GB, free: 216 kB / 458.7 MB Notification: Performance of SimCode: time 8.01e-07/0.5902, allocations: 4 kB / 0.9142 GB, free: 212 kB / 458.7 MB Notification: Performance of Templates: time 0.005767/0.5959, allocations: 1.61 MB / 0.9157 GB, free: 14.61 MB / 474.7 MB