Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 112 kB / 17.33 MB, free: 5.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.001639/0.001639, allocations: 198.6 kB / 18.33 MB, free: 4.012 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.527/1.527, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8591/0.8591, allocations: 128.4 MB / 426.1 MB, free: 7.203 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 70.59 kB / 0.5912 GB, free: 21.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1695, allocations: 83.26 MB / 0.6725 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001779/0.1713, allocations: 0.5804 MB / 0.6731 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000364/0.1717, allocations: 110.2 kB / 0.6732 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.71e-05/0.1717, allocations: 0 / 0.6732 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.307e-05/0.1717, allocations: 0 / 0.6732 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.99e-06/0.1717, allocations: 4 kB / 0.6732 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.172, allocations: 31.91 kB / 0.6732 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.1721, allocations: 67.92 kB / 0.6733 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.744e-05/0.1722, allocations: 8.344 kB / 0.6733 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.716e-05/0.1722, allocations: 23.98 kB / 0.6733 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.57e-05/0.1723, allocations: 27.89 kB / 0.6733 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.1723, allocations: 4 kB / 0.6733 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.1724, allocations: 43.95 kB / 0.6734 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.452e-05/0.1724, allocations: 27.95 kB / 0.6734 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/0.1725, allocations: 15.92 kB / 0.6734 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.1726, allocations: 71.78 kB / 0.6735 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1726, allocations: 0 / 0.6735 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1726, allocations: 0 / 0.6735 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.1726, allocations: 7.938 kB / 0.6735 GB, free: 2.848 MB / 0.4981 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.0005437/0.1732, allocations: 367.4 kB / 0.6739 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.1732, allocations: 8.031 kB / 0.6739 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.1732, allocations: 16.89 kB / 0.6739 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.1734, allocations: 172.3 kB / 0.674 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002907/0.1736, allocations: 281.5 kB / 0.6743 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.1737, allocations: 8.375 kB / 0.6743 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.1739, allocations: 74.2 kB / 0.6744 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1739, allocations: 7.938 kB / 0.6744 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1739, allocations: 4 kB / 0.6744 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1739, allocations: 4 kB / 0.6744 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003694/0.1743, allocations: 135.7 kB / 0.6745 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002229/0.1745, allocations: 177.6 kB / 0.6747 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/0.1748, allocations: 90.56 kB / 0.6748 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.1749, allocations: 36.84 kB / 0.6748 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.175, allocations: 8 kB / 0.6748 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.175, allocations: 42.55 kB / 0.6749 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.175, allocations: 0 / 0.6749 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005209/0.1755, allocations: 145.5 kB / 0.675 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.1755, allocations: 55.62 kB / 0.6751 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.835e-05/0.1756, allocations: 93.84 kB / 0.6752 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.1756, allocations: 33.64 kB / 0.6752 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.1757, allocations: 80.14 kB / 0.6753 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.1757, allocations: 35.7 kB / 0.6753 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/0.1758, allocations: 29.69 kB / 0.6753 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1759, allocations: 318.8 kB / 0.6756 GB, free: 400 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.176, allocations: 27.97 kB / 0.6757 GB, free: 372 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.1762, allocations: 32.42 kB / 0.6757 GB, free: 340 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.1764, allocations: 80.97 kB / 0.6758 GB, free: 256 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1764, allocations: 0 / 0.6758 GB, free: 256 kB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003339/0.1768, allocations: 113.5 kB / 0.6759 GB, free: 136 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1768, allocations: 15.94 kB / 0.6759 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1768, allocations: 0 / 0.6759 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1768, allocations: 0 / 0.6759 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.1769, allocations: 23.98 kB / 0.6759 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.177, allocations: 4 kB / 0.6759 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.298e-05/0.177, allocations: 19.86 kB / 0.6759 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.177, allocations: 0 / 0.6759 GB, free: 72 kB / 0.4981 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 0.0001481/0.1772, allocations: 121.8 kB / 0.676 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.1772, allocations: 7.938 kB / 0.6761 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.1772, allocations: 15.97 kB / 0.6761 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1772, allocations: 0 / 0.6761 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1772, allocations: 0 / 0.6761 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1772, allocations: 4 kB / 0.6761 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.1774, allocations: 181.5 kB / 0.6762 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1774, allocations: 0 / 0.6762 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.1775, allocations: 27.97 kB / 0.6763 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1775, allocations: 3.938 kB / 0.6763 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1776, allocations: 0 / 0.6763 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1776, allocations: 0 / 0.6763 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1776, allocations: 4 kB / 0.6763 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.1779, allocations: 148.9 kB / 0.6764 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.178, allocations: 81.06 kB / 0.6765 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.178, allocations: 3.938 kB / 0.6765 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.946e-05/0.1781, allocations: 8 kB / 0.6765 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.1781, allocations: 11.97 kB / 0.6765 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.1781, allocations: 4 kB / 0.6765 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.1782, allocations: 79.28 kB / 0.6766 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1782, allocations: 0 / 0.6766 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002225/0.1784, allocations: 27.94 kB / 0.6766 GB, free: 15.26 MB / 0.5137 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.0001917/0.1786, allocations: 115.2 kB / 0.6767 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003437/0.1789, allocations: 83.81 kB / 0.6768 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1789, allocations: 0 / 0.6768 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.1791, allocations: 47.95 kB / 0.6769 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.1792, allocations: 8 kB / 0.6769 GB, free: 15 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004152/0.1796, allocations: 164.8 kB / 0.677 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.18, allocations: 0.6885 MB / 0.6777 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001716/0.1802, allocations: 43.95 kB / 0.6777 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.1802, allocations: 15.44 kB / 0.6778 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1802, allocations: 0 / 0.6778 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of Templates: time 0.003886/0.1841, allocations: 1.035 MB / 0.6788 GB, free: 13 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 480]