Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.Polynominal.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.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002551/0.002551, allocations: 357.4 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.249/1.249, allocations: 165.8 MB / 183.1 MB, free: 5.926 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.179/4.179, allocations: 410.7 MB / 0.6001 GB, free: 2.219 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001821/0.001822, allocations: 188.7 kB / 0.6668 GB, free: 14.07 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006397/0.0006399, allocations: 12 kB / 0.7429 GB, free: 72 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4598, allocations: 67.44 MB / 0.8087 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.6248, allocations: 98.26 MB / 0.9047 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.6251, allocations: 71.97 kB / 0.9047 GB, free: 159 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.002978/0.6281, allocations: 0.7783 MB / 0.9055 GB, free: 158.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6281, allocations: 0 / 0.9055 GB, free: 158.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.6281, allocations: 0 / 0.9055 GB, free: 158.3 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003751/0.6285, allocations: 349.7 kB / 0.9058 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.6286, allocations: 9.906 kB / 0.9058 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.6286, allocations: 4 kB / 0.9059 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.828e-05/0.6287, allocations: 163 kB / 0.906 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.6287, allocations: 2.875 kB / 0.906 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.6288, allocations: 4 kB / 0.906 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.629, allocations: 56.5 kB / 0.9061 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.629, allocations: 0 / 0.9061 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.629, allocations: 9.938 kB / 0.9061 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.6291, allocations: 0 / 0.9061 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.6294, allocations: 49.03 kB / 0.9061 GB, free: 157.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.6298, allocations: 272 kB / 0.9064 GB, free: 157.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.63, allocations: 51.72 kB / 0.9064 GB, free: 157.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.6302, allocations: 34.36 kB / 0.9065 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.154e-05/0.6303, allocations: 8.719 kB / 0.9065 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.6303, allocations: 35.98 kB / 0.9065 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.6303, allocations: 0 / 0.9065 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0005322/0.6308, allocations: 104.9 kB / 0.9066 GB, free: 157 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.6309, allocations: 60.75 kB / 0.9067 GB, free: 156.9 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.976e-05/0.631, allocations: 108.1 kB / 0.9068 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.631, allocations: 27.42 kB / 0.9068 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.631, allocations: 84.73 kB / 0.9069 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.6311, allocations: 7.906 kB / 0.9069 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.6311, allocations: 4.625 kB / 0.9069 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.442e-05/0.6311, allocations: 315.7 kB / 0.9072 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.6313, allocations: 25.7 kB / 0.9072 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.6314, allocations: 28.34 kB / 0.9072 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.6316, allocations: 25.42 kB / 0.9073 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.6316, allocations: 0 / 0.9073 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003233/0.6319, allocations: 77.12 kB / 0.9073 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.632, allocations: 15.23 kB / 0.9074 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.632, allocations: 0 / 0.9074 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.632, allocations: 0 / 0.9074 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.6322, allocations: 19.52 kB / 0.9074 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.6322, allocations: 1.344 kB / 0.9074 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.386e-05/0.6323, allocations: 11.98 kB / 0.9074 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.6323, allocations: 0.7812 kB / 0.9074 GB, free: 156.2 MB / 0.5886 GB 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 (2): * Single equations (assignments): 2 * 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 6.627e-05/0.6324, allocations: 116.8 kB / 0.9075 GB, free: 156 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.6324, allocations: 3.906 kB / 0.9075 GB, free: 156 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003706/0.6328, allocations: 97.61 kB / 0.9076 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.6328, allocations: 0 / 0.9076 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6328, allocations: 0 / 0.9076 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.6328, allocations: 2.75 kB / 0.9076 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.633, allocations: 157.7 kB / 0.9077 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.633, allocations: 0 / 0.9077 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.6331, allocations: 14.61 kB / 0.9078 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.6331, allocations: 0 / 0.9078 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.6332, allocations: 0 / 0.9078 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.6332, allocations: 8.422 kB / 0.9078 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.6332, allocations: 5.469 kB / 0.9078 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.6335, allocations: 182 kB / 0.9079 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.6336, allocations: 81.02 kB / 0.908 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.6336, allocations: 0.5938 kB / 0.908 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.6337, allocations: 14.05 kB / 0.908 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.6338, allocations: 7.953 kB / 0.908 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.6338, allocations: 0.8438 kB / 0.908 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.569e-05/0.6339, allocations: 87.27 kB / 0.9081 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.6e-07/0.6339, allocations: 1.281 kB / 0.9081 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002987/0.6342, allocations: 8 kB / 0.9081 GB, free: 155.3 MB / 0.5886 GB 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 (2): * Single equations (assignments): 2 * 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.0001325/0.6343, allocations: 104.9 kB / 0.9082 GB, free: 155.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.6347, allocations: 58.3 kB / 0.9083 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6347, allocations: 0 / 0.9083 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.6348, allocations: 22.48 kB / 0.9083 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.6351, allocations: 7.469 kB / 0.9083 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/0.6354, allocations: 113.2 kB / 0.9084 GB, free: 155 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.6356, allocations: 0.6827 MB / 0.9091 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.577e-05/0.6356, allocations: 3.984 kB / 0.9091 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.6356, allocations: 7.438 kB / 0.9091 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of SimCode: time 8.11e-07/0.6357, allocations: 4.875 kB / 0.9091 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.002901/0.6386, allocations: 459 kB / 0.9096 GB, free: 153.9 MB / 0.5886 GB