Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.335/2.335, allocations: 253.2 MB / 260.6 MB, free: 7.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001392/0.001392, allocations: 180.8 kB / 319.9 MB, free: 3.109 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.6 MB / 0.5708 GB, free: 15.32 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 93.22 kB / 0.6751 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.334e-05/2.344e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2146, allocations: 106.3 MB / 0.8887 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8904/1.105, allocations: 131.6 MB / 1.017 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/1.105, allocations: 71.89 kB / 1.017 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003193/1.109, allocations: 0.7842 MB / 1.018 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/1.109, allocations: 0 / 1.018 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.971e-06/1.109, allocations: 0 / 1.018 GB, free: 4.98 MB / 0.6355 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.000447/1.109, allocations: 345.7 kB / 1.018 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/1.109, allocations: 12.02 kB / 1.018 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/1.109, allocations: 4 kB / 1.018 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/1.109, allocations: 163 kB / 1.019 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/1.109, allocations: 0 / 1.019 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/1.109, allocations: 7.938 kB / 1.019 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001088/1.11, allocations: 14.92 kB / 1.019 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.158e-05/1.11, allocations: 33.39 kB / 1.019 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.11, allocations: 2.625 kB / 1.019 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/1.11, allocations: 7.938 kB / 1.019 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/1.11, allocations: 0 / 1.019 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/1.11, allocations: 260 kB / 1.019 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.025e-05/1.11, allocations: 31.11 kB / 1.019 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/1.11, allocations: 16.8 kB / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/1.11, allocations: 4 kB / 1.019 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/1.111, allocations: 30.56 kB / 1.019 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/1.111, allocations: 0 / 1.019 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002318/1.111, allocations: 48.69 kB / 1.019 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/1.111, allocations: 51.41 kB / 1.019 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/1.111, allocations: 96.31 kB / 1.019 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/1.111, allocations: 33.67 kB / 1.019 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/1.111, allocations: 87.75 kB / 1.019 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/1.111, allocations: 7.844 kB / 1.019 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/1.111, allocations: 0 / 1.019 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.111, allocations: 322.2 kB / 1.02 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.923e-05/1.111, allocations: 4 kB / 1.02 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.746e-05/1.111, allocations: 11.23 kB / 1.02 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.736e-05/1.111, allocations: 6.562 kB / 1.02 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.111, allocations: 4.062 kB / 1.02 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001371/1.112, allocations: 44.25 kB / 1.02 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/1.112, allocations: 4 kB / 1.02 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.112, allocations: 0 / 1.02 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/1.112, allocations: 7.938 kB / 1.02 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/1.112, allocations: 15.92 kB / 1.02 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/1.112, allocations: 0 / 1.02 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.351e-05/1.112, allocations: 4 kB / 1.02 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/1.112, allocations: 8.031 kB / 1.02 GB, free: 3.184 MB / 0.6355 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 () * 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 8.164e-05/1.112, allocations: 107.8 kB / 1.02 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/1.112, allocations: 7.891 kB / 1.02 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/1.112, allocations: 58.98 kB / 1.02 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/1.112, allocations: 0 / 1.02 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.112, allocations: 0 / 1.02 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/1.112, allocations: 0 / 1.02 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/1.112, allocations: 140.8 kB / 1.02 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.112, allocations: 32 / 1.02 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/1.113, allocations: 19.98 kB / 1.02 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/1.113, allocations: 0 / 1.02 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/1.113, allocations: 0 / 1.02 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/1.113, allocations: 0.75 kB / 1.02 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/1.113, allocations: 0 / 1.02 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/1.113, allocations: 141.8 kB / 1.02 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/1.113, allocations: 93.08 kB / 1.02 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/1.113, allocations: 0 / 1.02 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/1.113, allocations: 13.05 kB / 1.02 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/1.113, allocations: 4 kB / 1.02 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/1.113, allocations: 0 / 1.02 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.674e-05/1.113, allocations: 82.47 kB / 1.02 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-07/1.113, allocations: 0 / 1.02 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003113/1.114, allocations: 8 kB / 1.02 GB, free: 2.457 MB / 0.6355 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 () * 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.0001772/1.114, allocations: 109.1 kB / 1.02 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001029/1.114, allocations: 15.62 kB / 1.02 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.114, allocations: 3.938 kB / 1.02 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.554e-05/1.114, allocations: 11.31 kB / 1.02 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/1.114, allocations: 4 kB / 1.02 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002453/1.114, allocations: 71.53 kB / 1.021 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/1.115, allocations: 0.6847 MB / 1.021 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.53e-05/1.115, allocations: 4 kB / 1.021 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/1.115, allocations: 7.438 kB / 1.021 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of SimCode: time 6.71e-07/1.115, allocations: 0 / 1.021 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of Templates: time 0.003049/1.118, allocations: 436.8 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB