Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001425/0.001425, allocations: 189.5 kB / 16.14 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002553/0.002554, allocations: 293.1 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.078/1.078, allocations: 178.6 MB / 0.5068 GB, free: 4.785 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002862/0.002862, allocations: 96.56 kB / 0.6057 GB, free: 25.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1725, allocations: 89.15 MB / 0.6928 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.003036/0.1756, allocations: 1.6 MB / 0.6943 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005384/0.1762, allocations: 184.3 kB / 0.6945 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.74e-05/0.1762, allocations: 0 / 0.6945 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.749e-05/0.1763, allocations: 0 / 0.6945 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.281e-05/0.1763, allocations: 3.938 kB / 0.6945 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.1766, allocations: 32.75 kB / 0.6946 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.056e-05/0.1767, allocations: 35.91 kB / 0.6946 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.898e-05/0.1768, allocations: 17.7 kB / 0.6946 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.093e-05/0.1769, allocations: 11.92 kB / 0.6946 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.1769, allocations: 23.92 kB / 0.6946 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.1769, allocations: 0 / 0.6946 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.177, allocations: 51.95 kB / 0.6947 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.1771, allocations: 4 kB / 0.6947 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.1771, allocations: 19.86 kB / 0.6947 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1773, allocations: 59.84 kB / 0.6948 GB, free: 2.801 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1773, allocations: 0 / 0.6948 GB, free: 2.801 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1773, allocations: 3.938 kB / 0.6948 GB, free: 2.797 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1773, allocations: 0 / 0.6948 GB, free: 2.797 MB / 494.1 MB 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.0005256/0.1778, allocations: 351.7 kB / 0.6951 GB, free: 2.402 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1779, allocations: 12.03 kB / 0.6951 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.1779, allocations: 4.938 kB / 0.6951 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.178, allocations: 176.3 kB / 0.6953 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.1781, allocations: 384 / 0.6953 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.1781, allocations: 4.375 kB / 0.6953 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.1783, allocations: 62.22 kB / 0.6954 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1783, allocations: 4.172 kB / 0.6954 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1783, allocations: 7.875 kB / 0.6954 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1783, allocations: 4 kB / 0.6954 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.1785, allocations: 47.89 kB / 0.6954 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.1789, allocations: 280.7 kB / 0.6957 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.1793, allocations: 62.53 kB / 0.6957 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.1794, allocations: 24.91 kB / 0.6958 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002353/0.1796, allocations: 174.1 kB / 0.6959 GB, free: 1.414 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.1797, allocations: 34.5 kB / 0.696 GB, free: 1.371 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1797, allocations: 0 / 0.696 GB, free: 1.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004002/0.1801, allocations: 97.62 kB / 0.6961 GB, free: 1.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.1801, allocations: 51.41 kB / 0.6961 GB, free: 1.207 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.1802, allocations: 113.8 kB / 0.6962 GB, free: 1.086 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.1803, allocations: 25.7 kB / 0.6962 GB, free: 1.055 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.1803, allocations: 84.14 kB / 0.6963 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.1803, allocations: 11.89 kB / 0.6963 GB, free: 0.957 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.1804, allocations: 17.72 kB / 0.6964 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1806, allocations: 314.8 kB / 0.6967 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1807, allocations: 27.97 kB / 0.6967 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.966e-05/0.1808, allocations: 19.92 kB / 0.6967 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.1809, allocations: 48.81 kB / 0.6967 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1809, allocations: 0 / 0.6967 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002246/0.1812, allocations: 77.56 kB / 0.6968 GB, free: 448 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1812, allocations: 5.406 kB / 0.6968 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1812, allocations: 0 / 0.6968 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1812, allocations: 0 / 0.6968 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.573e-05/0.1813, allocations: 15.98 kB / 0.6968 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1813, allocations: 0 / 0.6968 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.079e-05/0.1814, allocations: 7.984 kB / 0.6968 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.1814, allocations: 0 / 0.6968 GB, free: 420 kB / 494.1 MB 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 8.708e-05/0.1815, allocations: 117.7 kB / 0.697 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.1815, allocations: 8 kB / 0.697 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.1818, allocations: 81.55 kB / 0.697 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1818, allocations: 0 / 0.697 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.1818, allocations: 0 / 0.697 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1819, allocations: 11.92 kB / 0.6971 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.1821, allocations: 165.7 kB / 0.6972 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1821, allocations: 4 kB / 0.6972 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.869e-05/0.1822, allocations: 11.98 kB / 0.6972 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1822, allocations: 8 kB / 0.6972 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1822, allocations: 0 / 0.6972 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1822, allocations: 4 kB / 0.6972 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1822, allocations: 0 / 0.6972 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.1825, allocations: 175.7 kB / 0.6974 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.1825, allocations: 85.03 kB / 0.6975 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.1826, allocations: 8 kB / 0.6975 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.121e-05/0.1826, allocations: 0 / 0.6975 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.1827, allocations: 12.03 kB / 0.6975 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.1827, allocations: 3.984 kB / 0.6975 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.904e-05/0.1828, allocations: 95.2 kB / 0.6976 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1828, allocations: 0 / 0.6976 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002365/0.183, allocations: 16 kB / 0.6976 GB, free: 15.52 MB / 0.4981 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.0001848/0.1832, allocations: 111.2 kB / 0.6977 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.1835, allocations: 55.89 kB / 0.6978 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1835, allocations: 0 / 0.6978 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.1836, allocations: 27.97 kB / 0.6978 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.1838, allocations: 3.938 kB / 0.6978 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.1841, allocations: 135.2 kB / 0.6979 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.1845, allocations: 0.677 MB / 0.6986 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.272e-05/0.1845, allocations: 4 kB / 0.6986 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.1846, allocations: 15.42 kB / 0.6986 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1846, allocations: 0 / 0.6986 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.003354/0.1879, allocations: 0.8917 MB / 0.6995 GB, free: 13.55 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1)