Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_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.001211/0.001211, allocations: 100.1 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.001393/0.001393, 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.386/1.386, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9623/0.9623, allocations: 143.3 MB / 434.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003356, allocations: 15.98 kB / 0.5159 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1774, allocations: 83.41 MB / 0.5974 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.001627/0.1791, allocations: 1.243 MB / 0.5986 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003787/0.1795, allocations: 172.3 kB / 0.5987 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.1795, allocations: 0 / 0.5987 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.1795, allocations: 3.938 kB / 0.5987 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.567e-05/0.1796, allocations: 7.984 kB / 0.5987 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.1798, allocations: 31.95 kB / 0.5988 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.864e-05/0.1799, allocations: 19.97 kB / 0.5988 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.395e-05/0.18, allocations: 19.92 kB / 0.5988 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.684e-05/0.18, allocations: 11.94 kB / 0.5988 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.344e-05/0.1801, allocations: 15.92 kB / 0.5988 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.1801, allocations: 0 / 0.5988 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.641e-05/0.1802, allocations: 43.94 kB / 0.5989 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.1802, allocations: 4 kB / 0.5989 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.1802, allocations: 33.64 kB / 0.5989 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.229e-05/0.1803, allocations: 35.92 kB / 0.599 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.1803, allocations: 0 / 0.599 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1804, allocations: 0 / 0.599 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.1804, allocations: 0 / 0.599 GB, free: 6.066 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004475/0.1808, allocations: 359.5 kB / 0.5993 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1809, allocations: 8.031 kB / 0.5993 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.1809, allocations: 38.56 kB / 0.5993 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.1809, allocations: 0 / 0.5993 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.1811, allocations: 174.9 kB / 0.5995 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.1811, allocations: 0 / 0.5995 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.1811, allocations: 4 kB / 0.5995 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.1813, allocations: 69.66 kB / 0.5996 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1813, allocations: 3.938 kB / 0.5996 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.1813, allocations: 0 / 0.5996 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1813, allocations: 4 kB / 0.5996 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.1815, allocations: 55.95 kB / 0.5996 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.1819, allocations: 280.8 kB / 0.5999 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.1822, allocations: 66.48 kB / 0.6 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002254/0.1825, allocations: 174.4 kB / 0.6001 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.1825, allocations: 38.5 kB / 0.6002 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1825, allocations: 0 / 0.6002 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003826/0.1829, allocations: 113.5 kB / 0.6003 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.183, allocations: 51.41 kB / 0.6003 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.996e-05/0.183, allocations: 109.8 kB / 0.6004 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.1831, allocations: 29.7 kB / 0.6005 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.1831, allocations: 88.06 kB / 0.6005 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.1831, allocations: 11.91 kB / 0.6006 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.1831, allocations: 0 / 0.6006 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.593e-05/0.1832, allocations: 314.8 kB / 0.6009 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.21e-05/0.1833, allocations: 27.97 kB / 0.6009 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.2e-05/0.1834, allocations: 19.98 kB / 0.6009 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.762e-05/0.1835, allocations: 27.98 kB / 0.6009 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1835, allocations: 0 / 0.6009 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002138/0.1837, allocations: 85.64 kB / 0.601 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1838, allocations: 9.875 kB / 0.601 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.1838, allocations: 4 kB / 0.601 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.1838, allocations: 0 / 0.601 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.113e-05/0.1839, allocations: 19.98 kB / 0.601 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.1839, allocations: 3.953 kB / 0.601 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.082e-05/0.184, allocations: 11.89 kB / 0.6011 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.184, allocations: 4 kB / 0.6011 GB, free: 3.645 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.273e-05/0.1841, allocations: 117.7 kB / 0.6012 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.1841, allocations: 4 kB / 0.6012 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.1844, allocations: 97.86 kB / 0.6013 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1844, allocations: 0 / 0.6013 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1844, allocations: 4 kB / 0.6013 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1844, allocations: 3.953 kB / 0.6013 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.1846, allocations: 161.7 kB / 0.6014 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1846, allocations: 0 / 0.6014 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/0.1846, allocations: 19.98 kB / 0.6015 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1847, allocations: 0 / 0.6015 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1847, allocations: 0 / 0.6015 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1847, allocations: 0 / 0.6015 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.1847, allocations: 0 / 0.6015 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.1849, allocations: 195.3 kB / 0.6016 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.15e-05/0.185, allocations: 77.11 kB / 0.6017 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.185, allocations: 0 / 0.6017 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.954e-05/0.1851, allocations: 15.98 kB / 0.6017 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.1851, allocations: 7.984 kB / 0.6017 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.1851, allocations: 4 kB / 0.6017 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.626e-05/0.1852, allocations: 83.28 kB / 0.6018 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1852, allocations: 3.938 kB / 0.6018 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002463/0.1854, allocations: 20 kB / 0.6018 GB, free: 2.738 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005658/0.186, allocations: 0.7357 MB / 0.6026 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.1862, allocations: 55.95 kB / 0.6026 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1863, allocations: 0 / 0.6026 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.1864, allocations: 31.97 kB / 0.6026 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.1865, allocations: 8 kB / 0.6027 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009052/0.1875, allocations: 462.3 kB / 0.6031 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.1877, allocations: 0.6809 MB / 0.6038 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.308e-05/0.1878, allocations: 7.984 kB / 0.6038 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/0.1878, allocations: 7.438 kB / 0.6038 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1878, allocations: 4 kB / 0.6038 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2805/0.4684, allocations: 1.637 MB / 0.6054 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001318/0.4686, allocations: 172.8 kB / 0.6055 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.138, allocations: 0 / 0.6055 GB, free: 39.66 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1) Environment - environmentSimulation: