Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.733/1.733, allocations: 292.6 MB / 307.5 MB, free: 5.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001455/0.001455, allocations: 184 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.4 MB / 0.6367 GB, free: 8.602 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008665/0.0008665, allocations: 87.8 kB / 0.751 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003561, allocations: 12 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2527, allocations: 116.3 MB / 0.9884 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6966/0.9494, allocations: 138.2 MB / 1.123 GB, free: 36.13 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.9497, allocations: 79.05 kB / 1.123 GB, free: 36.07 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001015/0.9507, allocations: 476.9 kB / 1.124 GB, free: 35.66 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.817e-06/0.9507, allocations: 4 kB / 1.124 GB, free: 35.65 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.9507, allocations: 1.516 kB / 1.124 GB, free: 35.65 MB / 0.7292 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.0002059/0.951, allocations: 310.1 kB / 1.124 GB, free: 35.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.951, allocations: 16.98 kB / 1.124 GB, free: 35.29 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.9511, allocations: 7.234 kB / 1.124 GB, free: 35.29 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.54e-05/0.9511, allocations: 160.7 kB / 1.124 GB, free: 35.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.9511, allocations: 0 / 1.124 GB, free: 35.09 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.9512, allocations: 1.391 kB / 1.124 GB, free: 35.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.386e-05/0.9513, allocations: 33.14 kB / 1.124 GB, free: 35.06 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.9513, allocations: 0.7812 kB / 1.124 GB, free: 35.06 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.9513, allocations: 0 / 1.124 GB, free: 35.06 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.9513, allocations: 1.719 kB / 1.124 GB, free: 35.06 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.277e-05/0.9513, allocations: 7.5 kB / 1.124 GB, free: 35.05 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.9515, allocations: 151.6 kB / 1.125 GB, free: 34.86 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.589e-05/0.9515, allocations: 14.58 kB / 1.125 GB, free: 34.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.9515, allocations: 1.688 kB / 1.125 GB, free: 34.84 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.9516, allocations: 38.62 kB / 1.125 GB, free: 34.79 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.9516, allocations: 0 / 1.125 GB, free: 34.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001186/0.9517, allocations: 40.92 kB / 1.125 GB, free: 34.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.9517, allocations: 51.41 kB / 1.125 GB, free: 34.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.943e-05/0.9518, allocations: 88.83 kB / 1.125 GB, free: 34.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.9518, allocations: 29.7 kB / 1.125 GB, free: 34.56 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.847e-05/0.9518, allocations: 84.78 kB / 1.125 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.9518, allocations: 8.906 kB / 1.125 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/0.9518, allocations: 0 / 1.125 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.9519, allocations: 310.8 kB / 1.125 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-06/0.9519, allocations: 0 / 1.125 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-06/0.9519, allocations: 0 / 1.125 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.087e-05/0.9519, allocations: 7.375 kB / 1.125 GB, free: 34.15 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.952, allocations: 0.5625 kB / 1.125 GB, free: 34.15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.367e-05/0.952, allocations: 38.22 kB / 1.125 GB, free: 34.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.952, allocations: 8.094 kB / 1.125 GB, free: 34.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.952, allocations: 4.812 kB / 1.125 GB, free: 34.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.9521, allocations: 0 / 1.125 GB, free: 34.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.774e-05/0.9521, allocations: 0 / 1.125 GB, free: 34.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.9521, allocations: 0.5625 kB / 1.125 GB, free: 34.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.451e-05/0.9521, allocations: 11.41 kB / 1.125 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.9522, allocations: 0 / 1.125 GB, free: 34.09 MB / 0.7292 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.087e-05/0.9522, allocations: 109.8 kB / 1.125 GB, free: 33.97 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-06/0.9522, allocations: 3.953 kB / 1.125 GB, free: 33.97 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.035e-05/0.9523, allocations: 48.83 kB / 1.125 GB, free: 33.92 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.9523, allocations: 0.6562 kB / 1.125 GB, free: 33.92 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.9523, allocations: 0 / 1.125 GB, free: 33.92 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.9523, allocations: 0 / 1.125 GB, free: 33.92 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.537e-05/0.9524, allocations: 154.2 kB / 1.126 GB, free: 33.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.9524, allocations: 0 / 1.126 GB, free: 33.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.537e-05/0.9524, allocations: 3.328 kB / 1.126 GB, free: 33.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.9524, allocations: 0.5625 kB / 1.126 GB, free: 33.72 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.9525, allocations: 8.641 kB / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.9525, allocations: 4 kB / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.9525, allocations: 0 / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.967e-05/0.9525, allocations: 53.41 kB / 1.126 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.9525, allocations: 78.42 kB / 1.126 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.9526, allocations: 8 kB / 1.126 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.135e-05/0.9526, allocations: 3.953 kB / 1.126 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/0.9526, allocations: 5.25 kB / 1.126 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.9526, allocations: 0 / 1.126 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.73e-05/0.9526, allocations: 75.28 kB / 1.126 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9526, allocations: 0 / 1.126 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001972/0.9528, allocations: 8 kB / 1.126 GB, free: 33.45 MB / 0.7292 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.0001471/0.953, allocations: 113.7 kB / 1.126 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.66e-05/0.9531, allocations: 4.656 kB / 1.126 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.9531, allocations: 0 / 1.126 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.721e-06/0.9531, allocations: 4.062 kB / 1.126 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.341e-05/0.9532, allocations: 4 kB / 1.126 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001637/0.9534, allocations: 79.19 kB / 1.126 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.9535, allocations: 0.6731 MB / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.418e-05/0.9535, allocations: 1.844 kB / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.9536, allocations: 15.06 kB / 1.127 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.9536, allocations: 0 / 1.127 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of Templates: time 0.002251/0.9558, allocations: 269.3 kB / 1.127 GB, free: 32.37 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)