Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/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_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.73/1.73, allocations: 297.8 MB / 313.8 MB, free: 152 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 180.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.2 MB / 0.6626 GB, free: 4.363 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008575/0.0008575, allocations: 94.78 kB / 0.7808 GB, free: 50.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004298, allocations: 15.94 kB / 0.9088 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6866/0.6871, allocations: 120.3 MB / 1.026 GB, free: 55.91 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1645/0.8516, allocations: 140.5 MB / 1.163 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/0.8519, allocations: 77.88 kB / 1.164 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0009436/0.8528, allocations: 482.5 kB / 1.164 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.035e-06/0.8528, allocations: 0 / 1.164 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.8528, allocations: 5.062 kB / 1.164 GB, free: 2.324 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.0001529/0.853, allocations: 314.3 kB / 1.164 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.853, allocations: 8.719 kB / 1.164 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.8531, allocations: 3.422 kB / 1.164 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.35e-05/0.8531, allocations: 162.7 kB / 1.164 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.8531, allocations: 384 / 1.164 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-06/0.8532, allocations: 4.375 kB / 1.164 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.197e-05/0.8532, allocations: 28.84 kB / 1.165 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.8532, allocations: 192 / 1.165 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.8533, allocations: 7.031 kB / 1.165 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.8533, allocations: 0.8438 kB / 1.165 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.761e-05/0.8533, allocations: 4.797 kB / 1.165 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.814e-05/0.8534, allocations: 147 kB / 1.165 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.328e-05/0.8534, allocations: 28.08 kB / 1.165 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.315e-05/0.8534, allocations: 4.859 kB / 1.165 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.8535, allocations: 3.578 kB / 1.165 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.251e-05/0.8535, allocations: 40.88 kB / 1.165 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.8535, allocations: 0 / 1.165 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001015/0.8536, allocations: 39.78 kB / 1.165 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.709e-05/0.8536, allocations: 54.47 kB / 1.165 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.502e-05/0.8537, allocations: 89.86 kB / 1.165 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.172e-06/0.8537, allocations: 25.7 kB / 1.165 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.018e-05/0.8537, allocations: 81.25 kB / 1.165 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.8537, allocations: 4 kB / 1.165 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.8537, allocations: 0.8125 kB / 1.165 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.669e-05/0.8538, allocations: 312.1 kB / 1.165 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-06/0.8538, allocations: 0.7969 kB / 1.165 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.8538, allocations: 4.688 kB / 1.165 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.572e-05/0.8538, allocations: 12.73 kB / 1.165 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.8538, allocations: 0 / 1.165 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.051e-05/0.8539, allocations: 39.23 kB / 1.165 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.8539, allocations: 4.75 kB / 1.165 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.8539, allocations: 1.922 kB / 1.165 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.8539, allocations: 3.938 kB / 1.165 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.037e-05/0.854, allocations: 4.516 kB / 1.165 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.854, allocations: 2.922 kB / 1.165 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.139e-05/0.854, allocations: 3.938 kB / 1.165 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.854, allocations: 0 / 1.165 GB, free: 0.7422 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 3.654e-05/0.8541, allocations: 109.2 kB / 1.166 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-06/0.8541, allocations: 6.156 kB / 1.166 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.855e-05/0.8542, allocations: 43.2 kB / 1.166 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.8542, allocations: 1 kB / 1.166 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.8542, allocations: 3.781 kB / 1.166 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.8542, allocations: 0 / 1.166 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.44e-05/0.8542, allocations: 152.6 kB / 1.166 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8542, allocations: 2.078 kB / 1.166 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.585e-05/0.8543, allocations: 3.938 kB / 1.166 GB, free: 392 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.8543, allocations: 0.5156 kB / 1.166 GB, free: 392 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.8543, allocations: 9 kB / 1.166 GB, free: 384 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8543, allocations: 1.922 kB / 1.166 GB, free: 384 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8543, allocations: 0 / 1.166 GB, free: 384 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.8e-05/0.8543, allocations: 58.69 kB / 1.166 GB, free: 312 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.8544, allocations: 81.72 kB / 1.166 GB, free: 212 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.709e-06/0.8544, allocations: 7.422 kB / 1.166 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.828e-06/0.8544, allocations: 0 / 1.166 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/0.8544, allocations: 1.922 kB / 1.166 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.8544, allocations: 1 kB / 1.166 GB, free: 208 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.16e-05/0.8544, allocations: 76.66 kB / 1.166 GB, free: 132 kB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.8544, allocations: 4 kB / 1.166 GB, free: 128 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001763/0.8546, allocations: 4.531 kB / 1.166 GB, free: 124 kB / 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.0001157/0.8547, allocations: 106.7 kB / 1.166 GB, free: 12 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.891e-05/0.8548, allocations: 10.47 kB / 1.166 GB, free: 4 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8548, allocations: 1.156 kB / 1.166 GB, free: 4 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.733e-06/0.8548, allocations: 4.656 kB / 1.166 GB, free: 0 / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.8549, allocations: 1.906 kB / 1.166 GB, free: 0 / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001743/0.8551, allocations: 77.16 kB / 1.166 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.8553, allocations: 0.6727 MB / 1.167 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.327e-05/0.8554, allocations: 4 kB / 1.167 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.8554, allocations: 8.531 kB / 1.167 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/0.8554, allocations: 3.938 kB / 1.167 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of Templates: time 0.00184/0.8573, allocations: 286.6 kB / 1.167 GB, free: 15.04 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)