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: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.533/1.533, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001622/0.001622, allocations: 170.3 kB / 326.5 MB, free: 2.676 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.773/1.773, allocations: 205 MB / 0.5766 GB, free: 21 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.001062/0.001062, allocations: 98.36 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002992, allocations: 12.11 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1776, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001516/0.1792, allocations: 1.271 MB / 0.898 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004248/0.1797, allocations: 189 kB / 0.8981 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.632e-05/0.1797, allocations: 0 / 0.8981 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.239e-05/0.1797, allocations: 4 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.177e-05/0.1798, allocations: 3.938 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.18, allocations: 43.94 kB / 0.8982 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.436e-05/0.1801, allocations: 27.92 kB / 0.8982 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.129e-05/0.1802, allocations: 19.92 kB / 0.8982 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.634e-05/0.1802, allocations: 15.92 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.506e-05/0.1803, allocations: 15.92 kB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.1803, allocations: 0 / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.247e-05/0.1804, allocations: 43.97 kB / 0.8983 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.1804, allocations: 7.984 kB / 0.8983 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.321e-05/0.1804, allocations: 15.86 kB / 0.8983 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.633e-05/0.1805, allocations: 43.92 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1805, allocations: 0 / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.454e-06/0.1805, allocations: 0 / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.666e-06/0.1805, allocations: 3.938 kB / 0.8984 GB, free: 66.46 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.0003776/0.1809, allocations: 351.5 kB / 0.8987 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.181, allocations: 12.03 kB / 0.8987 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.181, allocations: 4.844 kB / 0.8987 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.039e-05/0.1811, allocations: 172.3 kB / 0.8989 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.1811, allocations: 4.359 kB / 0.8989 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.1811, allocations: 4.375 kB / 0.8989 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.1813, allocations: 62.23 kB / 0.899 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1813, allocations: 4.188 kB / 0.899 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1813, allocations: 7.922 kB / 0.899 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1814, allocations: 4 kB / 0.899 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.1815, allocations: 55.89 kB / 0.899 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.1818, allocations: 284.8 kB / 0.8993 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.1821, allocations: 62.53 kB / 0.8994 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.252e-05/0.1822, allocations: 32.91 kB / 0.8994 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.1824, allocations: 166.3 kB / 0.8996 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.354e-05/0.1824, allocations: 42.44 kB / 0.8996 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1824, allocations: 0 / 0.8996 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.000358/0.1828, allocations: 109.6 kB / 0.8997 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.909e-05/0.1828, allocations: 55.34 kB / 0.8998 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.507e-05/0.1829, allocations: 117.8 kB / 0.8999 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.1829, allocations: 25.7 kB / 0.8999 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.636e-05/0.1829, allocations: 84.05 kB / 0.9 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.183, allocations: 16.77 kB / 0.9 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-05/0.183, allocations: 13.72 kB / 0.9 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.051e-05/0.183, allocations: 314.8 kB / 0.9003 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.723e-05/0.1831, allocations: 27.97 kB / 0.9003 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.56e-05/0.1832, allocations: 27.92 kB / 0.9004 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.1834, allocations: 60.81 kB / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1834, allocations: 0 / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001881/0.1836, allocations: 85.66 kB / 0.9005 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1836, allocations: 4 kB / 0.9005 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1836, allocations: 0 / 0.9005 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1836, allocations: 0 / 0.9005 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.596e-05/0.1837, allocations: 19.98 kB / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1837, allocations: 0 / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.355e-05/0.1838, allocations: 7.984 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.1838, allocations: 8 kB / 0.9005 GB, free: 64 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.777e-05/0.1838, allocations: 117.7 kB / 0.9006 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.1839, allocations: 7.906 kB / 0.9007 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.1841, allocations: 97.88 kB / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1841, allocations: 0 / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1841, allocations: 48 / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1841, allocations: 3.984 kB / 0.9007 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.1842, allocations: 169.6 kB / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1843, allocations: 3.984 kB / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.969e-05/0.1843, allocations: 12 kB / 0.9009 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.1843, allocations: 0 / 0.9009 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1843, allocations: 3.984 kB / 0.9009 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1844, allocations: 0 / 0.9009 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1844, allocations: 7.938 kB / 0.9009 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.1846, allocations: 183.4 kB / 0.9011 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/0.1846, allocations: 81.02 kB / 0.9012 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.1846, allocations: 7.984 kB / 0.9012 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-05/0.1847, allocations: 8 kB / 0.9012 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.1848, allocations: 7.984 kB / 0.9012 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.1848, allocations: 4 kB / 0.9012 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.376e-05/0.1848, allocations: 87.27 kB / 0.9013 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1848, allocations: 0 / 0.9013 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002189/0.185, allocations: 16 kB / 0.9013 GB, free: 63.09 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.000135/0.1852, allocations: 115.2 kB / 0.9014 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.1854, allocations: 63.83 kB / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1854, allocations: 0 / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.11e-05/0.1855, allocations: 31.98 kB / 0.9015 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.1858, allocations: 10.47 kB / 0.9015 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002525/0.186, allocations: 152.9 kB / 0.9017 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.418e-05/0.1861, allocations: 0.6809 MB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.1862, allocations: 7.438 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of SimCode: time 1.102e-06/0.1862, allocations: 4 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.001959/0.1881, allocations: 0.9839 MB / 0.9033 GB, free: 60.99 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)