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.005942/0.005942, allocations: 103.6 kB / 15.74 MB, free: 6.039 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.0009704/0.0009704, allocations: 196.8 kB / 16.68 MB, free: 5.953 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.251/1.251, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.341/1.341, allocations: 251.7 MB / 0.5094 GB, free: 3.113 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.001264/0.001265, allocations: 67.89 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1879, allocations: 104.7 MB / 0.8281 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001782/0.1897, allocations: 0.5779 MB / 0.8286 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002209/0.1899, allocations: 35.88 kB / 0.8287 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.478e-05/0.19, allocations: 8 kB / 0.8287 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.19, allocations: 3.938 kB / 0.8287 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.931e-06/0.19, allocations: 0 / 0.8287 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.1903, allocations: 7.984 kB / 0.8287 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.143e-05/0.1903, allocations: 7.938 kB / 0.8287 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.1904, allocations: 0 / 0.8287 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.762e-05/0.1904, allocations: 4 kB / 0.8287 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.926e-05/0.1904, allocations: 0 / 0.8287 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.995e-06/0.1905, allocations: 0 / 0.8287 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.103e-05/0.1906, allocations: 23.92 kB / 0.8287 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.1906, allocations: 3.984 kB / 0.8287 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.764e-05/0.1906, allocations: 11.94 kB / 0.8287 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.37e-05/0.1907, allocations: 11.97 kB / 0.8288 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1907, allocations: 4 kB / 0.8288 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1907, allocations: 0 / 0.8288 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.1907, allocations: 4 kB / 0.8288 GB, free: 15.51 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.000331/0.1911, allocations: 307.6 kB / 0.8291 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1911, allocations: 8.031 kB / 0.8291 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.1911, allocations: 0.9375 kB / 0.8291 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.1912, allocations: 164.4 kB / 0.8292 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.507e-06/0.1913, allocations: 8.359 kB / 0.8292 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.1913, allocations: 384 / 0.8292 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.492e-05/0.1914, allocations: 30.27 kB / 0.8293 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1914, allocations: 192 / 0.8293 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1914, allocations: 7.875 kB / 0.8293 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1914, allocations: 0 / 0.8293 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.29e-05/0.1914, allocations: 7.938 kB / 0.8293 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.1916, allocations: 153.6 kB / 0.8294 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.002e-05/0.1916, allocations: 18.58 kB / 0.8294 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.1917, allocations: 8.953 kB / 0.8294 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.1917, allocations: 0 / 0.8294 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.1917, allocations: 30.56 kB / 0.8295 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1917, allocations: 0 / 0.8295 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001453/0.1919, allocations: 45.58 kB / 0.8295 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.1919, allocations: 55.39 kB / 0.8296 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.686e-05/0.192, allocations: 93.98 kB / 0.8297 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.192, allocations: 25.7 kB / 0.8297 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.1921, allocations: 80.14 kB / 0.8298 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.1921, allocations: 3.938 kB / 0.8298 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.1921, allocations: 14.06 kB / 0.8298 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1923, allocations: 314.8 kB / 0.8301 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-06/0.1923, allocations: 0 / 0.8301 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.446e-06/0.1923, allocations: 4 kB / 0.8301 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.628e-05/0.1923, allocations: 8.922 kB / 0.8301 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1923, allocations: 4 kB / 0.8301 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.582e-05/0.1924, allocations: 37.62 kB / 0.8301 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1924, allocations: 4 kB / 0.8301 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1924, allocations: 0 / 0.8301 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.1924, allocations: 3.938 kB / 0.8301 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.38e-05/0.1925, allocations: 4 kB / 0.8301 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1925, allocations: 0 / 0.8301 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.222e-05/0.1925, allocations: 3.938 kB / 0.8301 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1925, allocations: 4.031 kB / 0.8302 GB, free: 13.86 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.8e-05/0.1926, allocations: 109.8 kB / 0.8303 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.1926, allocations: 7.984 kB / 0.8303 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.523e-05/0.1927, allocations: 44.7 kB / 0.8303 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1927, allocations: 0 / 0.8303 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1928, allocations: 0 / 0.8303 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.1928, allocations: 32 / 0.8303 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.1929, allocations: 149.7 kB / 0.8305 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1929, allocations: 7.938 kB / 0.8305 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.876e-05/0.193, allocations: 4 kB / 0.8305 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.193, allocations: 0 / 0.8305 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.193, allocations: 3.938 kB / 0.8305 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.193, allocations: 0 / 0.8305 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.193, allocations: 0 / 0.8305 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.875e-05/0.1931, allocations: 65.12 kB / 0.8305 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.932e-05/0.1932, allocations: 77.11 kB / 0.8306 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.1932, allocations: 3.938 kB / 0.8306 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.04e-05/0.1932, allocations: 0 / 0.8306 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.834e-05/0.1932, allocations: 4 kB / 0.8306 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.1932, allocations: 0 / 0.8306 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.968e-05/0.1933, allocations: 83.22 kB / 0.8307 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.21e-07/0.1933, allocations: 0 / 0.8307 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001945/0.1935, allocations: 12 kB / 0.8307 GB, free: 13.19 MB / 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.0001994/0.1937, allocations: 107.3 kB / 0.8308 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.783e-05/0.1938, allocations: 4 kB / 0.8308 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1938, allocations: 0 / 0.8308 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.532e-06/0.1938, allocations: 4 kB / 0.8308 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.1939, allocations: 2.656 kB / 0.8308 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002013/0.1941, allocations: 88.97 kB / 0.8309 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.1944, allocations: 0.6727 MB / 0.8316 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.809e-05/0.1945, allocations: 12.11 kB / 0.8316 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.197e-05/0.1945, allocations: 7.438 kB / 0.8316 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.1945, allocations: 0 / 0.8316 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.002101/0.1966, allocations: 296.5 kB / 0.8319 GB, free: 11.95 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (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)