Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.724/1.724, allocations: 297.8 MB / 313.7 MB, free: 140 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.001042/0.001042, allocations: 180.5 kB / 384.6 MB, free: 10.87 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.502/1.502, allocations: 223.2 MB / 0.6626 GB, free: 4.25 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.001063/0.001063, allocations: 96.3 kB / 0.7808 GB, free: 50.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004461/0.0004462, allocations: 12 kB / 0.9088 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7318/0.7322, allocations: 120.3 MB / 1.026 GB, free: 55.78 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1773/0.9096, allocations: 141.2 MB / 1.164 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.9099, allocations: 69.98 kB / 1.164 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002294/0.9122, allocations: 0.7898 MB / 1.165 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.535e-06/0.9122, allocations: 1.312 kB / 1.165 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.9123, allocations: 0 / 1.165 GB, free: 1.547 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003005/0.9126, allocations: 343.7 kB / 1.165 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.9126, allocations: 12.03 kB / 1.165 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.715e-05/0.9126, allocations: 6.156 kB / 1.165 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.411e-05/0.9127, allocations: 169.7 kB / 1.166 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.9128, allocations: 5.031 kB / 1.166 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.9128, allocations: 384 / 1.166 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.9129, allocations: 59.97 kB / 1.166 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.913, allocations: 192 / 1.166 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.913, allocations: 5.844 kB / 1.166 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.913, allocations: 0 / 1.166 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.9132, allocations: 49.84 kB / 1.166 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.9135, allocations: 270.9 kB / 1.166 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.9136, allocations: 56.94 kB / 1.166 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.04e-05/0.9137, allocations: 30.5 kB / 1.166 GB, free: 500 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.9138, allocations: 6.703 kB / 1.166 GB, free: 496 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.9138, allocations: 31.56 kB / 1.166 GB, free: 456 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.9138, allocations: 0 / 1.166 GB, free: 456 kB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003295/0.9141, allocations: 106.8 kB / 1.166 GB, free: 364 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.9142, allocations: 56.69 kB / 1.166 GB, free: 296 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.027e-05/0.9142, allocations: 105.1 kB / 1.166 GB, free: 184 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.9142, allocations: 29.7 kB / 1.166 GB, free: 148 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.55e-05/0.9143, allocations: 94.45 kB / 1.166 GB, free: 52 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.9143, allocations: 5.484 kB / 1.166 GB, free: 48 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.9143, allocations: 0 / 1.166 GB, free: 48 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.9144, allocations: 317.7 kB / 1.167 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.572e-05/0.9145, allocations: 22.11 kB / 1.167 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.713e-05/0.9146, allocations: 23.72 kB / 1.167 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.9148, allocations: 57.33 kB / 1.167 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9148, allocations: 0 / 1.167 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002125/0.915, allocations: 89.67 kB / 1.167 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.915, allocations: 5.219 kB / 1.167 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.915, allocations: 0 / 1.167 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.915, allocations: 0.75 kB / 1.167 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.9151, allocations: 15.17 kB / 1.167 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.9152, allocations: 4 kB / 1.167 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.954e-05/0.9152, allocations: 8.172 kB / 1.167 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.9152, allocations: 4.625 kB / 1.167 GB, free: 15.55 MB / 0.7448 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 (2): * Single equations (assignments): 2 * 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 7.257e-05/0.9153, allocations: 117.2 kB / 1.167 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.9153, allocations: 6.203 kB / 1.167 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/0.9156, allocations: 90.67 kB / 1.167 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.9156, allocations: 1 kB / 1.167 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.9156, allocations: 0 / 1.167 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.9156, allocations: 4 kB / 1.167 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.9158, allocations: 162.6 kB / 1.167 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9158, allocations: 3.938 kB / 1.167 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.168e-05/0.9159, allocations: 12.94 kB / 1.167 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.9159, allocations: 4.906 kB / 1.167 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.9159, allocations: 0 / 1.167 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.9159, allocations: 1.641 kB / 1.167 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.9159, allocations: 0 / 1.167 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.9162, allocations: 179.9 kB / 1.167 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.9162, allocations: 78.05 kB / 1.168 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.9163, allocations: 1.281 kB / 1.168 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.982e-05/0.9163, allocations: 16.36 kB / 1.168 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.9164, allocations: 2.109 kB / 1.168 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.9164, allocations: 8 kB / 1.168 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.82e-05/0.9164, allocations: 81.02 kB / 1.168 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9165, allocations: 0 / 1.168 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002111/0.9167, allocations: 19.11 kB / 1.168 GB, free: 14.75 MB / 0.7448 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 (2): * Single equations (assignments): 2 * 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.000134/0.9168, allocations: 104.7 kB / 1.168 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.917, allocations: 54.59 kB / 1.168 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.917, allocations: 0.9375 kB / 1.168 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.614e-05/0.9171, allocations: 25.62 kB / 1.168 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.9174, allocations: 8.922 kB / 1.168 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.9176, allocations: 120.5 kB / 1.168 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.9179, allocations: 0.6814 MB / 1.169 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.414e-05/0.918, allocations: 0.6094 kB / 1.169 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.918, allocations: 11.44 kB / 1.169 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of SimCode: time 2.8e-07/0.918, allocations: 3.938 kB / 1.169 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of Templates: time 0.002299/0.9203, allocations: 458.5 kB / 1.169 GB, free: 13.46 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1)