Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001513/0.001514, allocations: 104.3 kB / 16.36 MB, free: 5.949 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.001665/0.001665, allocations: 195.2 kB / 17.3 MB, free: 5.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.299/1.299, allocations: 205.1 MB / 223.2 MB, free: 12.12 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.769/1.769, allocations: 292.3 MB / 0.5496 GB, free: 17.7 MB / 462.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.001445/0.001445, allocations: 78.86 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1986, allocations: 114.5 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001645/0.2003, allocations: 0.5864 MB / 0.7854 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001888/0.2005, allocations: 31.88 kB / 0.7854 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.03e-05/0.2005, allocations: 0 / 0.7854 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.141e-05/0.2005, allocations: 0 / 0.7854 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.418e-06/0.2005, allocations: 0 / 0.7854 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.2008, allocations: 11.94 kB / 0.7854 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.41e-05/0.2008, allocations: 4 kB / 0.7854 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.2009, allocations: 3.984 kB / 0.7854 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.201e-05/0.2009, allocations: 4 kB / 0.7854 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.22e-05/0.2009, allocations: 4 kB / 0.7854 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.2009, allocations: 0 / 0.7854 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.105e-05/0.201, allocations: 15.98 kB / 0.7854 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.814e-06/0.201, allocations: 0 / 0.7854 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.669e-05/0.2011, allocations: 4 kB / 0.7854 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.037e-05/0.2011, allocations: 19.91 kB / 0.7855 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2011, allocations: 3.938 kB / 0.7855 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2012, allocations: 0 / 0.7855 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.299e-06/0.2012, allocations: 0 / 0.7855 GB, free: 2.469 MB / 0.6544 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.0002811/0.2014, allocations: 327.6 kB / 0.7858 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.2015, allocations: 8.031 kB / 0.7858 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.356e-05/0.2015, allocations: 0.9375 kB / 0.7858 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.2016, allocations: 160.4 kB / 0.7859 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-06/0.2016, allocations: 384 / 0.7859 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.2017, allocations: 8.359 kB / 0.7859 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.923e-05/0.2017, allocations: 26.27 kB / 0.786 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.2018, allocations: 192 / 0.786 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.2018, allocations: 3.938 kB / 0.786 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.2018, allocations: 3.984 kB / 0.786 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.842e-05/0.2018, allocations: 11.94 kB / 0.786 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001242/0.2019, allocations: 141.7 kB / 0.7861 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.376e-05/0.202, allocations: 30.53 kB / 0.7862 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.422e-05/0.202, allocations: 4.859 kB / 0.7862 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.202, allocations: 0 / 0.7862 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.202, allocations: 34.62 kB / 0.7862 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.2021, allocations: 4 kB / 0.7862 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001105/0.2022, allocations: 37.58 kB / 0.7862 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.2022, allocations: 51.41 kB / 0.7863 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.969e-05/0.2022, allocations: 89.86 kB / 0.7864 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.2023, allocations: 29.7 kB / 0.7864 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.039e-05/0.2023, allocations: 84.14 kB / 0.7865 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.2023, allocations: 3.984 kB / 0.7865 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.2024, allocations: 9.719 kB / 0.7865 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.312e-05/0.2025, allocations: 315 kB / 0.7868 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.2025, allocations: 4 kB / 0.7868 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-06/0.2025, allocations: 0 / 0.7868 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.523e-05/0.2025, allocations: 8.859 kB / 0.7868 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2025, allocations: 0 / 0.7868 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.65e-05/0.2026, allocations: 45.62 kB / 0.7868 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2026, allocations: 11.94 kB / 0.7869 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.2026, allocations: 0 / 0.7869 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2026, allocations: 8.031 kB / 0.7869 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.531e-05/0.2027, allocations: 0 / 0.7869 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.2027, allocations: 0 / 0.7869 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.437e-05/0.2027, allocations: 3.906 kB / 0.7869 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.2027, allocations: 4 kB / 0.7869 GB, free: 0.8008 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.049e-05/0.2028, allocations: 105.8 kB / 0.787 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-06/0.2028, allocations: 0 / 0.787 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.16e-05/0.2029, allocations: 52.75 kB / 0.787 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.2029, allocations: 0 / 0.787 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2029, allocations: 0 / 0.787 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.2029, allocations: 0 / 0.787 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.346e-05/0.203, allocations: 145.7 kB / 0.7872 GB, free: 448 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.203, allocations: 7.938 kB / 0.7872 GB, free: 440 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.702e-05/0.203, allocations: 0 / 0.7872 GB, free: 440 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.203, allocations: 0 / 0.7872 GB, free: 440 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.203, allocations: 3.938 kB / 0.7872 GB, free: 436 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.2031, allocations: 0 / 0.7872 GB, free: 436 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2031, allocations: 8.031 kB / 0.7872 GB, free: 428 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.092e-05/0.2031, allocations: 57.12 kB / 0.7872 GB, free: 352 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.2032, allocations: 77.11 kB / 0.7873 GB, free: 256 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.2032, allocations: 7.875 kB / 0.7873 GB, free: 248 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.078e-05/0.2032, allocations: 4 kB / 0.7873 GB, free: 244 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.306e-05/0.2032, allocations: 0 / 0.7873 GB, free: 244 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.2032, allocations: 0 / 0.7873 GB, free: 244 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.301e-05/0.2033, allocations: 79.31 kB / 0.7874 GB, free: 164 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2033, allocations: 0 / 0.7874 GB, free: 164 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001835/0.2034, allocations: 4 kB / 0.7874 GB, free: 160 kB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001317/0.2036, allocations: 107.2 kB / 0.7875 GB, free: 44 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 5.971e-05/0.2037, allocations: 7.938 kB / 0.7875 GB, free: 36 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2037, allocations: 0 / 0.7875 GB, free: 36 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.478e-06/0.2037, allocations: 4 kB / 0.7875 GB, free: 32 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.2038, allocations: 12.06 kB / 0.7875 GB, free: 20 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2908/0.4946, allocations: 68.58 kB / 0.7876 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.123e-05/0.4947, allocations: 0.6746 MB / 0.7883 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.348e-05/0.4948, allocations: 2.75 kB / 0.7883 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.4948, allocations: 8.781 kB / 0.7883 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of SimCode: time 9.12e-07/0.4948, allocations: 0.9688 kB / 0.7883 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of Templates: time 0.002198/0.497, allocations: 291.7 kB / 0.7885 GB, free: 47.86 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)