Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_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.008644/0.008645, allocations: 102 kB / 15.73 MB, free: 6.039 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.001492/0.001492, allocations: 194.5 kB / 16.67 MB, free: 5.961 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.9117/0.9117, allocations: 143.1 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 64 kB / 0.5951 GB, free: 12.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1657, allocations: 82.03 MB / 0.6752 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial): time 0.00289/0.1687, allocations: 1.444 MB / 0.6766 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003081/0.169, allocations: 96.58 kB / 0.6767 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.118e-05/0.169, allocations: 0 / 0.6767 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.653e-05/0.1691, allocations: 3.938 kB / 0.6767 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.693e-05/0.1692, allocations: 4 kB / 0.6767 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.1694, allocations: 15.92 kB / 0.6767 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.752e-05/0.1695, allocations: 27.92 kB / 0.6767 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.273e-05/0.1696, allocations: 7.922 kB / 0.6767 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.573e-05/0.1697, allocations: 11.98 kB / 0.6767 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.076e-05/0.1697, allocations: 19.92 kB / 0.6768 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.1697, allocations: 4 kB / 0.6768 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.1699, allocations: 19.98 kB / 0.6768 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.1699, allocations: 4 kB / 0.6768 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.1699, allocations: 11.92 kB / 0.6768 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.1701, allocations: 35.89 kB / 0.6768 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1701, allocations: 0 / 0.6768 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1701, allocations: 0 / 0.6768 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.1701, allocations: 0 / 0.6768 GB, free: 9.156 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005734/0.1707, allocations: 346.3 kB / 0.6772 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.1708, allocations: 8.031 kB / 0.6772 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.671e-05/0.1708, allocations: 34.69 kB / 0.6772 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.1709, allocations: 4.938 kB / 0.6772 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.171, allocations: 172.3 kB / 0.6774 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.171, allocations: 384 / 0.6774 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.1711, allocations: 4.375 kB / 0.6774 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.1713, allocations: 50.23 kB / 0.6774 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1713, allocations: 3.938 kB / 0.6774 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1713, allocations: 7.938 kB / 0.6774 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1713, allocations: 0 / 0.6774 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.1715, allocations: 39.95 kB / 0.6775 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.172, allocations: 257.5 kB / 0.6777 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.1721, allocations: 42.5 kB / 0.6778 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.1722, allocations: 24.89 kB / 0.6778 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.412e-05/0.1723, allocations: 4 kB / 0.6778 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.1723, allocations: 34.5 kB / 0.6778 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1723, allocations: 0 / 0.6778 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003819/0.1727, allocations: 93.67 kB / 0.6779 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.1728, allocations: 51.41 kB / 0.6779 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.899e-05/0.1728, allocations: 105.8 kB / 0.6781 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1729, allocations: 29.7 kB / 0.6781 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.1729, allocations: 84.42 kB / 0.6782 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.173, allocations: 7.844 kB / 0.6782 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.173, allocations: 17.7 kB / 0.6782 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.1731, allocations: 314.8 kB / 0.6785 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/0.1732, allocations: 20.02 kB / 0.6785 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.949e-05/0.1733, allocations: 15.98 kB / 0.6785 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.1735, allocations: 40.81 kB / 0.6786 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1735, allocations: 3.938 kB / 0.6786 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002465/0.1737, allocations: 81.66 kB / 0.6786 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1737, allocations: 4 kB / 0.6786 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1738, allocations: 256 / 0.6786 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1738, allocations: 0 / 0.6786 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.654e-05/0.1739, allocations: 15.98 kB / 0.6787 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1739, allocations: 0 / 0.6787 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.92e-05/0.174, allocations: 7.906 kB / 0.6787 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.174, allocations: 0 / 0.6787 GB, free: 7.035 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 (2): * Single equations (assignments): 2 * 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.197e-05/0.1741, allocations: 122.7 kB / 0.6788 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.1741, allocations: 4 kB / 0.6788 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.1743, allocations: 73.12 kB / 0.6789 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1744, allocations: 4 kB / 0.6789 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1744, allocations: 0 / 0.6789 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1744, allocations: 0 / 0.6789 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.1745, allocations: 169.6 kB / 0.679 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1745, allocations: 0 / 0.679 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/0.1746, allocations: 12.02 kB / 0.679 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1746, allocations: 0 / 0.679 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.1746, allocations: 0 / 0.679 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1746, allocations: 4 kB / 0.679 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1746, allocations: 0 / 0.679 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.1749, allocations: 163.4 kB / 0.6792 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.175, allocations: 101 kB / 0.6793 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.1751, allocations: 0 / 0.6793 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.478e-05/0.1751, allocations: 7.984 kB / 0.6793 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.1752, allocations: 3.938 kB / 0.6793 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.1752, allocations: 0 / 0.6793 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.542e-05/0.1752, allocations: 91.27 kB / 0.6794 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1752, allocations: 0 / 0.6794 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002232/0.1755, allocations: 8 kB / 0.6794 GB, free: 6.188 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 (2): * Single equations (assignments): 2 * 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.0006111/0.1761, allocations: 0.7007 MB / 0.6801 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.1763, allocations: 39.95 kB / 0.6801 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1763, allocations: 8.031 kB / 0.6801 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.016e-05/0.1764, allocations: 19.98 kB / 0.6801 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.1767, allocations: 8.125 kB / 0.6802 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004766/0.1772, allocations: 143.1 kB / 0.6803 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.1775, allocations: 0.6807 MB / 0.681 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.702e-05/0.1775, allocations: 0 / 0.681 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.1776, allocations: 11.5 kB / 0.681 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.1776, allocations: 0 / 0.681 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/0.1971, allocations: 1.449 MB / 0.6824 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.515/7.712, allocations: 16.64 kB / 0.6824 GB, free: 3.113 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)