Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.Binomial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_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.32/1.32, allocations: 252 MB / 267.3 MB, free: 10.85 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.001121/0.001121, allocations: 180.8 kB / 327 MB, free: 2.09 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.506/1.506, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0006925/0.0006927, allocations: 84.2 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003015, allocations: 8.75 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1761, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001746/0.1779, allocations: 1.263 MB / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000499/0.1784, allocations: 184.3 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.1785, allocations: 0 / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.1785, allocations: 0 / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.992e-05/0.1785, allocations: 3.938 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.1789, allocations: 39.95 kB / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.539e-05/0.1789, allocations: 27.92 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.079e-05/0.179, allocations: 11.98 kB / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.154e-05/0.1791, allocations: 15.94 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.616e-05/0.1791, allocations: 15.92 kB / 0.9024 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1791, allocations: 0 / 0.9024 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.1793, allocations: 47.95 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.1793, allocations: 7.984 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.619e-05/0.1794, allocations: 41.58 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.1795, allocations: 59.84 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1795, allocations: 0 / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.246e-06/0.1795, allocations: 0 / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.1795, allocations: 3.938 kB / 0.9026 GB, free: 61.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004635/0.18, allocations: 355.8 kB / 0.9029 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.1801, allocations: 8.031 kB / 0.9029 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.1801, allocations: 34.75 kB / 0.903 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.1802, allocations: 12.83 kB / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.1803, allocations: 164.4 kB / 0.9031 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.1803, allocations: 12.31 kB / 0.9031 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.1803, allocations: 384 / 0.9031 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.1805, allocations: 74.16 kB / 0.9032 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1806, allocations: 3.938 kB / 0.9032 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1806, allocations: 0 / 0.9032 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1806, allocations: 4 kB / 0.9032 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.1808, allocations: 59.89 kB / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.1812, allocations: 280.7 kB / 0.9036 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003683/0.1816, allocations: 62.61 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.68e-05/0.1817, allocations: 32.83 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001912/0.1819, allocations: 174.1 kB / 0.9038 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.1819, allocations: 34.56 kB / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1819, allocations: 0 / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003894/0.1823, allocations: 113.6 kB / 0.904 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.1823, allocations: 51.41 kB / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.054e-05/0.1824, allocations: 109.8 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.1824, allocations: 29.7 kB / 0.9041 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.325e-05/0.1825, allocations: 84.14 kB / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.1825, allocations: 7.844 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.1825, allocations: 0 / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.908e-05/0.1825, allocations: 330.8 kB / 0.9045 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.579e-05/0.1826, allocations: 23.92 kB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.71e-05/0.1827, allocations: 27.97 kB / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.1829, allocations: 56.83 kB / 0.9046 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1829, allocations: 0 / 0.9046 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002045/0.1831, allocations: 89.64 kB / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1831, allocations: 4 kB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1831, allocations: 0 / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.1832, allocations: 0 / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.447e-05/0.1833, allocations: 15.98 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1833, allocations: 0 / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.172e-05/0.1833, allocations: 8 kB / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.1833, allocations: 3.938 kB / 0.9048 GB, free: 59.19 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.766e-05/0.1834, allocations: 121.8 kB / 0.9049 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.1835, allocations: 7.906 kB / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.1837, allocations: 93.86 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1837, allocations: 3.938 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.1838, allocations: 4 kB / 0.905 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1838, allocations: 0 / 0.905 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.1839, allocations: 173.7 kB / 0.9051 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1839, allocations: 0 / 0.9051 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.291e-05/0.184, allocations: 15.98 kB / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.184, allocations: 3.938 kB / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.184, allocations: 0 / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.184, allocations: 0 / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.184, allocations: 3.938 kB / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.1843, allocations: 187.4 kB / 0.9053 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.393e-05/0.1843, allocations: 81.02 kB / 0.9054 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.1843, allocations: 4 kB / 0.9054 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.219e-05/0.1844, allocations: 15.98 kB / 0.9054 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.1845, allocations: 4 kB / 0.9054 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.1845, allocations: 3.984 kB / 0.9054 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.16e-05/0.1845, allocations: 87.58 kB / 0.9055 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1845, allocations: 4 kB / 0.9055 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002269/0.1847, allocations: 12 kB / 0.9055 GB, free: 58.27 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: 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 (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.0004773/0.1852, allocations: 0.7358 MB / 0.9063 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.1855, allocations: 55.95 kB / 0.9063 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1855, allocations: 4 kB / 0.9063 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.301e-05/0.1856, allocations: 31.97 kB / 0.9064 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.1858, allocations: 0 / 0.9064 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.187, allocations: 1.337 MB / 0.9077 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.1871, allocations: 0.6809 MB / 0.9083 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.377e-05/0.1872, allocations: 128 / 0.9083 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.1872, allocations: 15.44 kB / 0.9083 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of SimCode: time 3.81e-07/0.1872, allocations: 4 kB / 0.9083 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01082/0.1981, allocations: 1.658 MB / 0.91 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001459/0.1982, allocations: 201.8 kB / 0.9102 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/1.745, allocations: 0 / 0.9102 GB, free: 53.49 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)