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.004853/0.004853, allocations: 99.77 kB / 15.73 MB, free: 5.98 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.001268/0.001268, allocations: 194.7 kB / 16.68 MB, free: 5.91 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.875/0.875, allocations: 143.3 MB / 433.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 63.86 kB / 0.5953 GB, free: 12.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1597, allocations: 82.04 MB / 0.6755 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001641/0.1614, allocations: 0.5972 MB / 0.676 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002245/0.1617, allocations: 31.88 kB / 0.6761 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.182e-05/0.1617, allocations: 0 / 0.6761 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.1617, allocations: 0 / 0.6761 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.501e-06/0.1617, allocations: 0 / 0.6761 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.162, allocations: 15.98 kB / 0.6761 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.633e-05/0.162, allocations: 0 / 0.6761 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.1621, allocations: 0 / 0.6761 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.779e-05/0.1621, allocations: 7.984 kB / 0.6761 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.187e-05/0.1621, allocations: 0 / 0.6761 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.826e-06/0.1621, allocations: 0 / 0.6761 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.915e-05/0.1622, allocations: 23.92 kB / 0.6761 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.348e-06/0.1622, allocations: 3.984 kB / 0.6761 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.5e-05/0.1623, allocations: 0 / 0.6761 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.687e-05/0.1624, allocations: 19.92 kB / 0.6761 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1624, allocations: 0 / 0.6761 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1624, allocations: 0 / 0.6761 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.1624, allocations: 0 / 0.6761 GB, free: 9.887 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.000352/0.1627, allocations: 315.8 kB / 0.6764 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1628, allocations: 8.031 kB / 0.6765 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.1628, allocations: 30.75 kB / 0.6765 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.152e-05/0.1628, allocations: 8.938 kB / 0.6765 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.163, allocations: 160.4 kB / 0.6766 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.163, allocations: 8.312 kB / 0.6767 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.69e-06/0.163, allocations: 384 / 0.6767 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.016e-05/0.1631, allocations: 34.19 kB / 0.6767 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1631, allocations: 7.938 kB / 0.6767 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-06/0.1631, allocations: 0 / 0.6767 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1631, allocations: 0 / 0.6767 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.714e-05/0.1631, allocations: 0 / 0.6767 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.1633, allocations: 145.7 kB / 0.6768 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.978e-05/0.1633, allocations: 22.61 kB / 0.6769 GB, free: 9 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.994e-05/0.1634, allocations: 8.844 kB / 0.6769 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.1634, allocations: 4.062 kB / 0.6769 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.1634, allocations: 30.91 kB / 0.6769 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.1634, allocations: 3.938 kB / 0.6769 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001245/0.1636, allocations: 37.64 kB / 0.6769 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.1636, allocations: 55.41 kB / 0.677 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.24e-05/0.1637, allocations: 89.86 kB / 0.6771 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.1637, allocations: 25.7 kB / 0.6771 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.1637, allocations: 80.14 kB / 0.6772 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.1638, allocations: 7.953 kB / 0.6772 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.1638, allocations: 13.7 kB / 0.6772 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.1639, allocations: 314.8 kB / 0.6775 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.164, allocations: 4.125 kB / 0.6775 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.992e-06/0.164, allocations: 0 / 0.6775 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.915e-05/0.164, allocations: 12.8 kB / 0.6775 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.164, allocations: 0 / 0.6775 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.49e-05/0.1641, allocations: 37.64 kB / 0.6775 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1641, allocations: 11.98 kB / 0.6776 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1641, allocations: 3.938 kB / 0.6776 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.1641, allocations: 0 / 0.6776 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.799e-05/0.1642, allocations: 4 kB / 0.6776 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.1642, allocations: 4.094 kB / 0.6776 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.17e-05/0.1642, allocations: 0 / 0.6776 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1642, allocations: 0 / 0.6776 GB, free: 8.191 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.964e-05/0.1643, allocations: 109.8 kB / 0.6777 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-06/0.1643, allocations: 4 kB / 0.6777 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.577e-05/0.1644, allocations: 48.69 kB / 0.6777 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1644, allocations: 4.031 kB / 0.6777 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.1644, allocations: 0 / 0.6777 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.1644, allocations: 0 / 0.6777 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.1646, allocations: 145.7 kB / 0.6779 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1646, allocations: 3.984 kB / 0.6779 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.553e-05/0.1646, allocations: 0 / 0.6779 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.1646, allocations: 3.938 kB / 0.6779 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.1646, allocations: 15.92 kB / 0.6779 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1646, allocations: 0 / 0.6779 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1646, allocations: 0 / 0.6779 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.238e-05/0.1647, allocations: 61.08 kB / 0.6779 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.1648, allocations: 85.09 kB / 0.678 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.1648, allocations: 3.938 kB / 0.678 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.031e-05/0.1648, allocations: 0 / 0.678 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-06/0.1648, allocations: 0 / 0.678 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.1648, allocations: 0 / 0.678 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.306e-05/0.1648, allocations: 75.28 kB / 0.6781 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1648, allocations: 4.031 kB / 0.6781 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001898/0.165, allocations: 11.94 kB / 0.6781 GB, free: 7.527 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.0004256/0.1655, allocations: 0.5968 MB / 0.6787 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.735e-05/0.1655, allocations: 7.938 kB / 0.6787 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1656, allocations: 4.094 kB / 0.6787 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-05/0.1656, allocations: 3.984 kB / 0.6787 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.1657, allocations: 6.188 kB / 0.6787 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/0.166, allocations: 110.5 kB / 0.6788 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.1663, allocations: 0.669 MB / 0.6795 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.917e-05/0.1663, allocations: 0 / 0.6795 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.1663, allocations: 19.48 kB / 0.6795 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1663, allocations: 0 / 0.6795 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.1876, allocations: 1.019 MB / 0.6805 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.144/8.331, allocations: 1.719 kB / 0.6805 GB, free: 5.098 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Polynomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)