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.379/1.379, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.001006/0.001006, allocations: 170.8 kB / 325.8 MB, free: 2.68 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.648/1.648, 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.0006649/0.0006649, allocations: 90.94 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002889, allocations: 11.5 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.178, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001409/0.1794, allocations: 1.276 MB / 0.8974 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004149/0.1799, allocations: 184.2 kB / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.1799, allocations: 8 kB / 0.8976 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.948e-05/0.1799, allocations: 3.938 kB / 0.8976 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.228e-05/0.18, allocations: 0 / 0.8976 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.1803, allocations: 35.91 kB / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.51e-05/0.1803, allocations: 31.97 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.069e-05/0.1804, allocations: 11.98 kB / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.467e-05/0.1804, allocations: 15.94 kB / 0.8977 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.587e-05/0.1805, allocations: 11.92 kB / 0.8977 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.1805, allocations: 7.938 kB / 0.8977 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.25e-05/0.1806, allocations: 51.94 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.1806, allocations: 4 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.1806, allocations: 15.88 kB / 0.8978 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.1808, allocations: 59.83 kB / 0.8979 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1808, allocations: 0 / 0.8979 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1808, allocations: 0 / 0.8979 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.1808, allocations: 0 / 0.8979 GB, free: 66.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003302/0.1811, allocations: 351.6 kB / 0.8982 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.1812, allocations: 8.031 kB / 0.8982 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.386e-05/0.1812, allocations: 30.75 kB / 0.8982 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.301e-05/0.1812, allocations: 8.844 kB / 0.8982 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.507e-05/0.1813, allocations: 168.3 kB / 0.8984 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.1813, allocations: 8.375 kB / 0.8984 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.1813, allocations: 384 / 0.8984 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.1815, allocations: 74.22 kB / 0.8985 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1815, allocations: 7.875 kB / 0.8985 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1815, allocations: 7.922 kB / 0.8985 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1816, allocations: 3.984 kB / 0.8985 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.1817, allocations: 55.95 kB / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.182, allocations: 276.8 kB / 0.8988 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.1823, allocations: 66.47 kB / 0.8989 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.106e-05/0.1824, allocations: 36.91 kB / 0.8989 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.1825, allocations: 170.1 kB / 0.8991 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.127e-05/0.1826, allocations: 30.56 kB / 0.8991 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1826, allocations: 0 / 0.8991 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003351/0.1829, allocations: 113.6 kB / 0.8992 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.1829, allocations: 51.41 kB / 0.8993 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.749e-05/0.183, allocations: 109.8 kB / 0.8994 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.714e-06/0.183, allocations: 33.64 kB / 0.8994 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.273e-05/0.183, allocations: 88.14 kB / 0.8995 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.139e-05/0.183, allocations: 7.891 kB / 0.8995 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.897e-05/0.1831, allocations: 13.72 kB / 0.8995 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.852e-05/0.1831, allocations: 318.8 kB / 0.8998 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.7e-05/0.1832, allocations: 27.97 kB / 0.8998 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.457e-05/0.1833, allocations: 23.98 kB / 0.8999 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.1834, allocations: 56.81 kB / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.1835, allocations: 0 / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001899/0.1837, allocations: 85.66 kB / 0.9 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.1837, allocations: 6.812 kB / 0.9 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1837, allocations: 0 / 0.9 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.976e-06/0.1837, allocations: 4 kB / 0.9 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.399e-05/0.1838, allocations: 15.92 kB / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1838, allocations: 4 kB / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.507e-05/0.1838, allocations: 19.92 kB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.1839, allocations: 0 / 0.9001 GB, free: 63.83 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 (bin.y,rea2Int.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 4.531e-05/0.1839, allocations: 117.8 kB / 0.9002 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.1839, allocations: 3.906 kB / 0.9002 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.1842, allocations: 93.55 kB / 0.9003 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1842, allocations: 0 / 0.9003 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1842, allocations: 0 / 0.9003 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.1842, allocations: 4 kB / 0.9003 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.1843, allocations: 165.7 kB / 0.9004 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1843, allocations: 4 kB / 0.9004 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.902e-05/0.1844, allocations: 16.3 kB / 0.9004 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1844, allocations: 0 / 0.9004 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1844, allocations: 7.984 kB / 0.9004 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1844, allocations: 7.938 kB / 0.9005 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1844, allocations: 0 / 0.9005 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.1846, allocations: 192.2 kB / 0.9006 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.513e-05/0.1847, allocations: 81.02 kB / 0.9007 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.1847, allocations: 7.984 kB / 0.9007 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.907e-05/0.1848, allocations: 4 kB / 0.9007 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.1848, allocations: 7.984 kB / 0.9007 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.1848, allocations: 0 / 0.9007 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.394e-05/0.1848, allocations: 95.25 kB / 0.9008 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1848, allocations: 0 / 0.9008 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002129/0.1851, allocations: 16 kB / 0.9008 GB, free: 62.92 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.0004385/0.1855, allocations: 0.7358 MB / 0.9016 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.1857, allocations: 55.95 kB / 0.9016 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1857, allocations: 0 / 0.9016 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.153e-05/0.1858, allocations: 39.91 kB / 0.9016 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.1861, allocations: 0 / 0.9016 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.1871, allocations: 1.317 MB / 0.9029 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.497e-05/0.1872, allocations: 0.6848 MB / 0.9036 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.981e-05/0.1872, allocations: 12 kB / 0.9036 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.1873, allocations: 7.438 kB / 0.9036 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.1873, allocations: 0 / 0.9036 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009872/0.1971, allocations: 1.654 MB / 0.9052 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/0.1973, allocations: 208.2 kB / 0.9054 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.49/1.687, allocations: 0 / 0.9054 GB, free: 58.14 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)