Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8262/0.8262, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 176.8 kB / 182.2 MB, free: 9.441 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 221.5 MB / 436.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009162/0.0009163, allocations: 88.11 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001816/0.001817, allocations: 280.4 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.104e-05/2.112e-05, allocations: 8 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3584, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.4862, allocations: 107.2 MB / 0.862 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.4865, allocations: 79.83 kB / 0.8621 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001068/0.4876, allocations: 475.3 kB / 0.8626 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4876, allocations: 0 / 0.8626 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.4876, allocations: 0 / 0.8626 GB, free: 4.145 MB / 0.5261 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.000236/0.4878, allocations: 306.6 kB / 0.8629 GB, free: 3.801 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4879, allocations: 8.031 kB / 0.8629 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.4879, allocations: 7.984 kB / 0.8629 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.751e-05/0.488, allocations: 159.1 kB / 0.863 GB, free: 3.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.488, allocations: 7.953 kB / 0.863 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.488, allocations: 3.938 kB / 0.863 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.54e-05/0.4881, allocations: 3.938 kB / 0.8631 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.935e-05/0.4882, allocations: 33.7 kB / 0.8631 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.4882, allocations: 0 / 0.8631 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.4882, allocations: 0 / 0.8631 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.4882, allocations: 3.984 kB / 0.8631 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000104/0.4883, allocations: 130.2 kB / 0.8632 GB, free: 3.367 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.201e-05/0.4883, allocations: 14.58 kB / 0.8632 GB, free: 3.344 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.443e-05/0.4884, allocations: 8.953 kB / 0.8632 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.4884, allocations: 4 kB / 0.8632 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.4884, allocations: 38.52 kB / 0.8633 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 2.645e-06/0.4885, allocations: 0 / 0.8633 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001401/0.4886, allocations: 37.64 kB / 0.8633 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.4886, allocations: 51.41 kB / 0.8634 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.744e-05/0.4887, allocations: 85 kB / 0.8634 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.4887, allocations: 29.69 kB / 0.8635 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.354e-05/0.4887, allocations: 80.14 kB / 0.8635 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.4888, allocations: 4.031 kB / 0.8636 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-06/0.4888, allocations: 0 / 0.8636 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.4889, allocations: 310.8 kB / 0.8638 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-06/0.4889, allocations: 4 kB / 0.8639 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.749e-06/0.4889, allocations: 0 / 0.8639 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.539e-05/0.489, allocations: 0 / 0.8639 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.489, allocations: 0 / 0.8639 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.268e-05/0.4891, allocations: 45.62 kB / 0.8639 GB, free: 2.598 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.4891, allocations: 8.094 kB / 0.8639 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.4891, allocations: 0 / 0.8639 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.4891, allocations: 3.953 kB / 0.8639 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.289e-05/0.4892, allocations: 4 kB / 0.8639 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.4892, allocations: 0 / 0.8639 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.375e-05/0.4892, allocations: 3.938 kB / 0.8639 GB, free: 2.578 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.4892, allocations: 0 / 0.8639 GB, free: 2.578 MB / 0.5261 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 () * 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 6.296e-05/0.4893, allocations: 105 kB / 0.864 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-06/0.4893, allocations: 0 / 0.864 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.4894, allocations: 45.34 kB / 0.8641 GB, free: 2.418 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.4894, allocations: 4 kB / 0.8641 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4894, allocations: 11.89 kB / 0.8641 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.4894, allocations: 0 / 0.8641 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.99e-05/0.4895, allocations: 122.2 kB / 0.8642 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4895, allocations: 0 / 0.8642 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.911e-05/0.4895, allocations: 7.984 kB / 0.8642 GB, free: 2.238 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4895, allocations: 0 / 0.8642 GB, free: 2.238 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.4895, allocations: 4.031 kB / 0.8642 GB, free: 2.234 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4896, allocations: 3.938 kB / 0.8642 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4896, allocations: 0 / 0.8642 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.753e-05/0.4896, allocations: 61.09 kB / 0.8643 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.665e-05/0.4897, allocations: 81.09 kB / 0.8643 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.4897, allocations: 0 / 0.8643 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.068e-05/0.4897, allocations: 3.938 kB / 0.8643 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.084e-05/0.4897, allocations: 4.031 kB / 0.8643 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.4897, allocations: 4 kB / 0.8644 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.34e-05/0.4898, allocations: 75.28 kB / 0.8644 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4898, allocations: 0 / 0.8644 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001988/0.49, allocations: 4 kB / 0.8644 GB, free: 1.965 MB / 0.5261 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 () * 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.0001452/0.4901, allocations: 107.2 kB / 0.8645 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.316e-05/0.4902, allocations: 11.92 kB / 0.8645 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4902, allocations: 0 / 0.8645 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.014e-06/0.4902, allocations: 8.062 kB / 0.8645 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.216e-05/0.4903, allocations: 3.938 kB / 0.8646 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001377/0.4905, allocations: 48.02 kB / 0.8646 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.4907, allocations: 0.6729 MB / 0.8653 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.697e-05/0.4907, allocations: 7.672 kB / 0.8653 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.094e-05/0.4907, allocations: 15.44 kB / 0.8653 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of SimCode: time 2.81e-07/0.4908, allocations: 0 / 0.8653 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of Templates: time 0.001749/0.4925, allocations: 274 kB / 0.8655 GB, free: 0.7734 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)