Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001044/0.001043, 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.001126/0.001126, allocations: 194.4 kB / 16.14 MB, free: 6.664 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002132/0.002132, allocations: 288.3 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.937/0.937, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 92.34 kB / 0.5945 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1564, allocations: 86.98 MB / 0.6794 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001704/0.1581, allocations: 0.6467 MB / 0.6801 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003733/0.1585, allocations: 115.6 kB / 0.6802 GB, free: 460 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.561e-05/0.1585, allocations: 0.7188 kB / 0.6802 GB, free: 460 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.202e-05/0.1586, allocations: 0 / 0.6802 GB, free: 460 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.603e-06/0.1586, allocations: 0.625 kB / 0.6802 GB, free: 460 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.1589, allocations: 35.84 kB / 0.6802 GB, free: 424 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.813e-05/0.159, allocations: 57.69 kB / 0.6803 GB, free: 368 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.532e-05/0.159, allocations: 7.984 kB / 0.6803 GB, free: 360 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.053e-05/0.159, allocations: 23.98 kB / 0.6803 GB, free: 336 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.807e-05/0.1591, allocations: 23.95 kB / 0.6803 GB, free: 312 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.1591, allocations: 8 kB / 0.6803 GB, free: 304 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1592, allocations: 39.95 kB / 0.6804 GB, free: 264 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.569e-05/0.1593, allocations: 15.98 kB / 0.6804 GB, free: 248 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.1593, allocations: 31.84 kB / 0.6804 GB, free: 216 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.1595, allocations: 71.83 kB / 0.6805 GB, free: 144 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1595, allocations: 0 / 0.6805 GB, free: 144 kB / 478.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1595, allocations: 0 / 0.6805 GB, free: 144 kB / 478.1 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.1595, allocations: 0 / 0.6805 GB, free: 144 kB / 478.1 MB 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.000499/0.16, allocations: 378.9 kB / 0.6808 GB, free: 15.72 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.16, allocations: 8.031 kB / 0.6809 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.1601, allocations: 16.84 kB / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.641e-05/0.1602, allocations: 160.4 kB / 0.681 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002547/0.1604, allocations: 281.6 kB / 0.6813 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.1605, allocations: 4.375 kB / 0.6813 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.1607, allocations: 82.14 kB / 0.6814 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.1607, allocations: 3.938 kB / 0.6814 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1607, allocations: 0 / 0.6814 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1607, allocations: 4 kB / 0.6814 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003589/0.1611, allocations: 139.7 kB / 0.6815 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001969/0.1613, allocations: 173.7 kB / 0.6817 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.1616, allocations: 90.53 kB / 0.6818 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.1618, allocations: 44.83 kB / 0.6818 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.1618, allocations: 3.938 kB / 0.6818 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.1618, allocations: 34.56 kB / 0.6818 GB, free: 14.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.1618, allocations: 4 kB / 0.6819 GB, free: 14.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005204/0.1624, allocations: 149.8 kB / 0.682 GB, free: 14.37 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.1625, allocations: 51.41 kB / 0.682 GB, free: 14.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.808e-05/0.1625, allocations: 97.8 kB / 0.6821 GB, free: 14.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.1625, allocations: 29.7 kB / 0.6822 GB, free: 14.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.576e-05/0.1626, allocations: 80.14 kB / 0.6822 GB, free: 14.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.508e-05/0.1626, allocations: 39.39 kB / 0.6823 GB, free: 14.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.1627, allocations: 25.7 kB / 0.6823 GB, free: 14.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1628, allocations: 322.8 kB / 0.6826 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.1629, allocations: 27.98 kB / 0.6826 GB, free: 13.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.1631, allocations: 39.91 kB / 0.6827 GB, free: 13.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.1634, allocations: 72.81 kB / 0.6827 GB, free: 13.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1634, allocations: 0 / 0.6827 GB, free: 13.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003248/0.1637, allocations: 114.1 kB / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1637, allocations: 7.938 kB / 0.6829 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1637, allocations: 4 kB / 0.6829 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1638, allocations: 4 kB / 0.6829 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.1639, allocations: 31.91 kB / 0.6829 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1639, allocations: 4 kB / 0.6829 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.744e-05/0.164, allocations: 4 kB / 0.6829 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.164, allocations: 7.984 kB / 0.6829 GB, free: 13.37 MB / 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: 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 8.336e-05/0.1641, allocations: 115.2 kB / 0.683 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.1641, allocations: 7.938 kB / 0.683 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.1642, allocations: 11.97 kB / 0.683 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1642, allocations: 3.984 kB / 0.683 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1642, allocations: 0 / 0.683 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.1642, allocations: 4 kB / 0.6831 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.1643, allocations: 181.5 kB / 0.6832 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1643, allocations: 0 / 0.6832 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.1645, allocations: 19.98 kB / 0.6832 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1645, allocations: 3.938 kB / 0.6832 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.1645, allocations: 11.97 kB / 0.6833 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1645, allocations: 7.875 kB / 0.6833 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1645, allocations: 0 / 0.6833 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.1649, allocations: 145.1 kB / 0.6834 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.1649, allocations: 88.95 kB / 0.6835 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.1649, allocations: 3.938 kB / 0.6835 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.938e-05/0.165, allocations: 8 kB / 0.6835 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.1651, allocations: 11.97 kB / 0.6835 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.1651, allocations: 4 kB / 0.6835 GB, free: 12.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.377e-05/0.1651, allocations: 75.28 kB / 0.6836 GB, free: 12.58 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1651, allocations: 0 / 0.6836 GB, free: 12.58 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.1653, allocations: 20 kB / 0.6836 GB, free: 12.56 MB / 494.1 MB 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.0002032/0.1656, allocations: 135.1 kB / 0.6837 GB, free: 12.42 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003222/0.1659, allocations: 79.94 kB / 0.6838 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1659, allocations: 3.938 kB / 0.6838 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.1661, allocations: 47.91 kB / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.1662, allocations: 7.984 kB / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003686/0.1666, allocations: 170.9 kB / 0.684 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.1668, allocations: 0.6887 MB / 0.6847 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001646/0.167, allocations: 39.94 kB / 0.6847 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.1671, allocations: 15.42 kB / 0.6848 GB, free: 11.32 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1671, allocations: 0 / 0.6848 GB, free: 11.32 MB / 494.1 MB Notification: Performance of Templates: time 0.003213/0.1703, allocations: 0.9781 MB / 0.6857 GB, free: 10.35 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)