Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.684/0.684, allocations: 117.9 MB / 133.9 MB, free: 9.238 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000933/0.000933, allocations: 187.9 kB / 161.7 MB, free: 14 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.4 MB / 394.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008385/0.0008385, allocations: 87.19 kB / 470.1 MB, free: 29.08 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.000382, allocations: 12 kB / 0.5424 GB, free: 9.766 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1974, allocations: 74.53 MB / 0.6151 GB, free: 15.16 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5305/0.7279, allocations: 100.8 MB / 0.7135 GB, free: 32.25 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/0.7283, allocations: 77.44 kB / 0.7136 GB, free: 32.22 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.001465/0.7298, allocations: 491.3 kB / 0.7141 GB, free: 31.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.976e-06/0.7298, allocations: 0 / 0.7141 GB, free: 31.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.7298, allocations: 3.125 kB / 0.7141 GB, free: 31.82 MB / 0.4948 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.0003983/0.7303, allocations: 309.2 kB / 0.7144 GB, free: 31.47 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.11e-05/0.7303, allocations: 12.09 kB / 0.7144 GB, free: 31.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.7304, allocations: 1.875 kB / 0.7144 GB, free: 31.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.7305, allocations: 163.7 kB / 0.7145 GB, free: 31.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.7305, allocations: 384 / 0.7145 GB, free: 31.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.7306, allocations: 0.9375 kB / 0.7145 GB, free: 31.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.7307, allocations: 37.48 kB / 0.7146 GB, free: 31.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.7307, allocations: 192 / 0.7146 GB, free: 31.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.7308, allocations: 3.938 kB / 0.7146 GB, free: 31.22 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.7308, allocations: 0 / 0.7146 GB, free: 31.22 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.054e-05/0.7308, allocations: 3.328 kB / 0.7146 GB, free: 31.22 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.731, allocations: 151.5 kB / 0.7147 GB, free: 31.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.452e-05/0.7311, allocations: 18.67 kB / 0.7147 GB, free: 31.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.532e-05/0.7311, allocations: 12.02 kB / 0.7148 GB, free: 31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.918e-05/0.7312, allocations: 0 / 0.7148 GB, free: 31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.7312, allocations: 34.5 kB / 0.7148 GB, free: 30.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.7312, allocations: 0 / 0.7148 GB, free: 30.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001957/0.7314, allocations: 44.91 kB / 0.7148 GB, free: 30.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.7315, allocations: 51.53 kB / 0.7149 GB, free: 30.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.849e-05/0.7315, allocations: 93.86 kB / 0.715 GB, free: 30.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.7315, allocations: 25.7 kB / 0.715 GB, free: 30.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.193e-05/0.7316, allocations: 81.12 kB / 0.7151 GB, free: 30.63 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/0.7316, allocations: 1.25 kB / 0.7151 GB, free: 30.63 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.7316, allocations: 0 / 0.7151 GB, free: 30.63 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.347e-05/0.7317, allocations: 310.8 kB / 0.7154 GB, free: 30.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.311e-05/0.7318, allocations: 7.281 kB / 0.7154 GB, free: 30.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-06/0.7318, allocations: 3.938 kB / 0.7154 GB, free: 30.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.298e-05/0.7318, allocations: 16.55 kB / 0.7154 GB, free: 30.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7318, allocations: 0 / 0.7154 GB, free: 30.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.705e-05/0.7319, allocations: 32.67 kB / 0.7154 GB, free: 30.26 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.7319, allocations: 12.88 kB / 0.7154 GB, free: 30.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.732, allocations: 0 / 0.7154 GB, free: 30.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.732, allocations: 7.312 kB / 0.7155 GB, free: 30.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.846e-05/0.7321, allocations: 0 / 0.7155 GB, free: 30.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.7321, allocations: 0 / 0.7155 GB, free: 30.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.13e-05/0.7321, allocations: 8.562 kB / 0.7155 GB, free: 30.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.7321, allocations: 4.031 kB / 0.7155 GB, free: 30.24 MB / 0.4948 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 7.985e-05/0.7322, allocations: 105.8 kB / 0.7156 GB, free: 30.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.7322, allocations: 0 / 0.7156 GB, free: 30.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.7324, allocations: 52.33 kB / 0.7156 GB, free: 30.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7324, allocations: 3.75 kB / 0.7156 GB, free: 30.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.7324, allocations: 0.75 kB / 0.7156 GB, free: 30.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-06/0.7324, allocations: 4.031 kB / 0.7156 GB, free: 30.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.053e-05/0.7325, allocations: 145.1 kB / 0.7158 GB, free: 29.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7325, allocations: 4 kB / 0.7158 GB, free: 29.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.887e-05/0.7326, allocations: 3.438 kB / 0.7158 GB, free: 29.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.7326, allocations: 2.844 kB / 0.7158 GB, free: 29.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.7326, allocations: 4.438 kB / 0.7158 GB, free: 29.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7326, allocations: 0 / 0.7158 GB, free: 29.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7326, allocations: 4 kB / 0.7158 GB, free: 29.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.012e-05/0.7327, allocations: 61.52 kB / 0.7158 GB, free: 29.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.7328, allocations: 81.09 kB / 0.7159 GB, free: 29.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.7328, allocations: 7.875 kB / 0.7159 GB, free: 29.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.207e-05/0.7328, allocations: 4 kB / 0.7159 GB, free: 29.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.7328, allocations: 0 / 0.7159 GB, free: 29.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.7329, allocations: 0 / 0.7159 GB, free: 29.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.065e-05/0.7329, allocations: 75.28 kB / 0.716 GB, free: 29.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7329, allocations: 0 / 0.716 GB, free: 29.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002601/0.7332, allocations: 10.3 kB / 0.716 GB, free: 29.62 MB / 0.4948 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.0002337/0.7334, allocations: 115 kB / 0.7161 GB, free: 29.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.488e-05/0.7335, allocations: 4 kB / 0.7161 GB, free: 29.49 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7335, allocations: 0 / 0.7161 GB, free: 29.49 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.207e-06/0.7335, allocations: 3.938 kB / 0.7161 GB, free: 29.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.7337, allocations: 4 kB / 0.7161 GB, free: 29.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.734, allocations: 75.59 kB / 0.7162 GB, free: 29.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.7342, allocations: 0.6694 MB / 0.7169 GB, free: 28.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.792e-05/0.7342, allocations: 8.547 kB / 0.7169 GB, free: 28.69 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.7343, allocations: 7.438 kB / 0.7169 GB, free: 28.68 MB / 0.4948 GB Notification: Performance of SimCode: time 2.6e-07/0.7343, allocations: 0 / 0.7169 GB, free: 28.68 MB / 0.4948 GB Notification: Performance of Templates: time 0.002849/0.7371, allocations: 289.1 kB / 0.7171 GB, free: 28.51 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)