Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.Polynomial.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.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002489/0.002489, allocations: 352.8 kB / 16.57 MB, free: 5.566 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.505/1.505, allocations: 165.8 MB / 183.1 MB, free: 5.469 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.793/3.793, allocations: 410.8 MB / 0.6001 GB, free: 15.15 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.001811/0.001811, allocations: 191.1 kB / 0.6668 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004659/0.0004661, allocations: 12 kB / 0.7429 GB, free: 8.934 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.414, allocations: 67.44 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1677/0.5817, allocations: 97.56 MB / 0.904 GB, free: 11.09 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.5821, allocations: 75.95 kB / 0.9041 GB, free: 11.01 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001415/0.5836, allocations: 486.7 kB / 0.9046 GB, free: 10.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5836, allocations: 0 / 0.9046 GB, free: 10.54 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.5836, allocations: 0 / 0.9046 GB, free: 10.54 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002719/0.5839, allocations: 307.4 kB / 0.9048 GB, free: 10.19 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.5839, allocations: 12.09 kB / 0.9049 GB, free: 10.18 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.584, allocations: 0 / 0.9049 GB, free: 10.18 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.5841, allocations: 163.1 kB / 0.905 GB, free: 9.977 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.5841, allocations: 4 kB / 0.905 GB, free: 9.973 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.5841, allocations: 4 kB / 0.905 GB, free: 9.969 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.891e-05/0.5842, allocations: 29.7 kB / 0.905 GB, free: 9.934 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.5843, allocations: 0 / 0.905 GB, free: 9.934 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.5843, allocations: 3.953 kB / 0.9051 GB, free: 9.93 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.5843, allocations: 0 / 0.9051 GB, free: 9.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.514e-05/0.5843, allocations: 3.938 kB / 0.9051 GB, free: 9.926 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.5845, allocations: 153.7 kB / 0.9052 GB, free: 9.727 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.551e-05/0.5846, allocations: 18.58 kB / 0.9052 GB, free: 9.699 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.5846, allocations: 8.953 kB / 0.9052 GB, free: 9.688 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.5846, allocations: 4 kB / 0.9052 GB, free: 9.684 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.5847, allocations: 34.5 kB / 0.9053 GB, free: 9.641 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/0.5847, allocations: 0 / 0.9053 GB, free: 9.641 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001407/0.5848, allocations: 45.61 kB / 0.9053 GB, free: 9.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.5849, allocations: 55.36 kB / 0.9054 GB, free: 9.523 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.656e-05/0.585, allocations: 89.86 kB / 0.9054 GB, free: 9.426 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.585, allocations: 29.83 kB / 0.9055 GB, free: 9.391 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.585, allocations: 80.14 kB / 0.9056 GB, free: 9.309 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.5851, allocations: 7.906 kB / 0.9056 GB, free: 9.301 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.5851, allocations: 0 / 0.9056 GB, free: 9.301 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.5852, allocations: 310.8 kB / 0.9059 GB, free: 8.988 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.402e-05/0.5852, allocations: 4 kB / 0.9059 GB, free: 8.984 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-06/0.5852, allocations: 0 / 0.9059 GB, free: 8.984 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.137e-05/0.5853, allocations: 0 / 0.9059 GB, free: 8.984 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5853, allocations: 0 / 0.9059 GB, free: 8.984 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.623e-05/0.5854, allocations: 49.62 kB / 0.9059 GB, free: 8.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.5854, allocations: 4 kB / 0.9059 GB, free: 8.926 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.5854, allocations: 0 / 0.9059 GB, free: 8.926 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.5854, allocations: 0 / 0.9059 GB, free: 8.926 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.386e-05/0.5855, allocations: 4 kB / 0.9059 GB, free: 8.922 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5855, allocations: 0 / 0.9059 GB, free: 8.922 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.316e-05/0.5855, allocations: 7.891 kB / 0.9059 GB, free: 8.914 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.5856, allocations: 0 / 0.9059 GB, free: 8.914 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.322e-05/0.5857, allocations: 117.9 kB / 0.906 GB, free: 8.793 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.5857, allocations: 4.031 kB / 0.906 GB, free: 8.789 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.5858, allocations: 36.81 kB / 0.9061 GB, free: 8.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5858, allocations: 0 / 0.9061 GB, free: 8.75 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5858, allocations: 4 kB / 0.9061 GB, free: 8.746 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.5858, allocations: 0 / 0.9061 GB, free: 8.746 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.586, allocations: 153.6 kB / 0.9062 GB, free: 8.547 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.586, allocations: 0 / 0.9062 GB, free: 8.547 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.624e-05/0.586, allocations: 11.97 kB / 0.9062 GB, free: 8.535 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.586, allocations: 0 / 0.9062 GB, free: 8.535 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.586, allocations: 0 / 0.9062 GB, free: 8.535 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.5861, allocations: 0 / 0.9062 GB, free: 8.535 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5861, allocations: 0 / 0.9062 GB, free: 8.535 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.003e-05/0.5862, allocations: 61.08 kB / 0.9063 GB, free: 8.457 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.5862, allocations: 81.05 kB / 0.9064 GB, free: 8.359 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.5862, allocations: 0 / 0.9064 GB, free: 8.359 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.548e-05/0.5863, allocations: 4.031 kB / 0.9064 GB, free: 8.355 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.5863, allocations: 4 kB / 0.9064 GB, free: 8.352 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.5863, allocations: 4 kB / 0.9064 GB, free: 8.348 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.883e-05/0.5863, allocations: 75.28 kB / 0.9065 GB, free: 8.273 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5863, allocations: 0 / 0.9065 GB, free: 8.273 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002326/0.5866, allocations: 4 kB / 0.9065 GB, free: 8.27 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.000176/0.5868, allocations: 111.2 kB / 0.9066 GB, free: 8.152 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.534e-05/0.5869, allocations: 11.94 kB / 0.9066 GB, free: 8.141 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.5869, allocations: 0 / 0.9066 GB, free: 8.141 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.589e-05/0.5869, allocations: 4 kB / 0.9066 GB, free: 8.137 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.5871, allocations: 10.7 kB / 0.9066 GB, free: 8.129 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001924/0.5873, allocations: 66.77 kB / 0.9067 GB, free: 8.035 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.5875, allocations: 0.677 MB / 0.9073 GB, free: 7.332 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.842e-05/0.5876, allocations: 8.125 kB / 0.9073 GB, free: 7.324 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.5876, allocations: 11.44 kB / 0.9073 GB, free: 7.312 MB / 458.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5876, allocations: 0 / 0.9073 GB, free: 7.312 MB / 458.7 MB Notification: Performance of Templates: time 0.002503/0.5902, allocations: 276.3 kB / 0.9076 GB, free: 7.043 MB / 458.7 MB