Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 4.108/4.108, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002378/0.002378, allocations: 171.9 kB / 326.2 MB, free: 2.891 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.998/3.998, allocations: 205.4 MB / 0.5772 GB, free: 21.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001445/0.001445, allocations: 91.55 kB / 0.6817 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000718/0.0007181, allocations: 18.03 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.39, allocations: 106.3 MB / 0.8995 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3512/0.7413, allocations: 130.8 MB / 1.027 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005104/0.7419, allocations: 87.92 kB / 1.027 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002145/0.744, allocations: 492.8 kB / 1.028 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of FrontEnd: time 8.807e-06/0.7441, allocations: 0 / 1.028 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.7441, allocations: 3.938 kB / 1.028 GB, free: 14.48 MB / 0.6823 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.0004102/0.7446, allocations: 311.6 kB / 1.028 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/0.7446, allocations: 8.094 kB / 1.028 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.7447, allocations: 4.938 kB / 1.028 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.7449, allocations: 160.4 kB / 1.028 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.7449, allocations: 384 / 1.028 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.745, allocations: 4.359 kB / 1.028 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.7451, allocations: 30.2 kB / 1.028 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.7452, allocations: 4.188 kB / 1.028 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.7452, allocations: 3.938 kB / 1.028 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.7452, allocations: 0 / 1.028 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.988e-05/0.7453, allocations: 8 kB / 1.028 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002469/0.7455, allocations: 141.7 kB / 1.028 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.221e-05/0.7456, allocations: 24.11 kB / 1.028 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.7457, allocations: 8.844 kB / 1.028 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.826e-05/0.7458, allocations: 4.062 kB / 1.028 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/0.7459, allocations: 38.5 kB / 1.028 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 3.076e-06/0.7459, allocations: 7.938 kB / 1.028 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.000203/0.7461, allocations: 33.64 kB / 1.029 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.7462, allocations: 55.41 kB / 1.029 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.54e-05/0.7463, allocations: 89.86 kB / 1.029 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.7464, allocations: 25.7 kB / 1.029 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.7464, allocations: 80.14 kB / 1.029 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.7465, allocations: 7.891 kB / 1.029 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.7465, allocations: 0 / 1.029 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.7467, allocations: 315 kB / 1.029 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.7468, allocations: 4 kB / 1.029 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.094e-05/0.7468, allocations: 4 kB / 1.029 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.552e-05/0.7469, allocations: 0 / 1.029 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7469, allocations: 3.938 kB / 1.029 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001162/0.747, allocations: 33.7 kB / 1.029 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.7471, allocations: 4 kB / 1.029 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.7471, allocations: 0 / 1.029 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/0.7471, allocations: 7.922 kB / 1.029 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.66e-05/0.7473, allocations: 8.031 kB / 1.029 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.7473, allocations: 4 kB / 1.029 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.902e-05/0.7473, allocations: 0 / 1.029 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.7474, allocations: 0 / 1.029 GB, free: 12.86 MB / 0.6823 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.0001319/0.7475, allocations: 109.8 kB / 1.029 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.7476, allocations: 0 / 1.029 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.7478, allocations: 52.69 kB / 1.029 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.7478, allocations: 0 / 1.029 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.7478, allocations: 0 / 1.029 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.7478, allocations: 4 kB / 1.029 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.748, allocations: 145.6 kB / 1.029 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7481, allocations: 0 / 1.029 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.7481, allocations: 3.984 kB / 1.029 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.7482, allocations: 4 kB / 1.029 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.7482, allocations: 3.938 kB / 1.029 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.7482, allocations: 0 / 1.029 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7482, allocations: 0 / 1.029 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.7484, allocations: 61.17 kB / 1.03 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.7485, allocations: 85.09 kB / 1.03 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.7485, allocations: 3.938 kB / 1.03 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.566e-05/0.7486, allocations: 3.938 kB / 1.03 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.7486, allocations: 0 / 1.03 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.7486, allocations: 0 / 1.03 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.039e-05/0.7487, allocations: 79.28 kB / 1.03 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.71e-07/0.7487, allocations: 4.031 kB / 1.03 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004575/0.7492, allocations: 11.94 kB / 1.03 GB, free: 12.19 MB / 0.6823 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.0002904/0.7495, allocations: 99.25 kB / 1.03 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.7497, allocations: 11.98 kB / 1.03 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.7497, allocations: 0 / 1.03 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.929e-05/0.7497, allocations: 0 / 1.03 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.75, allocations: 7.938 kB / 1.03 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.7504, allocations: 78.83 kB / 1.03 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.7508, allocations: 0.6731 MB / 1.031 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.921e-05/0.7509, allocations: 4 kB / 1.031 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.7509, allocations: 11.42 kB / 1.031 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of SimCode: time 1.062e-06/0.751, allocations: 0 / 1.031 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of Templates: time 0.003957/0.7549, allocations: 277.7 kB / 1.031 GB, free: 10.97 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)