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.004392/0.004398, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001059/0.001059, allocations: 187.8 kB / 16.67 MB, free: 5.949 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002032/0.002032, allocations: 283 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9366/0.9366, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 99.84 kB / 0.6815 GB, free: 15.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.162, allocations: 86.97 MB / 0.7664 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001881/0.1639, allocations: 0.5819 MB / 0.767 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003739/0.1643, allocations: 107.6 kB / 0.7671 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.149e-05/0.1644, allocations: 4 kB / 0.7671 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.607e-05/0.1644, allocations: 0 / 0.7671 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.434e-06/0.1644, allocations: 3.938 kB / 0.7671 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.1648, allocations: 35.91 kB / 0.7671 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.1649, allocations: 67.92 kB / 0.7672 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.165, allocations: 3.984 kB / 0.7672 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.548e-05/0.165, allocations: 27.92 kB / 0.7672 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.415e-05/0.165, allocations: 23.95 kB / 0.7673 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1651, allocations: 4 kB / 0.7673 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.1652, allocations: 39.97 kB / 0.7673 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.656e-05/0.1653, allocations: 27.95 kB / 0.7673 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.1653, allocations: 19.92 kB / 0.7673 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.1655, allocations: 83.7 kB / 0.7674 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1655, allocations: 0 / 0.7674 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1655, allocations: 0 / 0.7674 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.1655, allocations: 0 / 0.7674 GB, free: 7.355 MB / 0.5606 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.0004935/0.166, allocations: 375.4 kB / 0.7678 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.166, allocations: 8.031 kB / 0.7678 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.1661, allocations: 4.938 kB / 0.7678 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.07e-05/0.1662, allocations: 172.4 kB / 0.768 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003071/0.1665, allocations: 277.6 kB / 0.7682 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.1665, allocations: 4.375 kB / 0.7682 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.1668, allocations: 86.12 kB / 0.7683 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1669, allocations: 3.938 kB / 0.7683 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.1669, allocations: 0 / 0.7683 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1669, allocations: 0 / 0.7683 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004621/0.1674, allocations: 135.8 kB / 0.7684 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002253/0.1676, allocations: 177.6 kB / 0.7686 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.168, allocations: 102.5 kB / 0.7687 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.1682, allocations: 48.77 kB / 0.7688 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.1683, allocations: 0 / 0.7688 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.1683, allocations: 34.56 kB / 0.7688 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.1683, allocations: 0 / 0.7688 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0007364/0.1691, allocations: 149.8 kB / 0.7689 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.1691, allocations: 59.34 kB / 0.769 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.563e-05/0.1692, allocations: 89.86 kB / 0.7691 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.1692, allocations: 25.7 kB / 0.7691 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.1693, allocations: 84.14 kB / 0.7692 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.2e-05/0.1693, allocations: 43.39 kB / 0.7692 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/0.1694, allocations: 25.7 kB / 0.7692 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1696, allocations: 314.8 kB / 0.7695 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.1698, allocations: 35.91 kB / 0.7696 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.17, allocations: 39.97 kB / 0.7696 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003768/0.1704, allocations: 68.81 kB / 0.7697 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1704, allocations: 0 / 0.7697 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004767/0.1709, allocations: 113.6 kB / 0.7698 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1709, allocations: 7.938 kB / 0.7698 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1709, allocations: 0 / 0.7698 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1709, allocations: 0 / 0.7698 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.1711, allocations: 27.92 kB / 0.7698 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.1711, allocations: 3.984 kB / 0.7698 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.948e-05/0.1712, allocations: 15.94 kB / 0.7698 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.1713, allocations: 4 kB / 0.7698 GB, free: 4.582 MB / 0.5606 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 9.891e-05/0.1714, allocations: 118.5 kB / 0.77 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.1714, allocations: 7.844 kB / 0.77 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.1715, allocations: 7.969 kB / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1715, allocations: 4 kB / 0.77 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1715, allocations: 4 kB / 0.77 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1715, allocations: 0 / 0.77 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.1717, allocations: 173.6 kB / 0.7701 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1717, allocations: 8 kB / 0.7702 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.1719, allocations: 31.91 kB / 0.7702 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.1719, allocations: 3.938 kB / 0.7702 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1719, allocations: 4 kB / 0.7702 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1719, allocations: 0 / 0.7702 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1719, allocations: 0 / 0.7702 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004752/0.1724, allocations: 145.7 kB / 0.7703 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.1725, allocations: 85.05 kB / 0.7704 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.1725, allocations: 7.938 kB / 0.7704 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.24e-05/0.1726, allocations: 7.984 kB / 0.7704 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/0.1727, allocations: 15.97 kB / 0.7704 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.1727, allocations: 4 kB / 0.7704 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.12e-05/0.1727, allocations: 75.28 kB / 0.7705 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1727, allocations: 0 / 0.7705 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002991/0.173, allocations: 23.98 kB / 0.7705 GB, free: 3.773 MB / 0.5606 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.0002294/0.1733, allocations: 123.2 kB / 0.7707 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004328/0.1737, allocations: 95.92 kB / 0.7708 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1737, allocations: 0 / 0.7708 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.1739, allocations: 47.91 kB / 0.7708 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.1741, allocations: 4 kB / 0.7708 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005092/0.1747, allocations: 152.9 kB / 0.7709 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.175, allocations: 0.6846 MB / 0.7716 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002078/0.1752, allocations: 35.94 kB / 0.7717 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.603e-05/0.1753, allocations: 27.42 kB / 0.7717 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.1753, allocations: 0 / 0.7717 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of Templates: time 0.00436/0.1796, allocations: 1.031 MB / 0.7727 GB, free: 1.523 MB / 0.5606 GB 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)