Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.843/4.843, allocations: 0.5623 GB / 0.5769 GB, free: 3.34 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002497/0.002497, allocations: 359.8 kB / 0.6441 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.389/4.389, allocations: 410.8 MB / 1.112 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.003533/0.003533, allocations: 178.1 kB / 1.225 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005038/0.000504, allocations: 16 kB / 1.348 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5811/0.5817, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0006017/0.5823, allocations: 313.9 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001606/0.5825, allocations: 38.41 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.178e-06/0.5825, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 8.651e-06/0.5825, allocations: 4 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.374e-06/0.5826, allocations: 0.8125 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.5828, allocations: 13.17 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.36e-05/0.5828, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.274e-05/0.5829, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 1.488e-05/0.5829, allocations: 4 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.857e-05/0.5829, allocations: 4.547 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.091e-06/0.5829, allocations: 2.906 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.563e-05/0.583, allocations: 19.92 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.279e-06/0.583, allocations: 0 / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.005e-05/0.5831, allocations: 25.7 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 5.36e-05/0.5831, allocations: 7.984 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.868e-06/0.5832, allocations: 4 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.796e-06/0.5832, allocations: 3.938 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.263e-06/0.5832, allocations: 0 / 1.461 GB, free: 283.9 MB / 0.8542 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.0001888/0.5834, allocations: 312.6 kB / 1.461 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.5834, allocations: 15.69 kB / 1.461 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.69e-05/0.5835, allocations: 1.625 kB / 1.461 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.704e-05/0.5835, allocations: 163 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.5835, allocations: 0 / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.325e-06/0.5836, allocations: 0 / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.04e-05/0.5836, allocations: 34.97 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.5837, allocations: 3.938 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.473e-06/0.5837, allocations: 1.5 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.593e-06/0.5837, allocations: 0.5312 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.953e-05/0.5837, allocations: 1.156 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.425e-05/0.5838, allocations: 153.6 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.182e-05/0.5839, allocations: 15.86 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.626e-05/0.5839, allocations: 4.859 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.5839, allocations: 5.75 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.584, allocations: 34.55 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.849e-06/0.584, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001112/0.5841, allocations: 40.14 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.5841, allocations: 51.41 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.91e-05/0.5842, allocations: 93.86 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.73e-06/0.5842, allocations: 25.7 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.315e-05/0.5842, allocations: 81.11 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.5842, allocations: 0 / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-06/0.5842, allocations: 0 / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.626e-05/0.5843, allocations: 311.6 kB / 1.462 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.5843, allocations: 12.95 kB / 1.462 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.158e-06/0.5843, allocations: 0 / 1.462 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.791e-05/0.5844, allocations: 0.5938 kB / 1.462 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.752e-06/0.5844, allocations: 3.953 kB / 1.462 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.385e-05/0.5845, allocations: 39.08 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.5845, allocations: 4 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.899e-06/0.5845, allocations: 4 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.5845, allocations: 0.5 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.052e-05/0.5846, allocations: 8.688 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.5846, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.863e-05/0.5846, allocations: 12.39 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.5846, allocations: 1.531 kB / 1.463 GB, free: 282.3 MB / 0.8542 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 4.759e-05/0.5847, allocations: 109.8 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.886e-06/0.5847, allocations: 3.953 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.912e-05/0.5848, allocations: 43.88 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.699e-06/0.5848, allocations: 1.062 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.22e-06/0.5849, allocations: 4 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.77e-06/0.5849, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.642e-05/0.5849, allocations: 146.4 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-06/0.5849, allocations: 1.406 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.345e-05/0.585, allocations: 7.953 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.854e-06/0.585, allocations: 0 / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.585, allocations: 0 / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.057e-06/0.585, allocations: 0.5938 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.261e-06/0.585, allocations: 3.984 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.287e-05/0.5851, allocations: 60.42 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.794e-05/0.5851, allocations: 79.22 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.5851, allocations: 3.953 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.539e-05/0.5852, allocations: 0 / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.5852, allocations: 3.984 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.35e-06/0.5852, allocations: 8.469 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.314e-05/0.5852, allocations: 77.81 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.04e-07/0.5852, allocations: 0 / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002435/0.5855, allocations: 8 kB / 1.463 GB, free: 281.6 MB / 0.8542 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.0001236/0.5856, allocations: 99.25 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.879e-05/0.5857, allocations: 5.469 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5857, allocations: 0 / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.902e-05/0.5857, allocations: 4 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.5859, allocations: 3.828 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001432/0.5861, allocations: 82.69 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.5862, allocations: 0.6731 MB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.189e-05/0.5862, allocations: 9.547 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.5863, allocations: 12.06 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of SimCode: time 2.804e-06/0.5863, allocations: 0.625 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.002269/0.5886, allocations: 286 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB