Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.536/2.536, allocations: 287.5 MB / 303.2 MB, free: 8.34 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.00131/0.00131, allocations: 170.2 kB / 371.8 MB, free: 10.82 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.974/1.974, allocations: 205.4 MB / 0.6305 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008842/0.0008841, allocations: 103.7 kB / 0.7438 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004994/0.0004996, allocations: 13.42 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.205, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8855/1.091, allocations: 137.1 MB / 1.113 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/1.091, allocations: 78.69 kB / 1.113 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001748/1.093, allocations: 486.4 kB / 1.114 GB, free: 31.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.404e-06/1.093, allocations: 0 / 1.114 GB, free: 31.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.29e-06/1.093, allocations: 0 / 1.114 GB, free: 31.54 MB / 0.698 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.0002628/1.093, allocations: 312.8 kB / 1.114 GB, free: 31.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/1.093, allocations: 7.812 kB / 1.114 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/1.093, allocations: 4.812 kB / 1.114 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.237e-05/1.093, allocations: 161.7 kB / 1.114 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/1.093, allocations: 3.188 kB / 1.114 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/1.093, allocations: 384 / 1.114 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.538e-05/1.093, allocations: 38.23 kB / 1.114 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/1.093, allocations: 1.594 kB / 1.114 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/1.093, allocations: 3.938 kB / 1.114 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/1.093, allocations: 0 / 1.114 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.284e-05/1.093, allocations: 0 / 1.114 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/1.094, allocations: 151 kB / 1.114 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.942e-05/1.094, allocations: 21.17 kB / 1.114 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/1.094, allocations: 6.172 kB / 1.114 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.941e-05/1.094, allocations: 3.75 kB / 1.114 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/1.094, allocations: 34.5 kB / 1.114 GB, free: 30.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/1.094, allocations: 0 / 1.114 GB, free: 30.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001407/1.094, allocations: 47.12 kB / 1.114 GB, free: 30.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/1.094, allocations: 51.41 kB / 1.115 GB, free: 30.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.726e-05/1.094, allocations: 89.86 kB / 1.115 GB, free: 30.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/1.094, allocations: 27.78 kB / 1.115 GB, free: 30.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/1.094, allocations: 80.14 kB / 1.115 GB, free: 30.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/1.094, allocations: 0 / 1.115 GB, free: 30.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/1.094, allocations: 0 / 1.115 GB, free: 30.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.094, allocations: 312.2 kB / 1.115 GB, free: 30.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.284e-05/1.094, allocations: 3.969 kB / 1.115 GB, free: 30.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.956e-06/1.094, allocations: 4 kB / 1.115 GB, free: 30.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.407e-05/1.094, allocations: 16.84 kB / 1.115 GB, free: 30.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.094, allocations: 0 / 1.115 GB, free: 30.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.964e-05/1.094, allocations: 31.56 kB / 1.115 GB, free: 30.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/1.094, allocations: 9.062 kB / 1.115 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.094, allocations: 0 / 1.115 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/1.094, allocations: 5.531 kB / 1.115 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.07e-05/1.094, allocations: 0 / 1.115 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/1.095, allocations: 4.094 kB / 1.115 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/1.095, allocations: 7.812 kB / 1.115 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/1.095, allocations: 3.938 kB / 1.115 GB, free: 30.01 MB / 0.698 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 0.0001091/1.095, allocations: 115.1 kB / 1.115 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-06/1.095, allocations: 0 / 1.115 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/1.095, allocations: 50.45 kB / 1.115 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.095, allocations: 4.031 kB / 1.115 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.095, allocations: 0 / 1.115 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/1.095, allocations: 0 / 1.115 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.623e-05/1.095, allocations: 156 kB / 1.115 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/1.095, allocations: 4 kB / 1.115 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/1.095, allocations: 0 / 1.115 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/1.095, allocations: 0 / 1.115 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/1.095, allocations: 7.906 kB / 1.115 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.095, allocations: 1.594 kB / 1.115 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.095, allocations: 0 / 1.115 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.551e-05/1.095, allocations: 58.61 kB / 1.115 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/1.095, allocations: 84.58 kB / 1.116 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/1.095, allocations: 5.484 kB / 1.116 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.584e-05/1.095, allocations: 0 / 1.116 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/1.095, allocations: 0 / 1.116 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/1.095, allocations: 0 / 1.116 GB, free: 29.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.982e-05/1.095, allocations: 79.09 kB / 1.116 GB, free: 29.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.31e-07/1.095, allocations: 0 / 1.116 GB, free: 29.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002553/1.096, allocations: 9.719 kB / 1.116 GB, free: 29.4 MB / 0.698 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.0001612/1.096, allocations: 102.2 kB / 1.116 GB, free: 29.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.246e-05/1.096, allocations: 5.312 kB / 1.116 GB, free: 29.31 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.096, allocations: 0 / 1.116 GB, free: 29.31 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.237e-05/1.096, allocations: 3.906 kB / 1.116 GB, free: 29.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/1.096, allocations: 6.344 kB / 1.116 GB, free: 29.31 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001955/1.096, allocations: 80.09 kB / 1.116 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/1.097, allocations: 0.6744 MB / 1.117 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.135e-05/1.097, allocations: 0 / 1.117 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/1.097, allocations: 11.25 kB / 1.117 GB, free: 28.51 MB / 0.698 GB Notification: Performance of SimCode: time 1.032e-06/1.097, allocations: 0 / 1.117 GB, free: 28.51 MB / 0.698 GB Notification: Performance of Templates: time 0.002534/1.099, allocations: 283.1 kB / 1.117 GB, free: 28.46 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)