Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001007/0.001007, allocations: 98.66 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 182.2 kB / 16.92 MB, free: 6.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7128/0.7128, allocations: 115.5 MB / 407.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003523, allocations: 12 kB / 495.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1895, allocations: 77.53 MB / 0.56 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.0008204/0.1904, allocations: 315.8 kB / 0.5603 GB, free: 8.676 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002654/0.1907, allocations: 46.42 kB / 0.5603 GB, free: 8.633 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.097e-05/0.1907, allocations: 4 kB / 0.5603 GB, free: 8.629 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.149e-05/0.1907, allocations: 0 / 0.5603 GB, free: 8.629 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.182e-06/0.1907, allocations: 0 / 0.5603 GB, free: 8.629 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.191, allocations: 4 kB / 0.5603 GB, free: 8.625 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.08e-05/0.1911, allocations: 3.984 kB / 0.5603 GB, free: 8.621 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.394e-05/0.1911, allocations: 4 kB / 0.5603 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.962e-05/0.1911, allocations: 0 / 0.5603 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.448e-05/0.1912, allocations: 0 / 0.5603 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.669e-06/0.1912, allocations: 0 / 0.5603 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.851e-05/0.1913, allocations: 19.98 kB / 0.5603 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.1913, allocations: 4 kB / 0.5603 GB, free: 8.594 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.1914, allocations: 37.62 kB / 0.5604 GB, free: 8.551 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.709e-05/0.1915, allocations: 11.97 kB / 0.5604 GB, free: 8.539 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1915, allocations: 0 / 0.5604 GB, free: 8.539 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1915, allocations: 0 / 0.5604 GB, free: 8.539 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1915, allocations: 0 / 0.5604 GB, free: 8.539 MB / 430.1 MB 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.0003456/0.1918, allocations: 315.6 kB / 0.5607 GB, free: 8.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1919, allocations: 8.031 kB / 0.5607 GB, free: 8.172 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.1919, allocations: 4.938 kB / 0.5607 GB, free: 8.168 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.192, allocations: 172.4 kB / 0.5609 GB, free: 7.961 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1921, allocations: 384 / 0.5609 GB, free: 7.961 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.1921, allocations: 384 / 0.5609 GB, free: 7.961 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.984e-05/0.1922, allocations: 26.27 kB / 0.5609 GB, free: 7.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.1922, allocations: 192 / 0.5609 GB, free: 7.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1922, allocations: 7.938 kB / 0.5609 GB, free: 7.922 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1922, allocations: 0 / 0.5609 GB, free: 7.922 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.095e-05/0.1922, allocations: 0 / 0.5609 GB, free: 7.922 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.1924, allocations: 149.7 kB / 0.561 GB, free: 7.727 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.736e-05/0.1924, allocations: 26.55 kB / 0.5611 GB, free: 7.691 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.703e-05/0.1924, allocations: 4.859 kB / 0.5611 GB, free: 7.684 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.705e-05/0.1925, allocations: 4.062 kB / 0.5611 GB, free: 7.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.1925, allocations: 30.56 kB / 0.5611 GB, free: 7.641 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1925, allocations: 0 / 0.5611 GB, free: 7.641 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001277/0.1927, allocations: 33.64 kB / 0.5611 GB, free: 7.602 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.1927, allocations: 59.47 kB / 0.5612 GB, free: 7.531 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.345e-05/0.1927, allocations: 97.84 kB / 0.5613 GB, free: 7.426 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1928, allocations: 29.7 kB / 0.5613 GB, free: 7.391 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.456e-05/0.1928, allocations: 80.14 kB / 0.5614 GB, free: 7.309 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.1928, allocations: 0 / 0.5614 GB, free: 7.309 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.187e-05/0.1929, allocations: 9.719 kB / 0.5614 GB, free: 7.293 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.193, allocations: 318.8 kB / 0.5617 GB, free: 6.973 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-06/0.193, allocations: 3.938 kB / 0.5617 GB, free: 6.969 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-06/0.193, allocations: 4 kB / 0.5617 GB, free: 6.965 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.256e-05/0.193, allocations: 8.922 kB / 0.5617 GB, free: 6.953 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.193, allocations: 4 kB / 0.5617 GB, free: 6.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.105e-05/0.1931, allocations: 37.69 kB / 0.5618 GB, free: 6.906 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1931, allocations: 10.12 kB / 0.5618 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1931, allocations: 0 / 0.5618 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1932, allocations: 3.938 kB / 0.5618 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.977e-05/0.1932, allocations: 8 kB / 0.5618 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1932, allocations: 0 / 0.5618 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.663e-05/0.1932, allocations: 7.938 kB / 0.5618 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.1933, allocations: 7.984 kB / 0.5618 GB, free: 6.871 MB / 430.1 MB 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.3e-05/0.1933, allocations: 105.8 kB / 0.5619 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-06/0.1933, allocations: 0 / 0.5619 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.1934, allocations: 48.75 kB / 0.5619 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1935, allocations: 0 / 0.5619 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1935, allocations: 4.031 kB / 0.562 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1935, allocations: 0 / 0.562 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.705e-05/0.1936, allocations: 145.7 kB / 0.5621 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1936, allocations: 0 / 0.5621 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.839e-05/0.1936, allocations: 4 kB / 0.5621 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1936, allocations: 3.938 kB / 0.5621 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1936, allocations: 3.938 kB / 0.5621 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.1936, allocations: 0 / 0.5621 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.1936, allocations: 0 / 0.5621 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.1938, allocations: 65.12 kB / 0.5622 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.959e-05/0.1938, allocations: 77.11 kB / 0.5622 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.1938, allocations: 3.938 kB / 0.5622 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.888e-06/0.1938, allocations: 0 / 0.5622 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/0.1938, allocations: 4 kB / 0.5622 GB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.1939, allocations: 3.984 kB / 0.5623 GB, free: 6.312 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.577e-05/0.1939, allocations: 75.28 kB / 0.5623 GB, free: 6.238 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1939, allocations: 0 / 0.5623 GB, free: 6.238 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000183/0.1941, allocations: 4 kB / 0.5623 GB, free: 6.234 MB / 430.1 MB 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.0001568/0.1942, allocations: 107.3 kB / 0.5624 GB, free: 6.117 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.776e-05/0.1943, allocations: 11.88 kB / 0.5624 GB, free: 6.105 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1943, allocations: 0 / 0.5624 GB, free: 6.105 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.355e-06/0.1943, allocations: 4 kB / 0.5624 GB, free: 6.102 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.1945, allocations: 0 / 0.5624 GB, free: 6.102 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001602/0.1946, allocations: 74.77 kB / 0.5625 GB, free: 6.004 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.1949, allocations: 0.6849 MB / 0.5632 GB, free: 5.293 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.351e-05/0.1949, allocations: 0 / 0.5632 GB, free: 5.293 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.011e-05/0.195, allocations: 7.438 kB / 0.5632 GB, free: 5.285 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.195, allocations: 4 kB / 0.5632 GB, free: 5.281 MB / 430.1 MB Notification: Performance of Templates: time 0.002171/0.1971, allocations: 280.8 kB / 0.5635 GB, free: 5.012 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)