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.001012/0.001013, allocations: 118.5 kB / 16.37 MB, free: 6.004 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.0009726/0.0009726, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.248/1.248, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002052/0.002052, allocations: 291.5 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8853/0.8853, allocations: 169.2 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 98.78 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1551, allocations: 86.98 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001587/0.1567, allocations: 0.572 MB / 0.6822 GB, free: 6.879 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003241/0.157, allocations: 107.8 kB / 0.6823 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.6e-05/0.157, allocations: 0 / 0.6823 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.514e-05/0.1571, allocations: 3.938 kB / 0.6823 GB, free: 6.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.488e-06/0.1571, allocations: 4 kB / 0.6823 GB, free: 6.766 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.1574, allocations: 43.89 kB / 0.6823 GB, free: 6.723 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.1575, allocations: 59.92 kB / 0.6824 GB, free: 6.664 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.1576, allocations: 7.984 kB / 0.6824 GB, free: 6.656 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.809e-05/0.1576, allocations: 19.98 kB / 0.6824 GB, free: 6.637 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.046e-05/0.1576, allocations: 27.97 kB / 0.6824 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.1577, allocations: 0 / 0.6824 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.1578, allocations: 43.95 kB / 0.6825 GB, free: 6.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.749e-05/0.1578, allocations: 27.91 kB / 0.6825 GB, free: 6.539 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.1578, allocations: 19.91 kB / 0.6825 GB, free: 6.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.158, allocations: 75.83 kB / 0.6826 GB, free: 6.445 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.158, allocations: 0 / 0.6826 GB, free: 6.445 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.158, allocations: 0 / 0.6826 GB, free: 6.445 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.158, allocations: 0 / 0.6826 GB, free: 6.445 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004312/0.1584, allocations: 371.5 kB / 0.683 GB, free: 6.031 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.1585, allocations: 12.03 kB / 0.683 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.1585, allocations: 4.938 kB / 0.683 GB, free: 6.016 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.435e-05/0.1586, allocations: 164.4 kB / 0.6831 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/0.1588, allocations: 281.6 kB / 0.6834 GB, free: 5.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.1589, allocations: 16.25 kB / 0.6834 GB, free: 5.465 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.1591, allocations: 90.06 kB / 0.6835 GB, free: 5.371 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1591, allocations: 7.938 kB / 0.6835 GB, free: 5.363 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1591, allocations: 0 / 0.6835 GB, free: 5.363 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1591, allocations: 0 / 0.6835 GB, free: 5.363 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.1594, allocations: 131.8 kB / 0.6836 GB, free: 5.234 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.1596, allocations: 177.6 kB / 0.6838 GB, free: 5.012 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.1599, allocations: 98.45 kB / 0.6839 GB, free: 4.906 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.16, allocations: 48.83 kB / 0.6839 GB, free: 4.855 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.16, allocations: 3.984 kB / 0.6839 GB, free: 4.852 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1601, allocations: 34.56 kB / 0.684 GB, free: 4.809 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.1601, allocations: 0 / 0.684 GB, free: 4.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004569/0.1605, allocations: 145.8 kB / 0.6841 GB, free: 4.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.1606, allocations: 55.41 kB / 0.6842 GB, free: 4.594 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.467e-05/0.1606, allocations: 93.86 kB / 0.6843 GB, free: 4.492 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.1607, allocations: 29.7 kB / 0.6843 GB, free: 4.457 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.096e-05/0.1607, allocations: 80.14 kB / 0.6844 GB, free: 4.375 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.1607, allocations: 39.39 kB / 0.6844 GB, free: 4.336 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.1608, allocations: 33.64 kB / 0.6844 GB, free: 4.297 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.1609, allocations: 314.8 kB / 0.6847 GB, free: 3.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.161, allocations: 31.97 kB / 0.6848 GB, free: 3.949 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.1611, allocations: 31.97 kB / 0.6848 GB, free: 3.918 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.1614, allocations: 80.75 kB / 0.6849 GB, free: 3.836 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1614, allocations: 4 kB / 0.6849 GB, free: 3.832 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002904/0.1617, allocations: 106.3 kB / 0.685 GB, free: 3.723 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1617, allocations: 11.94 kB / 0.685 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1617, allocations: 0 / 0.685 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.1617, allocations: 0 / 0.685 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.1619, allocations: 27.91 kB / 0.685 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.1619, allocations: 0 / 0.685 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.169e-05/0.1619, allocations: 7.906 kB / 0.685 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.162, allocations: 4 kB / 0.685 GB, free: 3.672 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 7.934e-05/0.162, allocations: 121.8 kB / 0.6851 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.1621, allocations: 11.88 kB / 0.6852 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.1621, allocations: 11.97 kB / 0.6852 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1621, allocations: 0 / 0.6852 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1621, allocations: 0 / 0.6852 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1621, allocations: 0 / 0.6852 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.1622, allocations: 181.5 kB / 0.6853 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1623, allocations: 3.938 kB / 0.6853 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.1624, allocations: 31.91 kB / 0.6854 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1624, allocations: 7.938 kB / 0.6854 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1624, allocations: 4 kB / 0.6854 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1624, allocations: 0 / 0.6854 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1624, allocations: 3.984 kB / 0.6854 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.1627, allocations: 137.1 kB / 0.6855 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.1628, allocations: 84.95 kB / 0.6856 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.1628, allocations: 15.88 kB / 0.6856 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.239e-05/0.1628, allocations: 7.984 kB / 0.6856 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.1629, allocations: 11.98 kB / 0.6856 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.1629, allocations: 4 kB / 0.6856 GB, free: 2.945 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.244e-05/0.163, allocations: 79.28 kB / 0.6857 GB, free: 2.867 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.163, allocations: 0 / 0.6857 GB, free: 2.867 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002099/0.1632, allocations: 23.98 kB / 0.6857 GB, free: 2.844 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.0001649/0.1633, allocations: 119.2 kB / 0.6859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002938/0.1636, allocations: 79.94 kB / 0.6859 GB, free: 2.641 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1637, allocations: 4 kB / 0.6859 GB, free: 2.637 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.1638, allocations: 55.84 kB / 0.686 GB, free: 2.582 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.1639, allocations: 5.547 kB / 0.686 GB, free: 2.578 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/0.1643, allocations: 157 kB / 0.6861 GB, free: 2.398 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.1645, allocations: 0.6807 MB / 0.6868 GB, free: 1.691 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.1646, allocations: 39.94 kB / 0.6868 GB, free: 1.652 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.1647, allocations: 15.42 kB / 0.6869 GB, free: 1.641 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1647, allocations: 0 / 0.6869 GB, free: 1.641 MB / 494.1 MB Notification: Performance of Templates: time 0.002898/0.1676, allocations: 1.027 MB / 0.6879 GB, free: 0.6172 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)