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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008058/0.0008055, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005306/0.005306, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.315/1.315, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9829/0.9829, allocations: 143.2 MB / 434.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004673/0.0004671, allocations: 16 kB / 0.5165 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1752, allocations: 83.41 MB / 0.598 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.0006695/0.1759, allocations: 319.1 kB / 0.5983 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002381/0.1762, allocations: 39.81 kB / 0.5983 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.498e-06/0.1762, allocations: 0 / 0.5983 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.576e-05/0.1762, allocations: 4 kB / 0.5983 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.989e-06/0.1763, allocations: 0 / 0.5983 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.1765, allocations: 8 kB / 0.5983 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.53e-05/0.1765, allocations: 3.984 kB / 0.5983 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.1766, allocations: 4 kB / 0.5983 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.55e-05/0.1766, allocations: 0 / 0.5983 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.145e-05/0.1767, allocations: 0 / 0.5983 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.837e-06/0.1767, allocations: 0 / 0.5983 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-05/0.1768, allocations: 23.92 kB / 0.5984 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.1768, allocations: 3.938 kB / 0.5984 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.1768, allocations: 25.7 kB / 0.5984 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.117e-05/0.1769, allocations: 19.95 kB / 0.5984 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1769, allocations: 0 / 0.5984 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1769, allocations: 4 kB / 0.5984 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.1769, allocations: 0 / 0.5984 GB, free: 7.137 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.0003057/0.1773, allocations: 315.6 kB / 0.5987 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1773, allocations: 8.031 kB / 0.5987 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.087e-05/0.1773, allocations: 30.75 kB / 0.5987 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.023e-05/0.1774, allocations: 4.938 kB / 0.5987 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.374e-05/0.1774, allocations: 164.4 kB / 0.5989 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.1775, allocations: 384 / 0.5989 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.1775, allocations: 384 / 0.5989 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.265e-05/0.1776, allocations: 34.2 kB / 0.5989 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1776, allocations: 7.938 kB / 0.5989 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.1776, allocations: 0 / 0.5989 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1776, allocations: 0 / 0.5989 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.875e-05/0.1776, allocations: 0 / 0.5989 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.1778, allocations: 149.7 kB / 0.5991 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.535e-05/0.1778, allocations: 18.61 kB / 0.5991 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.529e-05/0.1778, allocations: 4.859 kB / 0.5991 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.1779, allocations: 8.062 kB / 0.5991 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.1779, allocations: 34.5 kB / 0.5992 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.755e-06/0.1779, allocations: 3.984 kB / 0.5992 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001243/0.178, allocations: 33.64 kB / 0.5992 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.1781, allocations: 63.39 kB / 0.5992 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.354e-05/0.1781, allocations: 89.86 kB / 0.5993 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.1781, allocations: 29.64 kB / 0.5994 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.25e-05/0.1782, allocations: 84.27 kB / 0.5994 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.1782, allocations: 3.906 kB / 0.5994 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.1782, allocations: 13.66 kB / 0.5995 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1783, allocations: 314.8 kB / 0.5998 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.776e-06/0.1784, allocations: 0 / 0.5998 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-06/0.1784, allocations: 4 kB / 0.5998 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.209e-05/0.1784, allocations: 12.8 kB / 0.5998 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1784, allocations: 0 / 0.5998 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.364e-05/0.1785, allocations: 41.75 kB / 0.5998 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1785, allocations: 4 kB / 0.5998 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1785, allocations: 3.938 kB / 0.5998 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1785, allocations: 4 kB / 0.5998 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.911e-05/0.1786, allocations: 0 / 0.5998 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.1786, allocations: 0 / 0.5998 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.166e-05/0.1786, allocations: 0 / 0.5998 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.1786, allocations: 4 kB / 0.5998 GB, free: 5.441 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.055e-05/0.1787, allocations: 105.8 kB / 0.5999 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-06/0.1787, allocations: 4.031 kB / 0.5999 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.405e-05/0.1788, allocations: 52.69 kB / 0.6 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1788, allocations: 0 / 0.6 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.1788, allocations: 0 / 0.6 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.1788, allocations: 0 / 0.6 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.947e-05/0.1789, allocations: 149.7 kB / 0.6001 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1789, allocations: 0 / 0.6001 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.942e-05/0.1789, allocations: 4 kB / 0.6001 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1789, allocations: 4.031 kB / 0.6001 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.179, allocations: 3.938 kB / 0.6001 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.179, allocations: 0 / 0.6001 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.179, allocations: 0 / 0.6001 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.397e-05/0.179, allocations: 65.06 kB / 0.6002 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.05e-05/0.1791, allocations: 77.11 kB / 0.6003 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.1791, allocations: 3.938 kB / 0.6003 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.138e-05/0.1791, allocations: 4.031 kB / 0.6003 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.131e-05/0.1791, allocations: 4 kB / 0.6003 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.1791, allocations: 0 / 0.6003 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.239e-05/0.1792, allocations: 79.22 kB / 0.6004 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1792, allocations: 0 / 0.6004 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001932/0.1794, allocations: 4 kB / 0.6004 GB, free: 4.793 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 (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.0003783/0.1798, allocations: 0.601 MB / 0.601 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.561e-05/0.1798, allocations: 7.938 kB / 0.601 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1798, allocations: 0 / 0.601 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.989e-06/0.1798, allocations: 7.984 kB / 0.601 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.18, allocations: 7.938 kB / 0.601 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.1803, allocations: 104.4 kB / 0.6011 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.1805, allocations: 0.6733 MB / 0.6017 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.84e-05/0.1805, allocations: 7.969 kB / 0.6017 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.1806, allocations: 11.44 kB / 0.6018 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of SimCode: time 6.42e-07/0.1806, allocations: 0 / 0.6018 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009659/0.1902, allocations: 0.8425 MB / 0.6026 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002384/0.1905, allocations: 217.9 kB / 0.6028 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/1.826, allocations: 0 / 0.6028 GB, free: 2.324 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Polynomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)