Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.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.001516/0.001516, allocations: 112 kB / 17.33 MB, free: 5.043 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.001343/0.001343, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.507/1.507, 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.882/0.882, allocations: 128.4 MB / 426.1 MB, free: 7.223 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 73.39 kB / 0.5912 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2112, allocations: 83.25 MB / 0.6725 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.004525/0.2157, allocations: 1.538 MB / 0.674 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007024/0.2164, allocations: 176.3 kB / 0.6741 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.455e-05/0.2165, allocations: 0 / 0.6741 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.452e-05/0.2165, allocations: 7.938 kB / 0.6741 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.909e-05/0.2166, allocations: 11.92 kB / 0.6742 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.2171, allocations: 51.88 kB / 0.6742 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.2172, allocations: 31.92 kB / 0.6742 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.2173, allocations: 8 kB / 0.6742 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.117e-05/0.2174, allocations: 19.92 kB / 0.6743 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.919e-05/0.2175, allocations: 19.91 kB / 0.6743 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.2175, allocations: 4 kB / 0.6743 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.2177, allocations: 47.95 kB / 0.6743 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.2177, allocations: 4 kB / 0.6743 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.2177, allocations: 23.84 kB / 0.6744 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.218, allocations: 63.78 kB / 0.6744 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.218, allocations: 8 kB / 0.6744 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.218, allocations: 0 / 0.6744 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.218, allocations: 3.938 kB / 0.6744 GB, free: 2.012 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009411/0.2189, allocations: 355.3 kB / 0.6748 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.219, allocations: 8.031 kB / 0.6748 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.917e-05/0.219, allocations: 8.891 kB / 0.6748 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.2194, allocations: 168.4 kB / 0.6749 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/0.2194, allocations: 4.375 kB / 0.6749 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.2194, allocations: 8.375 kB / 0.675 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.2197, allocations: 58.23 kB / 0.675 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2197, allocations: 192 / 0.675 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.2197, allocations: 3.938 kB / 0.675 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.2197, allocations: 7.984 kB / 0.675 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.22, allocations: 47.89 kB / 0.6751 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008694/0.2208, allocations: 284.7 kB / 0.6753 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/0.2213, allocations: 58.53 kB / 0.6754 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.2214, allocations: 24.91 kB / 0.6754 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003629/0.2218, allocations: 166.1 kB / 0.6756 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.2218, allocations: 42.5 kB / 0.6756 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.2218, allocations: 0 / 0.6756 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005821/0.2224, allocations: 93.62 kB / 0.6757 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.2225, allocations: 51.41 kB / 0.6758 GB, free: 440 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.2226, allocations: 109.8 kB / 0.6759 GB, free: 320 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.2227, allocations: 25.7 kB / 0.6759 GB, free: 288 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.073e-05/0.2227, allocations: 88.09 kB / 0.676 GB, free: 196 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.2228, allocations: 11.94 kB / 0.676 GB, free: 184 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.2228, allocations: 17.72 kB / 0.676 GB, free: 160 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002491/0.2231, allocations: 318.8 kB / 0.6763 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.2232, allocations: 19.97 kB / 0.6763 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.2233, allocations: 23.92 kB / 0.6763 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.2236, allocations: 52.81 kB / 0.6764 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2236, allocations: 0 / 0.6764 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002908/0.2238, allocations: 69.94 kB / 0.6765 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.2239, allocations: 4 kB / 0.6765 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2239, allocations: 0 / 0.6765 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.2239, allocations: 0 / 0.6765 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.224, allocations: 15.97 kB / 0.6765 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.224, allocations: 0 / 0.6765 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.755e-05/0.2241, allocations: 19.97 kB / 0.6765 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.2241, allocations: 0 / 0.6765 GB, free: 15.62 MB / 0.5137 GB 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 0.0001435/0.2242, allocations: 117.7 kB / 0.6766 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.2243, allocations: 3.953 kB / 0.6766 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/0.2246, allocations: 85.55 kB / 0.6767 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2246, allocations: 0 / 0.6767 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.2246, allocations: 0 / 0.6767 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.2247, allocations: 7.984 kB / 0.6767 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.2249, allocations: 165.6 kB / 0.6769 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2249, allocations: 0 / 0.6769 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.33e-05/0.225, allocations: 15.98 kB / 0.6769 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.225, allocations: 0 / 0.6769 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.225, allocations: 8 kB / 0.6769 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.225, allocations: 0 / 0.6769 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.225, allocations: 0 / 0.6769 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.2255, allocations: 175.4 kB / 0.6771 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.2257, allocations: 85.05 kB / 0.6771 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.2257, allocations: 0 / 0.6771 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.2258, allocations: 4 kB / 0.6771 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/0.2259, allocations: 11.98 kB / 0.6771 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.2259, allocations: 0 / 0.6771 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.859e-05/0.226, allocations: 95.2 kB / 0.6772 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.226, allocations: 0 / 0.6772 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004093/0.2264, allocations: 19.94 kB / 0.6773 GB, free: 14.74 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: 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.0002639/0.2266, allocations: 111.2 kB / 0.6774 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003114/0.227, allocations: 47.89 kB / 0.6774 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.227, allocations: 0 / 0.6774 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.2271, allocations: 27.92 kB / 0.6774 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.2275, allocations: 15.92 kB / 0.6775 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004871/0.228, allocations: 134.4 kB / 0.6776 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/0.2285, allocations: 0.6768 MB / 0.6782 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.604e-05/0.2285, allocations: 4 kB / 0.6782 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.592e-05/0.2286, allocations: 11.44 kB / 0.6783 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of SimCode: time 6.51e-07/0.2286, allocations: 0 / 0.6783 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.005111/0.2337, allocations: 0.9925 MB / 0.6792 GB, free: 12.67 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 480]