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/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.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.0009284/0.0009285, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00594/0.00594, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.361/1.361, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.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 1.009/1.009, allocations: 143.2 MB / 434.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003418, allocations: 16 kB / 0.5165 GB, free: 11.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1635, allocations: 83.42 MB / 0.598 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.0006472/0.1642, allocations: 319 kB / 0.5983 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004029/0.1646, allocations: 103.7 kB / 0.5984 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.291e-05/0.1647, allocations: 0 / 0.5984 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.178e-05/0.1647, allocations: 3.938 kB / 0.5984 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.188e-06/0.1647, allocations: 4 kB / 0.5984 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.165, allocations: 35.89 kB / 0.5984 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.1651, allocations: 59.94 kB / 0.5985 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.878e-05/0.1652, allocations: 0 / 0.5985 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.9e-05/0.1652, allocations: 27.97 kB / 0.5985 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.242e-05/0.1653, allocations: 23.91 kB / 0.5985 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.1653, allocations: 4 kB / 0.5985 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.1654, allocations: 43.95 kB / 0.5986 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.691e-05/0.1655, allocations: 19.97 kB / 0.5986 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.1655, allocations: 49.61 kB / 0.5986 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.1657, allocations: 67.84 kB / 0.5987 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1657, allocations: 4 kB / 0.5987 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.933e-06/0.1657, allocations: 0 / 0.5987 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.1657, allocations: 0 / 0.5987 GB, free: 6.883 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.0004417/0.1661, allocations: 355.5 kB / 0.599 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1662, allocations: 12.02 kB / 0.5991 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/0.1662, allocations: 38.75 kB / 0.5991 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.1663, allocations: 12.84 kB / 0.5991 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.316e-05/0.1664, allocations: 168.6 kB / 0.5993 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002578/0.1666, allocations: 281.5 kB / 0.5995 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.1667, allocations: 12.38 kB / 0.5996 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.1669, allocations: 77.95 kB / 0.5996 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.1669, allocations: 0 / 0.5996 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.167, allocations: 4 kB / 0.5996 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.167, allocations: 4 kB / 0.5996 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.1673, allocations: 131.8 kB / 0.5998 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.1675, allocations: 173.7 kB / 0.5999 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.1678, allocations: 102.4 kB / 0.6 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.168, allocations: 45.16 kB / 0.6001 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.168, allocations: 7.922 kB / 0.6001 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.168, allocations: 34.5 kB / 0.6001 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.168, allocations: 0 / 0.6001 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005299/0.1686, allocations: 149.5 kB / 0.6002 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.1686, allocations: 51.41 kB / 0.6003 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.22e-05/0.1687, allocations: 89.86 kB / 0.6004 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1687, allocations: 33.64 kB / 0.6004 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.67e-05/0.1687, allocations: 84.14 kB / 0.6005 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.1688, allocations: 31.55 kB / 0.6005 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.1688, allocations: 21.66 kB / 0.6005 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.169, allocations: 318.8 kB / 0.6008 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.1692, allocations: 35.91 kB / 0.6009 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.1693, allocations: 27.98 kB / 0.6009 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.1696, allocations: 72.81 kB / 0.601 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1696, allocations: 4 kB / 0.601 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003287/0.1699, allocations: 117.5 kB / 0.6011 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.17, allocations: 11.94 kB / 0.6011 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.17, allocations: 0 / 0.6011 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.17, allocations: 0 / 0.6011 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.1702, allocations: 23.92 kB / 0.6011 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.1702, allocations: 4 kB / 0.6011 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.467e-05/0.1702, allocations: 15.92 kB / 0.6011 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.1703, allocations: 0 / 0.6011 GB, free: 4.086 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.676e-05/0.1703, allocations: 117.8 kB / 0.6013 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.1704, allocations: 15.83 kB / 0.6013 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/0.1704, allocations: 11.95 kB / 0.6013 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1704, allocations: 0 / 0.6013 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1704, allocations: 4 kB / 0.6013 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1704, allocations: 0 / 0.6013 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.1706, allocations: 169.7 kB / 0.6015 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1706, allocations: 0 / 0.6015 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.1707, allocations: 39.91 kB / 0.6015 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.1707, allocations: 7.938 kB / 0.6015 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1707, allocations: 0 / 0.6015 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1708, allocations: 0 / 0.6015 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1708, allocations: 0 / 0.6015 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.1711, allocations: 149.7 kB / 0.6016 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.1712, allocations: 84.98 kB / 0.6017 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.1712, allocations: 0 / 0.6017 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.786e-05/0.1713, allocations: 4 kB / 0.6017 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.1713, allocations: 23.97 kB / 0.6017 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1713, allocations: 0 / 0.6017 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4e-05/0.1714, allocations: 75.28 kB / 0.6018 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1714, allocations: 0 / 0.6018 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002345/0.1716, allocations: 24 kB / 0.6018 GB, free: 3.273 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 (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.0007553/0.1724, allocations: 0.7098 MB / 0.6025 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003285/0.1727, allocations: 83.88 kB / 0.6026 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.1727, allocations: 4 kB / 0.6026 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.1729, allocations: 43.97 kB / 0.6027 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.1731, allocations: 7.938 kB / 0.6027 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005516/0.1736, allocations: 216.2 kB / 0.6029 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.174, allocations: 0.6848 MB / 0.6035 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000145/0.1741, allocations: 39.94 kB / 0.6036 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.1742, allocations: 19.42 kB / 0.6036 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.1742, allocations: 0 / 0.6036 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2876/0.4618, allocations: 1.808 MB / 0.6054 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/0.462, allocations: 207.9 kB / 0.6056 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.187, allocations: 0.5 kB / 0.6056 GB, free: 40.25 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/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)