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.0008799/0.00088, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008811/0.0008812, allocations: 172.7 kB / 15.95 MB, free: 208 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.292/1.292, allocations: 223.2 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9685/0.9685, allocations: 143.4 MB / 434.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003049, allocations: 12 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1637, allocations: 83.4 MB / 0.5975 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.0006622/0.1644, allocations: 311.1 kB / 0.5978 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003493/0.1648, allocations: 111.7 kB / 0.5979 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.665e-05/0.1648, allocations: 0 / 0.5979 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/0.1648, allocations: 0 / 0.5979 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.013e-06/0.1648, allocations: 0 / 0.5979 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.1651, allocations: 35.89 kB / 0.598 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.1652, allocations: 51.94 kB / 0.598 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.1653, allocations: 0 / 0.598 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.213e-05/0.1653, allocations: 35.89 kB / 0.5981 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.179e-05/0.1653, allocations: 15.98 kB / 0.5981 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1654, allocations: 4 kB / 0.5981 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1655, allocations: 47.94 kB / 0.5981 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.229e-05/0.1655, allocations: 19.98 kB / 0.5982 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.1656, allocations: 33.64 kB / 0.5982 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.112e-05/0.1657, allocations: 47.92 kB / 0.5982 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1657, allocations: 0 / 0.5982 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1657, allocations: 0 / 0.5982 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.1657, allocations: 0 / 0.5982 GB, free: 7.027 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.0004461/0.1661, allocations: 347.4 kB / 0.5986 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1662, allocations: 12.03 kB / 0.5986 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.471e-05/0.1662, allocations: 38.56 kB / 0.5986 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.1663, allocations: 15.91 kB / 0.5986 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.598e-05/0.1664, allocations: 171.2 kB / 0.5988 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/0.1666, allocations: 277 kB / 0.5991 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.1666, allocations: 4 kB / 0.5991 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.1669, allocations: 93.44 kB / 0.5991 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1669, allocations: 0 / 0.5991 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1669, allocations: 0 / 0.5991 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1669, allocations: 4 kB / 0.5991 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003224/0.1672, allocations: 135.8 kB / 0.5993 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.1674, allocations: 177.6 kB / 0.5994 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.1677, allocations: 94.52 kB / 0.5995 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.1678, allocations: 40.83 kB / 0.5996 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.1679, allocations: 7.984 kB / 0.5996 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.1679, allocations: 38.5 kB / 0.5996 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.1679, allocations: 0 / 0.5996 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.000476/0.1684, allocations: 153.8 kB / 0.5998 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.1684, allocations: 59.34 kB / 0.5998 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.289e-05/0.1685, allocations: 89.86 kB / 0.5999 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.1685, allocations: 29.7 kB / 0.5999 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.353e-05/0.1685, allocations: 80.33 kB / 0.6 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.1686, allocations: 31.55 kB / 0.6 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.1686, allocations: 0 / 0.6 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1687, allocations: 322.8 kB / 0.6004 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.1688, allocations: 31.97 kB / 0.6004 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.169, allocations: 35.97 kB / 0.6004 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.1691, allocations: 31.92 kB / 0.6004 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1691, allocations: 0 / 0.6004 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002967/0.1694, allocations: 117.5 kB / 0.6006 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1694, allocations: 4 kB / 0.6006 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1694, allocations: 0 / 0.6006 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1694, allocations: 0 / 0.6006 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.1696, allocations: 27.97 kB / 0.6006 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.1696, allocations: 0 / 0.6006 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.515e-05/0.1697, allocations: 15.94 kB / 0.6006 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.1697, allocations: 7.984 kB / 0.6006 GB, free: 4.293 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 8.241e-05/0.1698, allocations: 121.7 kB / 0.6007 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.1698, allocations: 3.906 kB / 0.6007 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.1698, allocations: 7.969 kB / 0.6007 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.1698, allocations: 7.984 kB / 0.6007 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1698, allocations: 0 / 0.6007 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1698, allocations: 0 / 0.6007 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.17, allocations: 185.6 kB / 0.6009 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.17, allocations: 0 / 0.6009 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.1701, allocations: 23.98 kB / 0.6009 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.1701, allocations: 0 / 0.6009 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1701, allocations: 7.922 kB / 0.601 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.1701, allocations: 4 kB / 0.601 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1701, allocations: 0 / 0.601 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.1705, allocations: 149.6 kB / 0.6011 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.1705, allocations: 89 kB / 0.6012 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.1706, allocations: 4 kB / 0.6012 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.009e-05/0.1706, allocations: 0 / 0.6012 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.1707, allocations: 19.97 kB / 0.6012 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.1707, allocations: 0 / 0.6012 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.713e-05/0.1707, allocations: 75.28 kB / 0.6013 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1707, allocations: 0 / 0.6013 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002345/0.171, allocations: 24 kB / 0.6013 GB, free: 3.484 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.0006982/0.1717, allocations: 0.6981 MB / 0.602 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003083/0.172, allocations: 87.88 kB / 0.6021 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.172, allocations: 0 / 0.6021 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.1722, allocations: 47.91 kB / 0.6021 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.1723, allocations: 4 kB / 0.6021 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000466/0.1728, allocations: 216.2 kB / 0.6023 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.173, allocations: 0.6848 MB / 0.603 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000149/0.1732, allocations: 35.94 kB / 0.603 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.1732, allocations: 27.36 kB / 0.6031 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1732, allocations: 0 / 0.6031 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2566/0.4298, allocations: 1.782 MB / 0.6048 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/0.43, allocations: 198.7 kB / 0.605 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.099, allocations: 2.25 kB / 0.605 GB, free: 40.19 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: