Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009719/0.0009717, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001056/0.001056, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9975/0.9975, allocations: 143.3 MB / 434.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003326, allocations: 12 kB / 0.5158 GB, free: 11.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1901, allocations: 83.4 MB / 0.5973 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.0009807/0.1911, allocations: 307 kB / 0.5976 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002367/0.1914, allocations: 35.92 kB / 0.5976 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.038e-05/0.1914, allocations: 0 / 0.5976 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.1914, allocations: 0 / 0.5976 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.632e-06/0.1915, allocations: 0 / 0.5976 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.1918, allocations: 7.984 kB / 0.5976 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.57e-05/0.1918, allocations: 0 / 0.5976 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.358e-05/0.1919, allocations: 0 / 0.5976 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.226e-05/0.192, allocations: 15.88 kB / 0.5976 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.863e-05/0.192, allocations: 7.984 kB / 0.5976 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.1921, allocations: 0 / 0.5976 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.1922, allocations: 15.92 kB / 0.5977 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.1922, allocations: 3.984 kB / 0.5977 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.1923, allocations: 25.7 kB / 0.5977 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.523e-05/0.1924, allocations: 15.98 kB / 0.5977 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1924, allocations: 0 / 0.5977 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1924, allocations: 0 / 0.5977 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.1924, allocations: 0 / 0.5977 GB, free: 7.422 MB / 0.4981 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.0003467/0.1928, allocations: 307.4 kB / 0.598 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1929, allocations: 12.03 kB / 0.598 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.1929, allocations: 0 / 0.598 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.193, allocations: 171 kB / 0.5982 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.1931, allocations: 3.984 kB / 0.5982 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.1931, allocations: 0 / 0.5982 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.1932, allocations: 29.64 kB / 0.5982 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1933, allocations: 0 / 0.5982 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1933, allocations: 0 / 0.5982 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1933, allocations: 4 kB / 0.5982 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.034e-05/0.1933, allocations: 0 / 0.5982 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002006/0.1936, allocations: 157.6 kB / 0.5984 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.708e-05/0.1936, allocations: 18.61 kB / 0.5984 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.1937, allocations: 0 / 0.5984 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.1937, allocations: 30.56 kB / 0.5984 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.003e-06/0.1938, allocations: 4.062 kB / 0.5984 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000176/0.1939, allocations: 37.64 kB / 0.5984 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.194, allocations: 55.53 kB / 0.5985 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.67e-05/0.1941, allocations: 89.86 kB / 0.5986 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1941, allocations: 29.69 kB / 0.5986 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.1942, allocations: 80.14 kB / 0.5987 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.1942, allocations: 3.906 kB / 0.5987 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-06/0.1943, allocations: 4 kB / 0.5987 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1944, allocations: 310.8 kB / 0.599 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.1945, allocations: 0 / 0.599 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.174e-05/0.1945, allocations: 3.938 kB / 0.599 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.766e-05/0.1945, allocations: 12.02 kB / 0.599 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1945, allocations: 0 / 0.599 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.89e-05/0.1946, allocations: 37.64 kB / 0.599 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1947, allocations: 4 kB / 0.599 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.1947, allocations: 7.984 kB / 0.5991 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1947, allocations: 0 / 0.5991 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.699e-05/0.1948, allocations: 7.938 kB / 0.5991 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1948, allocations: 0 / 0.5991 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.258e-05/0.1949, allocations: 0 / 0.5991 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.1949, allocations: 8.031 kB / 0.5991 GB, free: 5.809 MB / 0.4981 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 0.0001004/0.195, allocations: 109.8 kB / 0.5992 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.195, allocations: 0 / 0.5992 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.1952, allocations: 52.73 kB / 0.5992 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1952, allocations: 0 / 0.5992 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1953, allocations: 0 / 0.5992 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1953, allocations: 4.031 kB / 0.5992 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.1954, allocations: 141.7 kB / 0.5994 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.1954, allocations: 7.938 kB / 0.5994 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.303e-05/0.1955, allocations: 4 kB / 0.5994 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1955, allocations: 0 / 0.5994 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1955, allocations: 0 / 0.5994 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1955, allocations: 0 / 0.5994 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1955, allocations: 0 / 0.5994 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.1957, allocations: 61.14 kB / 0.5994 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.1957, allocations: 85.05 kB / 0.5995 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.1957, allocations: 0 / 0.5995 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.241e-05/0.1958, allocations: 4 kB / 0.5995 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.1958, allocations: 4 kB / 0.5995 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1958, allocations: 3.938 kB / 0.5995 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.057e-05/0.1959, allocations: 75.28 kB / 0.5996 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.21e-07/0.1959, allocations: 0 / 0.5996 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003451/0.1962, allocations: 4 kB / 0.5996 GB, free: 5.164 MB / 0.4981 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.0002097/0.1965, allocations: 107.3 kB / 0.5997 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.388e-05/0.1966, allocations: 7.984 kB / 0.5997 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1966, allocations: 3.938 kB / 0.5997 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.625e-05/0.1966, allocations: 0 / 0.5997 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.1967, allocations: 7.938 kB / 0.5997 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002112/0.197, allocations: 78.98 kB / 0.5998 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1973, allocations: 0.6731 MB / 0.6005 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.728e-05/0.1974, allocations: 8.125 kB / 0.6005 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.1974, allocations: 7.438 kB / 0.6005 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of SimCode: time 2.856e-06/0.1974, allocations: 0 / 0.6005 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of Templates: time 0.003377/0.2008, allocations: 288 kB / 0.6007 GB, free: 3.934 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) Environment - environmentSimulation: