Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.59/1.59, allocations: 293 MB / 309 MB, free: 4.828 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.0009211/0.000921, allocations: 171.5 kB / 378.7 MB, free: 1.035 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.412/1.412, allocations: 205.4 MB / 0.6383 GB, free: 9.176 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.000729/0.0007291, allocations: 98.47 kB / 0.7527 GB, free: 62.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003644, allocations: 12 kB / 0.8768 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2199, allocations: 116.4 MB / 0.9904 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6571/0.877, allocations: 139 MB / 1.126 GB, free: 34.86 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.8773, allocations: 77.52 kB / 1.126 GB, free: 34.8 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002159/0.8795, allocations: 0.7785 MB / 1.127 GB, free: 34.18 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.685e-06/0.8795, allocations: 1.219 kB / 1.127 GB, free: 34.18 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.8795, allocations: 0 / 1.127 GB, free: 34.18 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.0002986/0.8798, allocations: 356.9 kB / 1.127 GB, free: 33.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.8798, allocations: 8.031 kB / 1.127 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.8799, allocations: 1.625 kB / 1.127 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.291e-05/0.88, allocations: 174.3 kB / 1.128 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.88, allocations: 384 / 1.128 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.88, allocations: 384 / 1.128 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.8802, allocations: 58.83 kB / 1.128 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.8802, allocations: 0.8125 kB / 1.128 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.8802, allocations: 7.625 kB / 1.128 GB, free: 33.53 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.8802, allocations: 0 / 1.128 GB, free: 33.53 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.8804, allocations: 50.97 kB / 1.128 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.8807, allocations: 273.7 kB / 1.128 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.8808, allocations: 53.48 kB / 1.128 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.475e-05/0.8809, allocations: 35.67 kB / 1.128 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.881, allocations: 4.516 kB / 1.128 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.881, allocations: 31.25 kB / 1.128 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.881, allocations: 0 / 1.128 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003228/0.8813, allocations: 107 kB / 1.128 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.8814, allocations: 59.41 kB / 1.128 GB, free: 32.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.435e-05/0.8814, allocations: 105.2 kB / 1.128 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.296e-06/0.8814, allocations: 25.7 kB / 1.128 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.8815, allocations: 84.2 kB / 1.128 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.8815, allocations: 7.906 kB / 1.128 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.8815, allocations: 0 / 1.128 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.147e-05/0.8816, allocations: 322.4 kB / 1.129 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.359e-05/0.8816, allocations: 19.42 kB / 1.129 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.356e-05/0.8817, allocations: 27.03 kB / 1.129 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.8818, allocations: 51.73 kB / 1.129 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.8818, allocations: 0 / 1.129 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001662/0.882, allocations: 95.97 kB / 1.129 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.882, allocations: 4 kB / 1.129 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.882, allocations: 0 / 1.129 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.8821, allocations: 0 / 1.129 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.899e-05/0.8822, allocations: 16.12 kB / 1.129 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.8822, allocations: 0 / 1.129 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.637e-05/0.8822, allocations: 12.3 kB / 1.129 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.8823, allocations: 4.5 kB / 1.129 GB, free: 32.16 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 (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 4.913e-05/0.8823, allocations: 117.8 kB / 1.129 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.8823, allocations: 7.906 kB / 1.129 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.8826, allocations: 87.75 kB / 1.129 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-06/0.8826, allocations: 4.562 kB / 1.129 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.8826, allocations: 0 / 1.129 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.8826, allocations: 3.938 kB / 1.129 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.8827, allocations: 160.9 kB / 1.129 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8827, allocations: 0.7656 kB / 1.129 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.8828, allocations: 16.41 kB / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.8828, allocations: 4.688 kB / 1.129 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.8828, allocations: 0.75 kB / 1.129 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.8828, allocations: 0 / 1.129 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8828, allocations: 0 / 1.129 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.883, allocations: 181.3 kB / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.754e-05/0.883, allocations: 81.05 kB / 1.13 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.883, allocations: 8.062 kB / 1.13 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.574e-05/0.8831, allocations: 4.75 kB / 1.13 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.8832, allocations: 3.656 kB / 1.13 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.8832, allocations: 4 kB / 1.13 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.64e-05/0.8832, allocations: 84.22 kB / 1.13 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8832, allocations: 4.031 kB / 1.13 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001967/0.8834, allocations: 8 kB / 1.13 GB, free: 31.34 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 (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.0001287/0.8835, allocations: 107.2 kB / 1.13 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001852/0.8837, allocations: 54.22 kB / 1.13 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8837, allocations: 0.5625 kB / 1.13 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.207e-05/0.8838, allocations: 23.56 kB / 1.13 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.8841, allocations: 7.922 kB / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/0.8843, allocations: 124.9 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.8845, allocations: 0.6774 MB / 1.131 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.494e-05/0.8845, allocations: 8.562 kB / 1.131 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.647e-05/0.8845, allocations: 7.438 kB / 1.131 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.8845, allocations: 0 / 1.131 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of Templates: time 0.002265/0.8868, allocations: 459.9 kB / 1.131 GB, free: 30.07 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)