Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial") translateModel(IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001194, allocations: 182.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4915/0.4915, allocations: 91.99 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.659/1.659, allocations: 223.2 MB / 354.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009756/0.0009757, allocations: 92.36 kB / 427.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003418, allocations: 12 kB / 0.4982 GB, free: 42.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1767, allocations: 72.31 MB / 0.5689 GB, free: 1.922 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5107/0.6874, allocations: 101.5 MB / 0.668 GB, free: 2.984 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.6877, allocations: 67.97 kB / 0.6681 GB, free: 2.918 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002686/0.6904, allocations: 0.7862 MB / 0.6688 GB, free: 2.137 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6905, allocations: 0 / 0.6688 GB, free: 2.137 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.6905, allocations: 4 kB / 0.6688 GB, free: 2.133 MB / 458.7 MB 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.000459/0.691, allocations: 355.3 kB / 0.6692 GB, free: 1.742 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.691, allocations: 8.031 kB / 0.6692 GB, free: 1.734 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.6911, allocations: 8.828 kB / 0.6692 GB, free: 1.727 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.6912, allocations: 163 kB / 0.6693 GB, free: 1.527 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.6913, allocations: 3.938 kB / 0.6693 GB, free: 1.523 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.6913, allocations: 8 kB / 0.6694 GB, free: 1.516 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.6915, allocations: 57.67 kB / 0.6694 GB, free: 1.453 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.6915, allocations: 0 / 0.6694 GB, free: 1.453 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.6915, allocations: 0 / 0.6694 GB, free: 1.453 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.6916, allocations: 0 / 0.6694 GB, free: 1.453 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.6917, allocations: 51.91 kB / 0.6695 GB, free: 1.402 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.6923, allocations: 273.8 kB / 0.6697 GB, free: 1.086 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.6924, allocations: 48.56 kB / 0.6698 GB, free: 1.031 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.089e-05/0.6925, allocations: 8.062 kB / 0.6698 GB, free: 1.023 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.6925, allocations: 30.56 kB / 0.6698 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.973e-06/0.6925, allocations: 0 / 0.6698 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004235/0.6929, allocations: 109.7 kB / 0.6699 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.693, allocations: 55.39 kB / 0.67 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.998e-05/0.6931, allocations: 97.69 kB / 0.6701 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.6931, allocations: 29.64 kB / 0.6701 GB, free: 0.668 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.6932, allocations: 88.08 kB / 0.6702 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.6932, allocations: 7.891 kB / 0.6702 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.6932, allocations: 0 / 0.6702 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.6934, allocations: 318.9 kB / 0.6705 GB, free: 256 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.688e-05/0.6935, allocations: 19.98 kB / 0.6705 GB, free: 236 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.6936, allocations: 23.97 kB / 0.6705 GB, free: 212 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.429e-05/0.6937, allocations: 28.05 kB / 0.6705 GB, free: 184 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6937, allocations: 0 / 0.6705 GB, free: 184 kB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002241/0.694, allocations: 81.66 kB / 0.6706 GB, free: 96 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.694, allocations: 4 kB / 0.6706 GB, free: 92 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.694, allocations: 7.969 kB / 0.6706 GB, free: 84 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.694, allocations: 7.938 kB / 0.6706 GB, free: 76 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.6942, allocations: 11.98 kB / 0.6707 GB, free: 64 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.6942, allocations: 3.953 kB / 0.6707 GB, free: 60 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.813e-05/0.6942, allocations: 13.7 kB / 0.6707 GB, free: 48 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.6943, allocations: 4 kB / 0.6707 GB, free: 44 kB / 458.7 MB 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 0.0001205/0.6944, allocations: 109.8 kB / 0.6708 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.6944, allocations: 8 kB / 0.6708 GB, free: 15.92 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.6947, allocations: 89.16 kB / 0.6709 GB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.6948, allocations: 4 kB / 0.6709 GB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.6948, allocations: 0 / 0.6709 GB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.6948, allocations: 7.984 kB / 0.6709 GB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.695, allocations: 161.6 kB / 0.671 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.695, allocations: 0 / 0.671 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.713e-05/0.6951, allocations: 16 kB / 0.6711 GB, free: 15.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.6951, allocations: 0 / 0.6711 GB, free: 15.59 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.6951, allocations: 3.984 kB / 0.6711 GB, free: 15.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6951, allocations: 256 / 0.6711 GB, free: 15.59 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.6951, allocations: 4 kB / 0.6711 GB, free: 15.58 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.6955, allocations: 183.4 kB / 0.6712 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.6955, allocations: 81.02 kB / 0.6713 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.6956, allocations: 4 kB / 0.6713 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.478e-05/0.6956, allocations: 12.02 kB / 0.6713 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/0.6957, allocations: 0 / 0.6713 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.6957, allocations: 4 kB / 0.6713 GB, free: 15.27 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.961e-05/0.6958, allocations: 87.27 kB / 0.6714 GB, free: 15.18 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6958, allocations: 0 / 0.6714 GB, free: 15.18 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.6961, allocations: 8 kB / 0.6714 GB, free: 15.18 MB / 474.7 MB 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.0002323/0.6963, allocations: 99.25 kB / 0.6715 GB, free: 15.07 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002698/0.6966, allocations: 55.89 kB / 0.6716 GB, free: 15.02 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6966, allocations: 0 / 0.6716 GB, free: 15.02 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.245e-05/0.6967, allocations: 23.98 kB / 0.6716 GB, free: 14.99 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.6969, allocations: 12.08 kB / 0.6716 GB, free: 14.98 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.6974, allocations: 121.1 kB / 0.6717 GB, free: 14.83 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.6979, allocations: 0.6809 MB / 0.6724 GB, free: 14.12 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.38e-05/0.6979, allocations: 4 kB / 0.6724 GB, free: 14.12 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.6979, allocations: 7.438 kB / 0.6724 GB, free: 14.11 MB / 474.7 MB Notification: Performance of SimCode: time 6.82e-07/0.698, allocations: 0 / 0.6724 GB, free: 14.11 MB / 474.7 MB Notification: Performance of Templates: time 0.002849/0.7008, allocations: 460.5 kB / 0.6728 GB, free: 13.67 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)