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: 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.001239/0.001239, allocations: 109.7 kB / 16.41 MB, free: 6.477 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.001228/0.001228, allocations: 183 kB / 17.34 MB, free: 5.75 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.8359/0.8359, allocations: 143 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 67.98 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1539, allocations: 82.04 MB / 0.6764 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001867/0.1558, allocations: 0.5824 MB / 0.6769 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002538/0.1561, allocations: 35.88 kB / 0.677 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.44e-05/0.1561, allocations: 0 / 0.677 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.223e-05/0.1561, allocations: 0 / 0.677 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.051e-06/0.1561, allocations: 0 / 0.677 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.1564, allocations: 15.98 kB / 0.677 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.493e-05/0.1565, allocations: 4 kB / 0.677 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.718e-05/0.1565, allocations: 4 kB / 0.677 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.427e-05/0.1566, allocations: 0 / 0.677 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.084e-05/0.1566, allocations: 7.984 kB / 0.677 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.427e-06/0.1566, allocations: 0 / 0.677 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.761e-05/0.1567, allocations: 19.92 kB / 0.677 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.308e-06/0.1567, allocations: 0 / 0.677 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.1568, allocations: 0 / 0.677 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.557e-05/0.1569, allocations: 23.91 kB / 0.677 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1569, allocations: 0 / 0.677 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1569, allocations: 0 / 0.677 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.1569, allocations: 0 / 0.677 GB, free: 9.641 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.0003166/0.1572, allocations: 307.6 kB / 0.6773 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1573, allocations: 16.03 kB / 0.6773 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.1573, allocations: 4.922 kB / 0.6773 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.811e-05/0.1574, allocations: 160.4 kB / 0.6775 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.1574, allocations: 384 / 0.6775 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.1574, allocations: 384 / 0.6775 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.655e-05/0.1575, allocations: 34.2 kB / 0.6775 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.1576, allocations: 8.109 kB / 0.6775 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.1576, allocations: 3.938 kB / 0.6775 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1576, allocations: 0 / 0.6775 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.192e-05/0.1576, allocations: 4 kB / 0.6775 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001443/0.1578, allocations: 153.7 kB / 0.6777 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.56e-05/0.1578, allocations: 14.58 kB / 0.6777 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.1578, allocations: 8.953 kB / 0.6777 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.1579, allocations: 0 / 0.6777 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.1579, allocations: 34.56 kB / 0.6777 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.1579, allocations: 3.938 kB / 0.6778 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001364/0.1581, allocations: 45.62 kB / 0.6778 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.1581, allocations: 51.75 kB / 0.6778 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.982e-05/0.1581, allocations: 89.86 kB / 0.6779 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.1582, allocations: 25.7 kB / 0.678 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.552e-05/0.1582, allocations: 80.14 kB / 0.678 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.1582, allocations: 0 / 0.678 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.1583, allocations: 13.72 kB / 0.678 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1584, allocations: 314.8 kB / 0.6783 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.1584, allocations: 4.125 kB / 0.6783 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-06/0.1584, allocations: 4 kB / 0.6784 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.582e-05/0.1584, allocations: 8.797 kB / 0.6784 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1584, allocations: 0 / 0.6784 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.878e-05/0.1585, allocations: 41.62 kB / 0.6784 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1585, allocations: 4 kB / 0.6784 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1585, allocations: 0 / 0.6784 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1586, allocations: 3.938 kB / 0.6784 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.543e-05/0.1586, allocations: 4.094 kB / 0.6784 GB, free: 8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.1586, allocations: 4 kB / 0.6784 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.349e-05/0.1586, allocations: 0 / 0.6784 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.1587, allocations: 4 kB / 0.6784 GB, free: 7.992 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.76e-05/0.1587, allocations: 117.8 kB / 0.6785 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-06/0.1588, allocations: 0 / 0.6785 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.669e-05/0.1589, allocations: 44.7 kB / 0.6786 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1589, allocations: 4 kB / 0.6786 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1589, allocations: 0 / 0.6786 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1589, allocations: 0 / 0.6786 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.357e-05/0.159, allocations: 149.7 kB / 0.6787 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.159, allocations: 0 / 0.6787 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.975e-05/0.159, allocations: 4 kB / 0.6787 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.159, allocations: 0 / 0.6787 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.159, allocations: 3.938 kB / 0.6787 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.159, allocations: 0 / 0.6787 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.159, allocations: 3.938 kB / 0.6787 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.87e-05/0.1591, allocations: 69.09 kB / 0.6788 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/0.1592, allocations: 81.02 kB / 0.6789 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.1592, allocations: 3.938 kB / 0.6789 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.278e-05/0.1592, allocations: 4 kB / 0.6789 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.1592, allocations: 0 / 0.6789 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.1592, allocations: 4 kB / 0.6789 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.552e-05/0.1593, allocations: 75.28 kB / 0.679 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1593, allocations: 4.031 kB / 0.679 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002159/0.1595, allocations: 11.98 kB / 0.679 GB, free: 7.324 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.0001812/0.1597, allocations: 107.2 kB / 0.6791 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.238e-05/0.1598, allocations: 4 kB / 0.6791 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1598, allocations: 0 / 0.6791 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.999e-06/0.1598, allocations: 4 kB / 0.6791 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.1599, allocations: 0 / 0.6791 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002093/0.1601, allocations: 118.6 kB / 0.6792 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.1604, allocations: 0.669 MB / 0.6798 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.1604, allocations: 7.438 kB / 0.6799 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.1604, allocations: 0 / 0.6799 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of Templates: time 0.001824/0.1623, allocations: 463.7 kB / 0.6803 GB, free: 5.895 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.makefile (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)