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.001043/0.001043, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001067/0.001067, allocations: 192.8 kB / 16.13 MB, free: 6.707 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.307/1.307, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.932/0.932, allocations: 143 MB / 433 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.91 kB / 0.5136 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1642, allocations: 82.05 MB / 0.5938 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001945/0.1662, allocations: 0.631 MB / 0.5944 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002362/0.1664, allocations: 35.88 kB / 0.5944 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.023e-05/0.1665, allocations: 0 / 0.5944 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.34e-05/0.1665, allocations: 4 kB / 0.5944 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.478e-06/0.1665, allocations: 0 / 0.5944 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.1668, allocations: 15.98 kB / 0.5944 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.443e-05/0.1668, allocations: 0 / 0.5944 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.1669, allocations: 3.984 kB / 0.5944 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.51e-05/0.1669, allocations: 7.938 kB / 0.5944 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.852e-05/0.1669, allocations: 0 / 0.5944 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.827e-06/0.1669, allocations: 3.938 kB / 0.5944 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.851e-05/0.167, allocations: 15.98 kB / 0.5945 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.286e-06/0.167, allocations: 0 / 0.5945 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.709e-05/0.1671, allocations: 4 kB / 0.5945 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.625e-05/0.1672, allocations: 23.91 kB / 0.5945 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1672, allocations: 0 / 0.5945 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1672, allocations: 0 / 0.5945 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.1672, allocations: 0 / 0.5945 GB, free: 9.211 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.0002655/0.1675, allocations: 311.6 kB / 0.5948 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1675, allocations: 12.03 kB / 0.5948 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/0.1675, allocations: 34.73 kB / 0.5948 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.035e-05/0.1676, allocations: 0.9375 kB / 0.5948 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.535e-05/0.1677, allocations: 160.4 kB / 0.595 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.1677, allocations: 4.375 kB / 0.595 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.1677, allocations: 4.312 kB / 0.595 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.9e-05/0.1678, allocations: 34.27 kB / 0.595 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1678, allocations: 7.938 kB / 0.595 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-06/0.1678, allocations: 0 / 0.595 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.1678, allocations: 0 / 0.595 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.763e-05/0.1678, allocations: 0 / 0.595 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.168, allocations: 149.7 kB / 0.5952 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.746e-05/0.168, allocations: 18.58 kB / 0.5952 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.014e-05/0.168, allocations: 12.89 kB / 0.5952 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.1681, allocations: 0 / 0.5952 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.1681, allocations: 38.56 kB / 0.5952 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.164e-06/0.1681, allocations: 0 / 0.5952 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001525/0.1683, allocations: 45.56 kB / 0.5953 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.1683, allocations: 51.41 kB / 0.5953 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.314e-05/0.1683, allocations: 93.98 kB / 0.5954 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.1684, allocations: 25.7 kB / 0.5954 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.498e-05/0.1684, allocations: 80.14 kB / 0.5955 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.1684, allocations: 7.891 kB / 0.5955 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.1685, allocations: 17.72 kB / 0.5955 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.1686, allocations: 310.8 kB / 0.5958 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.1686, allocations: 3.938 kB / 0.5958 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.553e-06/0.1686, allocations: 0 / 0.5958 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.533e-05/0.1686, allocations: 16.91 kB / 0.5959 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1686, allocations: 0 / 0.5959 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.274e-05/0.1687, allocations: 33.7 kB / 0.5959 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1687, allocations: 4 kB / 0.5959 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1687, allocations: 3.938 kB / 0.5959 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1687, allocations: 0 / 0.5959 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.548e-05/0.1688, allocations: 4 kB / 0.5959 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1688, allocations: 0 / 0.5959 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.203e-05/0.1688, allocations: 0 / 0.5959 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.1688, allocations: 4.031 kB / 0.5959 GB, free: 7.516 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 8.515e-05/0.1689, allocations: 125.7 kB / 0.596 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.1689, allocations: 0 / 0.596 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.1691, allocations: 36.77 kB / 0.5961 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1691, allocations: 0 / 0.5961 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1691, allocations: 4 kB / 0.5961 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1691, allocations: 8.016 kB / 0.5961 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.1692, allocations: 145.7 kB / 0.5962 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1692, allocations: 0 / 0.5962 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.875e-05/0.1693, allocations: 0 / 0.5962 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1693, allocations: 4 kB / 0.5962 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1693, allocations: 3.938 kB / 0.5962 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1693, allocations: 0 / 0.5962 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1693, allocations: 0 / 0.5962 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.677e-05/0.1694, allocations: 69.05 kB / 0.5963 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.1694, allocations: 81.11 kB / 0.5964 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.1694, allocations: 3.938 kB / 0.5964 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.246e-05/0.1694, allocations: 7.938 kB / 0.5964 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.1694, allocations: 0 / 0.5964 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.1695, allocations: 7.984 kB / 0.5964 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.303e-05/0.1695, allocations: 75.28 kB / 0.5964 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1695, allocations: 0 / 0.5964 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001818/0.1697, allocations: 4 kB / 0.5965 GB, free: 6.852 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.0003573/0.17, allocations: 0.6049 MB / 0.597 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.861e-05/0.1701, allocations: 4 kB / 0.597 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1701, allocations: 0 / 0.597 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.973e-06/0.1701, allocations: 0 / 0.597 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.1703, allocations: 10.83 kB / 0.5971 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/0.1705, allocations: 112.4 kB / 0.5972 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.1707, allocations: 0.6692 MB / 0.5978 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.498e-05/0.1707, allocations: 0 / 0.5978 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.1708, allocations: 11.44 kB / 0.5978 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.1708, allocations: 4 kB / 0.5978 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06369/0.2345, allocations: 0.9025 MB / 0.5987 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002362/0.2348, allocations: 218.6 kB / 0.5989 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/1.857, allocations: 0 / 0.5989 GB, free: 4.293 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)