Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.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.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial",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.005716/0.005716, allocations: 102 kB / 15.73 MB, free: 5.551 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.001491/0.001491, allocations: 195.2 kB / 16.67 MB, free: 5.477 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.9048/0.9048, allocations: 143.3 MB / 433.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 67.48 kB / 0.5953 GB, free: 12.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1697, allocations: 82.04 MB / 0.6755 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001664/0.1714, allocations: 0.5863 MB / 0.676 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004141/0.1718, allocations: 115.9 kB / 0.6761 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.1718, allocations: 0 / 0.6761 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.697e-05/0.1719, allocations: 0 / 0.6761 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.233e-06/0.1719, allocations: 0 / 0.6761 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.1722, allocations: 43.84 kB / 0.6762 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.1724, allocations: 67.92 kB / 0.6762 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/0.1724, allocations: 0 / 0.6762 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.42e-05/0.1725, allocations: 23.97 kB / 0.6763 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.028e-05/0.1725, allocations: 27.95 kB / 0.6763 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1726, allocations: 0 / 0.6763 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1727, allocations: 43.97 kB / 0.6763 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.1727, allocations: 27.89 kB / 0.6764 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.1728, allocations: 23.92 kB / 0.6764 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.1729, allocations: 64.06 kB / 0.6765 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.173, allocations: 0 / 0.6765 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/0.173, allocations: 0 / 0.6765 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.173, allocations: 8 kB / 0.6765 GB, free: 9.535 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005391/0.1735, allocations: 371.4 kB / 0.6768 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.1736, allocations: 12.03 kB / 0.6768 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.874e-05/0.1736, allocations: 38.75 kB / 0.6769 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.1737, allocations: 4.938 kB / 0.6769 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.1738, allocations: 172.3 kB / 0.677 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002793/0.1741, allocations: 277.6 kB / 0.6773 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.1741, allocations: 4.375 kB / 0.6773 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.1744, allocations: 93.81 kB / 0.6774 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1744, allocations: 0 / 0.6774 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1744, allocations: 8 kB / 0.6774 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1744, allocations: 0 / 0.6774 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000369/0.1748, allocations: 127.8 kB / 0.6775 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.175, allocations: 181.6 kB / 0.6777 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.1753, allocations: 98.52 kB / 0.6778 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.1755, allocations: 44.77 kB / 0.6778 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.1756, allocations: 4 kB / 0.6778 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.1756, allocations: 38.5 kB / 0.6779 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.1756, allocations: 0 / 0.6779 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0008409/0.1765, allocations: 149.8 kB / 0.678 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.1766, allocations: 55.41 kB / 0.6781 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.341e-05/0.1766, allocations: 93.8 kB / 0.6782 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.1767, allocations: 25.7 kB / 0.6782 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/0.1767, allocations: 84.14 kB / 0.6783 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.114e-05/0.1768, allocations: 35.69 kB / 0.6783 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.821e-05/0.1769, allocations: 29.7 kB / 0.6783 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1771, allocations: 314.8 kB / 0.6786 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.1773, allocations: 39.91 kB / 0.6787 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.1775, allocations: 31.97 kB / 0.6787 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.1779, allocations: 76.75 kB / 0.6788 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.178, allocations: 4 kB / 0.6788 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005487/0.1785, allocations: 113.6 kB / 0.6789 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.1786, allocations: 11.94 kB / 0.6789 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.1786, allocations: 0 / 0.6789 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.1786, allocations: 0 / 0.6789 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.1789, allocations: 27.91 kB / 0.6789 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.1789, allocations: 3.984 kB / 0.6789 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.179, allocations: 7.938 kB / 0.6789 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.179, allocations: 11.94 kB / 0.6789 GB, free: 6.699 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001593/0.1792, allocations: 114.5 kB / 0.679 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.1793, allocations: 19.89 kB / 0.6791 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.71e-05/0.1793, allocations: 7.969 kB / 0.6791 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1793, allocations: 0 / 0.6791 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1793, allocations: 0 / 0.6791 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1794, allocations: 0 / 0.6791 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.1796, allocations: 181.6 kB / 0.6792 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1796, allocations: 0 / 0.6792 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.1799, allocations: 27.91 kB / 0.6793 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.1799, allocations: 7.938 kB / 0.6793 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.1799, allocations: 7.984 kB / 0.6793 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1799, allocations: 4 kB / 0.6793 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1799, allocations: 0 / 0.6793 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005654/0.1805, allocations: 141 kB / 0.6794 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.1806, allocations: 81.05 kB / 0.6795 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.1806, allocations: 7.984 kB / 0.6795 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.845e-05/0.1807, allocations: 4 kB / 0.6795 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/0.1808, allocations: 11.98 kB / 0.6795 GB, free: 6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.1808, allocations: 11.98 kB / 0.6795 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.356e-05/0.1809, allocations: 75.28 kB / 0.6796 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1809, allocations: 0 / 0.6796 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004023/0.1813, allocations: 23.94 kB / 0.6796 GB, free: 5.891 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001101/0.1824, allocations: 0.6951 MB / 0.6803 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005214/0.183, allocations: 99.91 kB / 0.6804 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.183, allocations: 0 / 0.6804 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.1832, allocations: 43.97 kB / 0.6804 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.1835, allocations: 8 kB / 0.6805 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007761/0.1843, allocations: 202.3 kB / 0.6806 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.1847, allocations: 0.6884 MB / 0.6813 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002497/0.1849, allocations: 35.95 kB / 0.6814 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.801e-05/0.185, allocations: 23.42 kB / 0.6814 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.185, allocations: 4 kB / 0.6814 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05649/0.2416, allocations: 2.047 MB / 0.6834 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.678/7.92, allocations: 11.98 kB / 0.6834 GB, free: 2.043 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)