Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.315/5.315, allocations: 0.5623 GB / 0.5775 GB, free: 3.34 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003909/0.003908, allocations: 358.3 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.443/4.443, allocations: 410.7 MB / 1.113 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001828/0.001828, allocations: 192.6 kB / 1.226 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000488/0.0004882, allocations: 16 kB / 1.349 GB, free: 8.242 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9567/0.9573, allocations: 115.3 MB / 1.461 GB, free: 284.2 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2049/1.162, allocations: 137.1 MB / 1.595 GB, free: 147 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/1.163, allocations: 76.77 kB / 1.595 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.001279/1.164, allocations: 480.6 kB / 1.596 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.524e-06/1.164, allocations: 0.5625 kB / 1.596 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.03e-06/1.164, allocations: 0 / 1.596 GB, free: 146.5 MB / 0.8542 GB 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.0002208/1.164, allocations: 318.4 kB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/1.164, allocations: 11.62 kB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/1.164, allocations: 0 / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.012e-05/1.164, allocations: 171 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/1.164, allocations: 0 / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/1.164, allocations: 0 / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.955e-05/1.164, allocations: 30.92 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/1.164, allocations: 0 / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/1.164, allocations: 0 / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/1.164, allocations: 0.875 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.759e-05/1.165, allocations: 4.938 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/1.165, allocations: 158.8 kB / 1.596 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.231e-05/1.165, allocations: 19.02 kB / 1.596 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/1.165, allocations: 9.641 kB / 1.596 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-05/1.165, allocations: 0 / 1.596 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/1.165, allocations: 31.81 kB / 1.596 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/1.165, allocations: 0 / 1.596 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001423/1.165, allocations: 42.44 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/1.165, allocations: 52.16 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.183e-05/1.165, allocations: 94.3 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/1.165, allocations: 25.7 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.608e-05/1.165, allocations: 82.02 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/1.165, allocations: 0 / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/1.165, allocations: 0 / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.89e-05/1.165, allocations: 318.8 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/1.165, allocations: 0.75 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.146e-06/1.165, allocations: 0.5312 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.121e-05/1.165, allocations: 6.875 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.165, allocations: 3.953 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.205e-05/1.165, allocations: 37.69 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/1.165, allocations: 4 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.165, allocations: 0 / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/1.165, allocations: 4 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.49e-05/1.166, allocations: 9.953 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/1.166, allocations: 1.5 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.812e-05/1.166, allocations: 3.938 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/1.166, allocations: 4 kB / 1.597 GB, free: 144.9 MB / 0.8542 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 (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 5.446e-05/1.166, allocations: 110.5 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/1.166, allocations: 4.672 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/1.166, allocations: 50.84 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.166, allocations: 0 / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.166, allocations: 0 / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.166, allocations: 0.6562 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.777e-05/1.166, allocations: 145.7 kB / 1.597 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/1.166, allocations: 0.5938 kB / 1.597 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.537e-05/1.166, allocations: 10.11 kB / 1.597 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/1.166, allocations: 0 / 1.597 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/1.166, allocations: 0 / 1.597 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.166, allocations: 0 / 1.597 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.166, allocations: 0 / 1.597 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.251e-05/1.166, allocations: 65.94 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/1.166, allocations: 77.73 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/1.166, allocations: 4.891 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.501e-05/1.166, allocations: 0 / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.03e-05/1.166, allocations: 5.031 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/1.166, allocations: 0 / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.564e-05/1.166, allocations: 75.28 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.2e-07/1.166, allocations: 2.031 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002336/1.166, allocations: 4 kB / 1.598 GB, free: 144.2 MB / 0.8542 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 (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.000162/1.167, allocations: 114 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.857e-05/1.167, allocations: 0.9062 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.167, allocations: 4 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.264e-05/1.167, allocations: 5.594 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/1.167, allocations: 0 / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001842/1.167, allocations: 79.73 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/1.167, allocations: 0.6731 MB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.859e-05/1.167, allocations: 6.438 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/1.167, allocations: 7.438 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of SimCode: time 7.01e-07/1.167, allocations: 0.6562 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.002765/1.17, allocations: 283.4 kB / 1.599 GB, free: 143 MB / 0.8542 GB