Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.75/1.75, allocations: 287.5 MB / 302.6 MB, free: 8.395 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001044, allocations: 181.2 kB / 371.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.4 MB / 0.6298 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008015/0.0008016, allocations: 111.4 kB / 0.7432 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004934, allocations: 13.75 kB / 0.8661 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2012, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.000796/0.2021, allocations: 315.5 kB / 0.979 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002257/0.2024, allocations: 35.91 kB / 0.979 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.282e-05/0.2024, allocations: 4 kB / 0.979 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.285e-05/0.2024, allocations: 0 / 0.979 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.015e-06/0.2024, allocations: 0 / 0.979 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.2027, allocations: 8 kB / 0.979 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.796e-05/0.2028, allocations: 3.984 kB / 0.979 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.325e-05/0.2029, allocations: 0 / 0.979 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.033e-05/0.2029, allocations: 4 kB / 0.979 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.301e-05/0.2029, allocations: 4 kB / 0.979 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.203, allocations: 0 / 0.979 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.872e-05/0.2031, allocations: 15.92 kB / 0.9791 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.127e-06/0.2031, allocations: 0 / 0.9791 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.187e-05/0.2031, allocations: 29.7 kB / 0.9791 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.252e-05/0.2032, allocations: 15.98 kB / 0.9791 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2032, allocations: 0 / 0.9791 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2032, allocations: 0 / 0.9791 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2032, allocations: 0 / 0.9791 GB, free: 27.73 MB / 0.6198 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.000267/0.2035, allocations: 311.5 kB / 0.9794 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.2036, allocations: 12.09 kB / 0.9794 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.2036, allocations: 0.9375 kB / 0.9794 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.208e-05/0.2037, allocations: 160.4 kB / 0.9796 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.2037, allocations: 8.359 kB / 0.9796 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.2037, allocations: 384 / 0.9796 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.2038, allocations: 30.27 kB / 0.9796 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2038, allocations: 192 / 0.9796 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.2039, allocations: 11.81 kB / 0.9796 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2039, allocations: 0 / 0.9796 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.369e-05/0.2039, allocations: 7.984 kB / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.204, allocations: 149.7 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.37e-05/0.2041, allocations: 18.58 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.693e-05/0.2041, allocations: 8.953 kB / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.38e-05/0.2041, allocations: 3.984 kB / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.2042, allocations: 34.56 kB / 0.9798 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.2042, allocations: 0 / 0.9798 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001461/0.2043, allocations: 45.56 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.2044, allocations: 51.41 kB / 0.9799 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.574e-05/0.2044, allocations: 97.92 kB / 0.98 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.082e-06/0.2044, allocations: 25.7 kB / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.036e-05/0.2044, allocations: 80.14 kB / 0.9801 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.2044, allocations: 3.906 kB / 0.9801 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-06/0.2044, allocations: 0 / 0.9801 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.937e-05/0.2045, allocations: 310.8 kB / 0.9804 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-06/0.2045, allocations: 8 kB / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.62e-06/0.2045, allocations: 0 / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.672e-05/0.2045, allocations: 24.84 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2045, allocations: 0 / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.662e-05/0.2046, allocations: 29.7 kB / 0.9805 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.2046, allocations: 4 kB / 0.9805 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.2046, allocations: 4 kB / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2046, allocations: 3.938 kB / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.181e-05/0.2047, allocations: 0 / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.2047, allocations: 0 / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.315e-05/0.2047, allocations: 0 / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.2047, allocations: 4 kB / 0.9805 GB, free: 26.09 MB / 0.6198 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.339e-05/0.2048, allocations: 117.8 kB / 0.9806 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-06/0.2048, allocations: 0 / 0.9806 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.599e-05/0.2049, allocations: 48.7 kB / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.2049, allocations: 0 / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2049, allocations: 0 / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.2049, allocations: 3.984 kB / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.868e-05/0.205, allocations: 145.7 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.205, allocations: 3.938 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.839e-05/0.205, allocations: 4 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.205, allocations: 0 / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.205, allocations: 3.938 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.205, allocations: 0 / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.205, allocations: 0 / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.067e-05/0.2051, allocations: 61.12 kB / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.2051, allocations: 85.36 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.2051, allocations: 3.938 kB / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.168e-05/0.2051, allocations: 0 / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/0.2052, allocations: 4 kB / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.2052, allocations: 0 / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.42e-05/0.2052, allocations: 75.28 kB / 0.981 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2052, allocations: 0 / 0.981 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002333/0.2054, allocations: 7.984 kB / 0.981 GB, free: 25.43 MB / 0.6198 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.0001257/0.2056, allocations: 107.2 kB / 0.9811 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7e-05/0.2056, allocations: 4 kB / 0.9811 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2057, allocations: 3.938 kB / 0.9811 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.893e-06/0.2057, allocations: 4 kB / 0.9811 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.2058, allocations: 6.172 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000169/0.206, allocations: 82.69 kB / 0.9812 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.2061, allocations: 0.6692 MB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.931e-05/0.2061, allocations: 8.125 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.2062, allocations: 11.44 kB / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/0.2062, allocations: 0 / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of Templates: time 0.001889/0.2081, allocations: 280 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)