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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.001261/0.001261, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001387/0.001387, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.014/1.014, allocations: 143.3 MB / 434.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.000344, allocations: 8 kB / 0.5159 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1755, allocations: 83.41 MB / 0.5974 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.0007057/0.1763, allocations: 315 kB / 0.5977 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003584/0.1766, allocations: 95.72 kB / 0.5978 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.845e-05/0.1767, allocations: 0 / 0.5978 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.1767, allocations: 4 kB / 0.5978 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.1767, allocations: 4 kB / 0.5978 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.177, allocations: 27.84 kB / 0.5978 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.1771, allocations: 47.94 kB / 0.5978 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.282e-05/0.1772, allocations: 4 kB / 0.5978 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.4e-05/0.1772, allocations: 19.98 kB / 0.5979 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.621e-05/0.1773, allocations: 23.95 kB / 0.5979 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.1773, allocations: 4 kB / 0.5979 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1774, allocations: 35.97 kB / 0.5979 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.562e-05/0.1774, allocations: 23.95 kB / 0.5979 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/0.1775, allocations: 33.64 kB / 0.598 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.965e-05/0.1776, allocations: 51.86 kB / 0.598 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1776, allocations: 0 / 0.598 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.572e-06/0.1776, allocations: 0 / 0.598 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.1776, allocations: 0 / 0.598 GB, free: 7.105 MB / 0.4981 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.0004342/0.1781, allocations: 355.4 kB / 0.5984 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1781, allocations: 8.031 kB / 0.5984 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.1781, allocations: 38.56 kB / 0.5984 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.1782, allocations: 7.906 kB / 0.5984 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.029e-05/0.1783, allocations: 171.2 kB / 0.5986 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/0.1785, allocations: 281 kB / 0.5988 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.1786, allocations: 12 kB / 0.5989 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.1788, allocations: 73.58 kB / 0.5989 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1788, allocations: 7.984 kB / 0.5989 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1788, allocations: 4 kB / 0.5989 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1788, allocations: 0 / 0.5989 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000348/0.1792, allocations: 131.8 kB / 0.5991 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.1794, allocations: 181.5 kB / 0.5992 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.1797, allocations: 98.52 kB / 0.5993 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.1797, allocations: 4 kB / 0.5993 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.1797, allocations: 34.5 kB / 0.5994 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.031e-06/0.1797, allocations: 0 / 0.5994 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005164/0.1803, allocations: 141.8 kB / 0.5995 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.1803, allocations: 59.34 kB / 0.5996 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.315e-05/0.1803, allocations: 97.8 kB / 0.5997 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1804, allocations: 25.7 kB / 0.5997 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.77e-05/0.1804, allocations: 84.33 kB / 0.5998 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.1805, allocations: 35.53 kB / 0.5998 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.1805, allocations: 4 kB / 0.5998 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1806, allocations: 318.8 kB / 0.6001 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.1807, allocations: 27.97 kB / 0.6001 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.1809, allocations: 31.98 kB / 0.6002 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.181, allocations: 35.97 kB / 0.6002 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.181, allocations: 0 / 0.6002 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003502/0.1814, allocations: 122.1 kB / 0.6003 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1814, allocations: 5.25 kB / 0.6003 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1814, allocations: 0 / 0.6003 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1814, allocations: 0 / 0.6003 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.1816, allocations: 31.97 kB / 0.6003 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1816, allocations: 0 / 0.6003 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.049e-05/0.1817, allocations: 7.938 kB / 0.6004 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.1817, allocations: 7.984 kB / 0.6004 GB, free: 4.426 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.853e-05/0.1818, allocations: 121.7 kB / 0.6005 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.1818, allocations: 7.906 kB / 0.6005 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.1819, allocations: 11.97 kB / 0.6005 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1819, allocations: 4 kB / 0.6005 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1819, allocations: 0 / 0.6005 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1819, allocations: 3.984 kB / 0.6005 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.182, allocations: 173.6 kB / 0.6007 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1821, allocations: 0 / 0.6007 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.1822, allocations: 23.98 kB / 0.6007 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1822, allocations: 0 / 0.6007 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1822, allocations: 3.984 kB / 0.6007 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1822, allocations: 8 kB / 0.6007 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1822, allocations: 0 / 0.6007 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.1826, allocations: 152.9 kB / 0.6008 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.1826, allocations: 88.98 kB / 0.6009 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.1827, allocations: 4 kB / 0.6009 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.9e-05/0.1827, allocations: 4 kB / 0.6009 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.1828, allocations: 15.97 kB / 0.601 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-06/0.1828, allocations: 4 kB / 0.601 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.218e-05/0.1828, allocations: 75.28 kB / 0.601 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1828, allocations: 0 / 0.601 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002326/0.1831, allocations: 28 kB / 0.6011 GB, free: 3.609 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007787/0.1839, allocations: 0.7058 MB / 0.6017 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003211/0.1842, allocations: 83.94 kB / 0.6018 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1842, allocations: 0 / 0.6018 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.1844, allocations: 51.91 kB / 0.6019 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.895e-05/0.1845, allocations: 3.938 kB / 0.6019 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.185, allocations: 204.3 kB / 0.6021 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.1853, allocations: 0.6888 MB / 0.6027 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001495/0.1854, allocations: 43.92 kB / 0.6028 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.1855, allocations: 19.42 kB / 0.6028 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1855, allocations: 0 / 0.6028 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01331/0.1988, allocations: 1.784 MB / 0.6046 GB, free: 80 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.3063/0.5051, allocations: 187.4 kB / 0.6047 GB, free: 41.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.13, allocations: 0 / 0.6047 GB, free: 41.98 MB / 0.4981 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/linux/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) Environment - environmentSimulation: