Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.449/1.449, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001909/0.001908, allocations: 176 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007517/0.0007517, allocations: 84 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003065, allocations: 15.33 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.166, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0006144/0.1667, allocations: 339 kB / 0.8965 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003518/0.1671, allocations: 107.6 kB / 0.8966 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.264e-05/0.1671, allocations: 0 / 0.8966 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.1671, allocations: 3.938 kB / 0.8966 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.529e-06/0.1671, allocations: 0 / 0.8966 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.1674, allocations: 27.97 kB / 0.8967 GB, free: 67.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.87e-05/0.1675, allocations: 59.92 kB / 0.8967 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.787e-05/0.1675, allocations: 4.812 kB / 0.8967 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.722e-05/0.1676, allocations: 27.92 kB / 0.8968 GB, free: 67.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.564e-05/0.1676, allocations: 27.95 kB / 0.8968 GB, free: 67.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1676, allocations: 4 kB / 0.8968 GB, free: 67.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.1678, allocations: 39.95 kB / 0.8968 GB, free: 67.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/0.1678, allocations: 19.97 kB / 0.8968 GB, free: 67.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.1678, allocations: 27.92 kB / 0.8969 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.1679, allocations: 71.77 kB / 0.8969 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.168, allocations: 0 / 0.8969 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.272e-06/0.168, allocations: 0 / 0.8969 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.168, allocations: 0 / 0.8969 GB, free: 67.34 MB / 0.6042 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.0003526/0.1683, allocations: 364.4 kB / 0.8973 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1684, allocations: 12.03 kB / 0.8973 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/0.1684, allocations: 38.75 kB / 0.8973 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.1685, allocations: 4.938 kB / 0.8973 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.709e-05/0.1685, allocations: 164.4 kB / 0.8975 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.1687, allocations: 277.6 kB / 0.8978 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.1687, allocations: 4.375 kB / 0.8978 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.1689, allocations: 85.94 kB / 0.8978 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1689, allocations: 0 / 0.8978 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.169, allocations: 4 kB / 0.8978 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.169, allocations: 4 kB / 0.8978 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/0.1693, allocations: 135.8 kB / 0.898 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.1694, allocations: 181.4 kB / 0.8982 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.1697, allocations: 94.52 kB / 0.8982 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.1698, allocations: 44.83 kB / 0.8983 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.1698, allocations: 7.984 kB / 0.8983 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.211e-05/0.1698, allocations: 42.5 kB / 0.8983 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.1698, allocations: 0 / 0.8983 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0004705/0.1703, allocations: 146.1 kB / 0.8985 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.1703, allocations: 51.41 kB / 0.8985 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.569e-05/0.1704, allocations: 93.86 kB / 0.8986 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.1704, allocations: 29.7 kB / 0.8986 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.687e-06/0.1704, allocations: 80.14 kB / 0.8987 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.1704, allocations: 35.45 kB / 0.8987 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.1705, allocations: 25.66 kB / 0.8988 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.789e-05/0.1705, allocations: 310.8 kB / 0.8991 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.1706, allocations: 35.97 kB / 0.8991 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.1707, allocations: 36.02 kB / 0.8991 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.171, allocations: 76.75 kB / 0.8992 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.171, allocations: 0 / 0.8992 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002658/0.1713, allocations: 113.6 kB / 0.8993 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1713, allocations: 10.75 kB / 0.8993 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1713, allocations: 7.984 kB / 0.8993 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.1713, allocations: 0 / 0.8993 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.1714, allocations: 27.97 kB / 0.8994 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1714, allocations: 0 / 0.8994 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.494e-05/0.1715, allocations: 7.906 kB / 0.8994 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1715, allocations: 4 kB / 0.8994 GB, free: 64.54 MB / 0.6042 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 5.388e-05/0.1716, allocations: 121.8 kB / 0.8995 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.1716, allocations: 3.938 kB / 0.8995 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.1716, allocations: 15.97 kB / 0.8995 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1716, allocations: 4 kB / 0.8995 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1717, allocations: 0 / 0.8995 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.1717, allocations: 0 / 0.8995 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.266e-05/0.1717, allocations: 189.5 kB / 0.8997 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1718, allocations: 4 kB / 0.8997 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.1719, allocations: 19.98 kB / 0.8997 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1719, allocations: 3.938 kB / 0.8997 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1719, allocations: 7.984 kB / 0.8997 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1719, allocations: 4 kB / 0.8997 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1719, allocations: 0 / 0.8997 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.1722, allocations: 145 kB / 0.8999 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.494e-05/0.1722, allocations: 84.95 kB / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.1722, allocations: 11.98 kB / 0.9 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.166e-05/0.1723, allocations: 4 kB / 0.9 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.1723, allocations: 11.97 kB / 0.9 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.1723, allocations: 7.984 kB / 0.9 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.079e-05/0.1724, allocations: 79.28 kB / 0.9001 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1724, allocations: 4 kB / 0.9001 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000191/0.1726, allocations: 16 kB / 0.9001 GB, free: 63.71 MB / 0.6042 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.0004803/0.173, allocations: 0.6982 MB / 0.9008 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002784/0.1733, allocations: 84.42 kB / 0.9008 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1733, allocations: 4 kB / 0.9008 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.1735, allocations: 52.11 kB / 0.9009 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.1736, allocations: 14.27 kB / 0.9009 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.174, allocations: 200.3 kB / 0.9011 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.755e-05/0.1741, allocations: 0.6848 MB / 0.9018 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001254/0.1742, allocations: 39.83 kB / 0.9018 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.1743, allocations: 23.42 kB / 0.9018 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.1743, allocations: 4 kB / 0.9018 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01012/0.1844, allocations: 1.786 MB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001373/0.1846, allocations: 218.3 kB / 0.9038 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.531/1.715, allocations: 0 / 0.9038 GB, free: 59.92 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)