Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json 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/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.853/1.853, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.682/1.682, allocations: 251.9 MB / 0.51 GB, free: 4.922 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 16 kB / 0.6241 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.671/0.672, allocations: 106.4 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.000911/0.673, allocations: 309.3 kB / 0.7283 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003506/0.6734, allocations: 42.42 kB / 0.7283 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.442e-05/0.6734, allocations: 0 / 0.7283 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.6734, allocations: 0 / 0.7283 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.266e-06/0.6735, allocations: 0 / 0.7283 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.6738, allocations: 7.984 kB / 0.7283 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.608e-05/0.6738, allocations: 4 kB / 0.7283 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.368e-05/0.6739, allocations: 0 / 0.7283 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.966e-05/0.6739, allocations: 4 kB / 0.7283 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.687e-05/0.674, allocations: 4 kB / 0.7283 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.674, allocations: 0 / 0.7283 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.695e-05/0.6741, allocations: 11.98 kB / 0.7284 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.174e-06/0.6741, allocations: 0 / 0.7284 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.6742, allocations: 29.7 kB / 0.7284 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.441e-05/0.6743, allocations: 15.97 kB / 0.7284 GB, free: 11.03 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.6743, allocations: 0 / 0.7284 GB, free: 11.03 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.019e-06/0.6743, allocations: 0 / 0.7284 GB, free: 11.03 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.6743, allocations: 3.938 kB / 0.7284 GB, free: 11.02 MB / 0.545 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.0003569/0.6747, allocations: 322.5 kB / 0.7287 GB, free: 10.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.6747, allocations: 8.031 kB / 0.7287 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.6748, allocations: 3.906 kB / 0.7287 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.6749, allocations: 163 kB / 0.7289 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.6749, allocations: 0 / 0.7289 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.6749, allocations: 0 / 0.7289 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.6751, allocations: 29.7 kB / 0.7289 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.6751, allocations: 3.984 kB / 0.7289 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.6751, allocations: 0 / 0.7289 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.6751, allocations: 4 kB / 0.7289 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.869e-05/0.6752, allocations: 4 kB / 0.7289 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.6754, allocations: 149.6 kB / 0.7291 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.6755, allocations: 22.45 kB / 0.7291 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.6755, allocations: 4.094 kB / 0.7291 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.6756, allocations: 38.5 kB / 0.7291 GB, free: 10.13 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.6756, allocations: 0 / 0.7291 GB, free: 10.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001763/0.6758, allocations: 45.69 kB / 0.7292 GB, free: 10.08 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.6758, allocations: 55.34 kB / 0.7292 GB, free: 10.01 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.6759, allocations: 89.86 kB / 0.7293 GB, free: 9.914 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.676, allocations: 25.7 kB / 0.7293 GB, free: 9.883 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.676, allocations: 80.14 kB / 0.7294 GB, free: 9.801 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.676, allocations: 0 / 0.7294 GB, free: 9.801 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.676, allocations: 0 / 0.7294 GB, free: 9.801 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.6762, allocations: 310.8 kB / 0.7297 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/0.6762, allocations: 8.125 kB / 0.7297 GB, free: 9.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.012e-06/0.6763, allocations: 0 / 0.7297 GB, free: 9.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.949e-05/0.6763, allocations: 0 / 0.7297 GB, free: 9.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6763, allocations: 0 / 0.7297 GB, free: 9.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000183/0.6765, allocations: 45.64 kB / 0.7298 GB, free: 9.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.6765, allocations: 4 kB / 0.7298 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.6765, allocations: 0 / 0.7298 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.6765, allocations: 0 / 0.7298 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.062e-05/0.6766, allocations: 4 kB / 0.7298 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.6766, allocations: 96 / 0.7298 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.339e-05/0.6766, allocations: 7.938 kB / 0.7298 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.6767, allocations: 0 / 0.7298 GB, free: 9.414 MB / 0.545 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.939e-05/0.6768, allocations: 113.8 kB / 0.7299 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.6768, allocations: 3.953 kB / 0.7299 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.6769, allocations: 36.83 kB / 0.7299 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.6769, allocations: 4.031 kB / 0.7299 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.6769, allocations: 4 kB / 0.7299 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.6769, allocations: 0 / 0.7299 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.6771, allocations: 145.7 kB / 0.7301 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.6771, allocations: 0 / 0.7301 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.689e-05/0.6771, allocations: 4 kB / 0.7301 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.6771, allocations: 3.953 kB / 0.7301 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.6771, allocations: 0 / 0.7301 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6771, allocations: 0 / 0.7301 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6771, allocations: 3.938 kB / 0.7301 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.963e-05/0.6772, allocations: 69.06 kB / 0.7301 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.6773, allocations: 79.08 kB / 0.7302 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.6773, allocations: 3.953 kB / 0.7302 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.122e-05/0.6773, allocations: 0 / 0.7302 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.6773, allocations: 3.984 kB / 0.7302 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.6773, allocations: 4 kB / 0.7302 GB, free: 8.844 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.481e-05/0.6773, allocations: 75.28 kB / 0.7303 GB, free: 8.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6774, allocations: 3.938 kB / 0.7303 GB, free: 8.766 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000241/0.6776, allocations: 12.02 kB / 0.7303 GB, free: 8.754 MB / 0.545 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.0001579/0.6778, allocations: 99.25 kB / 0.7304 GB, free: 8.645 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.578e-05/0.6778, allocations: 4 kB / 0.7304 GB, free: 8.641 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6778, allocations: 3.938 kB / 0.7304 GB, free: 8.637 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.526e-06/0.6779, allocations: 4 kB / 0.7304 GB, free: 8.633 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.124e-05/0.678, allocations: 0 / 0.7304 GB, free: 8.633 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001811/0.6781, allocations: 88.97 kB / 0.7305 GB, free: 8.527 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.6784, allocations: 0.6731 MB / 0.7312 GB, free: 7.828 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.637e-05/0.6785, allocations: 0 / 0.7312 GB, free: 7.828 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.6785, allocations: 11.44 kB / 0.7312 GB, free: 7.816 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.6785, allocations: 0 / 0.7312 GB, free: 7.816 MB / 0.545 GB Notification: Performance of Templates: time 0.002343/0.6808, allocations: 276.1 kB / 0.7314 GB, free: 7.547 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) Environment - environmentSimulation: