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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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: translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005849/0.005853, allocations: 104.2 kB / 15.74 MB, free: 6.035 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.001153/0.001153, allocations: 200.3 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.231/1.231, allocations: 205.1 MB / 222.6 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.351/1.351, allocations: 251.7 MB / 0.5094 GB, free: 3.078 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.89 kB / 0.7258 GB, free: 9.133 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1764, allocations: 104.7 MB / 0.8281 GB, free: 332 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001512/0.1779, allocations: 0.5933 MB / 0.8287 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003519/0.1783, allocations: 103.9 kB / 0.8288 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.018e-05/0.1783, allocations: 3.938 kB / 0.8288 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.602e-05/0.1784, allocations: 0 / 0.8288 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.33e-06/0.1784, allocations: 0 / 0.8288 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.1787, allocations: 31.91 kB / 0.8288 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.1788, allocations: 67.86 kB / 0.8289 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.1789, allocations: 11.98 kB / 0.8289 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.951e-05/0.1789, allocations: 19.98 kB / 0.8289 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.193e-05/0.1789, allocations: 27.95 kB / 0.8289 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.179, allocations: 4 kB / 0.8289 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1791, allocations: 51.97 kB / 0.829 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/0.1791, allocations: 23.95 kB / 0.829 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.1792, allocations: 19.86 kB / 0.829 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.1793, allocations: 71.83 kB / 0.8291 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1793, allocations: 0 / 0.8291 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1793, allocations: 0 / 0.8291 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.1793, allocations: 0 / 0.8291 GB, free: 15.31 MB / 0.6544 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.0004527/0.1798, allocations: 371.4 kB / 0.8294 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.1798, allocations: 8.031 kB / 0.8294 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.1799, allocations: 12.94 kB / 0.8295 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.96e-05/0.1799, allocations: 168.3 kB / 0.8296 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002203/0.1802, allocations: 277.6 kB / 0.8299 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1802, allocations: 8.375 kB / 0.8299 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.1804, allocations: 78.19 kB / 0.83 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1804, allocations: 3.938 kB / 0.83 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1805, allocations: 0 / 0.83 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1805, allocations: 4 kB / 0.83 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.1808, allocations: 143.7 kB / 0.8301 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.181, allocations: 185.5 kB / 0.8303 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.1812, allocations: 94.45 kB / 0.8304 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.1814, allocations: 48.83 kB / 0.8304 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.1814, allocations: 0 / 0.8304 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.1814, allocations: 30.56 kB / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 9.22e-07/0.1814, allocations: 4 kB / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0004894/0.1819, allocations: 149.8 kB / 0.8306 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.182, allocations: 55.41 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.032e-05/0.182, allocations: 97.8 kB / 0.8307 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.182, allocations: 25.7 kB / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.918e-05/0.182, allocations: 80.14 kB / 0.8308 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/0.1821, allocations: 39.39 kB / 0.8309 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.1822, allocations: 29.7 kB / 0.8309 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.1822, allocations: 310.8 kB / 0.8312 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.1824, allocations: 39.97 kB / 0.8312 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.1825, allocations: 31.97 kB / 0.8313 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.1828, allocations: 77.41 kB / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1828, allocations: 0 / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003027/0.1831, allocations: 113.6 kB / 0.8315 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1831, allocations: 7.938 kB / 0.8315 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1831, allocations: 0 / 0.8315 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1831, allocations: 4 kB / 0.8315 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.1833, allocations: 23.92 kB / 0.8315 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1833, allocations: 7.984 kB / 0.8315 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.767e-05/0.1834, allocations: 7.906 kB / 0.8315 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.1834, allocations: 4 kB / 0.8315 GB, free: 12.53 MB / 0.6544 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 7.273e-05/0.1834, allocations: 117.8 kB / 0.8316 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.1835, allocations: 7.938 kB / 0.8316 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.871e-05/0.1835, allocations: 11.97 kB / 0.8316 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1835, allocations: 0 / 0.8316 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1835, allocations: 0 / 0.8316 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1835, allocations: 0 / 0.8316 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.1836, allocations: 185.5 kB / 0.8318 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1837, allocations: 0 / 0.8318 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.1838, allocations: 27.91 kB / 0.8318 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1838, allocations: 3.938 kB / 0.8318 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.1838, allocations: 12 kB / 0.8319 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1838, allocations: 0 / 0.8319 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1838, allocations: 7.875 kB / 0.8319 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.1841, allocations: 133.1 kB / 0.832 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.762e-05/0.1842, allocations: 89.05 kB / 0.8321 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.1842, allocations: 7.938 kB / 0.8321 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.921e-05/0.1843, allocations: 7.984 kB / 0.8321 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.1843, allocations: 7.984 kB / 0.8321 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.1843, allocations: 8 kB / 0.8321 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.369e-05/0.1844, allocations: 75.28 kB / 0.8322 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.182e-06/0.1844, allocations: 0 / 0.8322 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002046/0.1846, allocations: 27.92 kB / 0.8322 GB, free: 11.71 MB / 0.6544 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.000163/0.1847, allocations: 127.2 kB / 0.8323 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000319/0.1851, allocations: 79.94 kB / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1851, allocations: 0 / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.1852, allocations: 47.91 kB / 0.8324 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.1854, allocations: 8 kB / 0.8325 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003284/0.1857, allocations: 160.9 kB / 0.8326 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.1859, allocations: 0.6922 MB / 0.8333 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.186, allocations: 43.81 kB / 0.8333 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.1861, allocations: 15.42 kB / 0.8333 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of SimCode: time 1.322e-06/0.1861, allocations: 0 / 0.8333 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of Templates: time 0.002939/0.189, allocations: 1.034 MB / 0.8344 GB, free: 9.457 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)