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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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: "" <> 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.008113/0.008113, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.002015/0.002015, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.8995/0.8995, allocations: 143.3 MB / 433.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 63.38 kB / 0.5954 GB, free: 12.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1613, allocations: 82.02 MB / 0.6755 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001785/0.1631, allocations: 0.5946 MB / 0.676 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002244/0.1633, allocations: 35.81 kB / 0.6761 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.389e-05/0.1634, allocations: 4 kB / 0.6761 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.12e-05/0.1634, allocations: 0 / 0.6761 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.35e-06/0.1634, allocations: 0 / 0.6761 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.1637, allocations: 11.98 kB / 0.6761 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.831e-05/0.1637, allocations: 8 kB / 0.6761 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.1637, allocations: 0 / 0.6761 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.267e-05/0.1638, allocations: 0 / 0.6761 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.164e-05/0.1638, allocations: 0 / 0.6761 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.606e-06/0.1638, allocations: 0 / 0.6761 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.296e-05/0.1639, allocations: 23.91 kB / 0.6761 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.125e-06/0.1639, allocations: 0 / 0.6761 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.524e-05/0.1639, allocations: 4 kB / 0.6761 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.196e-05/0.164, allocations: 19.91 kB / 0.6761 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.164, allocations: 0 / 0.6761 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.353e-06/0.164, allocations: 0 / 0.6761 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.1641, allocations: 8 kB / 0.6761 GB, free: 9.855 MB / 0.5137 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.0003424/0.1644, allocations: 315.8 kB / 0.6764 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1644, allocations: 8.031 kB / 0.6765 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.1645, allocations: 30.75 kB / 0.6765 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.849e-05/0.1645, allocations: 0.9375 kB / 0.6765 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.1646, allocations: 164.4 kB / 0.6766 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.1646, allocations: 384 / 0.6766 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.1647, allocations: 4.375 kB / 0.6766 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.434e-05/0.1647, allocations: 30.25 kB / 0.6767 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.1648, allocations: 7.938 kB / 0.6767 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.1648, allocations: 0 / 0.6767 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1648, allocations: 7.922 kB / 0.6767 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.884e-05/0.1648, allocations: 7.938 kB / 0.6767 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001448/0.165, allocations: 141.7 kB / 0.6768 GB, free: 9 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.326e-05/0.165, allocations: 22.61 kB / 0.6769 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.165, allocations: 4.859 kB / 0.6769 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.1651, allocations: 4 kB / 0.6769 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.1651, allocations: 38.95 kB / 0.6769 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1651, allocations: 0 / 0.6769 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001269/0.1652, allocations: 37.58 kB / 0.6769 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.1653, allocations: 51.41 kB / 0.677 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.674e-05/0.1653, allocations: 89.86 kB / 0.6771 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1653, allocations: 25.7 kB / 0.6771 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.1654, allocations: 84.14 kB / 0.6772 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.1654, allocations: 12.08 kB / 0.6772 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.1655, allocations: 9.719 kB / 0.6772 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1656, allocations: 314.8 kB / 0.6775 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.948e-06/0.1656, allocations: 0 / 0.6775 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-06/0.1656, allocations: 4 kB / 0.6775 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.138e-05/0.1657, allocations: 12.8 kB / 0.6775 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1657, allocations: 0 / 0.6775 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.521e-05/0.1657, allocations: 41.7 kB / 0.6775 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1657, allocations: 4 kB / 0.6776 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1658, allocations: 3.938 kB / 0.6776 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1658, allocations: 4 kB / 0.6776 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.23e-05/0.1658, allocations: 3.984 kB / 0.6776 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1658, allocations: 0 / 0.6776 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.159e-05/0.1659, allocations: 0 / 0.6776 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.1659, allocations: 4 kB / 0.6776 GB, free: 8.16 MB / 0.5137 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 7.156e-05/0.166, allocations: 109.8 kB / 0.6777 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-06/0.166, allocations: 4.031 kB / 0.6777 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.1661, allocations: 52.69 kB / 0.6777 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.1661, allocations: 0 / 0.6777 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1661, allocations: 0 / 0.6777 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1661, allocations: 0 / 0.6777 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.1662, allocations: 141.7 kB / 0.6779 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1662, allocations: 0 / 0.6779 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.242e-05/0.1662, allocations: 11.98 kB / 0.6779 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1662, allocations: 4.031 kB / 0.6779 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.1663, allocations: 3.938 kB / 0.6779 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1663, allocations: 0 / 0.6779 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1663, allocations: 0 / 0.6779 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.001e-05/0.1663, allocations: 57.14 kB / 0.6779 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.1664, allocations: 81.09 kB / 0.678 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.1664, allocations: 11.81 kB / 0.678 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.203e-05/0.1664, allocations: 4.031 kB / 0.678 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.002e-05/0.1664, allocations: 4 kB / 0.678 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.1665, allocations: 0 / 0.678 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.653e-05/0.1665, allocations: 75.28 kB / 0.6781 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1665, allocations: 0 / 0.6781 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001822/0.1667, allocations: 7.938 kB / 0.6781 GB, free: 7.504 MB / 0.5137 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.0004059/0.1671, allocations: 0.6007 MB / 0.6787 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.003e-05/0.1672, allocations: 7.938 kB / 0.6787 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1672, allocations: 0 / 0.6787 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.716e-06/0.1672, allocations: 4 kB / 0.6787 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001173/0.1673, allocations: 0 / 0.6787 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002679/0.1676, allocations: 114.5 kB / 0.6788 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.1679, allocations: 0.6691 MB / 0.6795 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.052e-05/0.1679, allocations: 8 kB / 0.6795 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/0.1679, allocations: 7.438 kB / 0.6795 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1679, allocations: 0 / 0.6795 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.1904, allocations: 1.034 MB / 0.6805 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.867/8.057, allocations: 9.781 kB / 0.6805 GB, free: 5.062 MB / 0.5137 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)