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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009754/0.0009754, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001275/0.00225, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001629/0.00271, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.001/1.001, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09389/1.095, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6154/0.6154, allocations: 120.1 MB / 364.2 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07681/0.6922, allocations: 38.15 MB / 402.4 MB, free: 12.27 MB / 394.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 403.7 MB, free: 10.94 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.285e-05, allocations: 6.25 kB / 403.7 MB, free: 10.93 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.003051/0.003074, allocations: 1.652 MB / 405.4 MB, free: 9.266 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002713/0.003345, allocations: 187.3 kB / 405.6 MB, free: 9.082 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.72e-05/0.003372, allocations: 0 / 405.6 MB, free: 9.082 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.07e-05/0.003393, allocations: 0 / 405.6 MB, free: 9.082 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.337e-05/0.003416, allocations: 7.922 kB / 405.6 MB, free: 9.074 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.003624, allocations: 51.75 kB / 405.6 MB, free: 9.023 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 6.61e-05/0.00369, allocations: 35.92 kB / 405.7 MB, free: 8.988 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.811e-05/0.003758, allocations: 11.98 kB / 405.7 MB, free: 8.977 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.225e-05/0.00381, allocations: 31.91 kB / 405.7 MB, free: 8.945 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.644e-05/0.003847, allocations: 11.98 kB / 405.7 MB, free: 8.934 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.003858, allocations: 0 / 405.7 MB, free: 8.934 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.00399, allocations: 63.94 kB / 405.8 MB, free: 8.871 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.004006, allocations: 4 kB / 405.8 MB, free: 8.867 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.458e-05/0.00402, allocations: 11.94 kB / 405.8 MB, free: 8.855 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.004141, allocations: 55.75 kB / 405.8 MB, free: 8.801 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.004151, allocations: 0 / 405.8 MB, free: 8.801 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.004152, allocations: 0 / 405.8 MB, free: 8.801 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.004161, allocations: 4 kB / 405.8 MB, free: 8.797 MB / 394.7 MB 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.0002986/0.004459, allocations: 256.5 kB / 406.1 MB, free: 8.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.004488, allocations: 12.03 kB / 406.1 MB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.004514, allocations: 8.922 kB / 406.1 MB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.825e-05/0.004582, allocations: 113.8 kB / 406.2 MB, free: 8.363 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.004603, allocations: 4.375 kB / 406.2 MB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.004614, allocations: 384 / 406.2 MB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.348e-05/0.004708, allocations: 62.94 kB / 406.3 MB, free: 8.289 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.004714, allocations: 4.125 kB / 406.3 MB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.00472, allocations: 384 / 406.3 MB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.004724, allocations: 4.375 kB / 406.3 MB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.423e-05/0.004748, allocations: 11.92 kB / 406.3 MB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.004972, allocations: 172.2 kB / 406.5 MB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.005098, allocations: 34.56 kB / 406.5 MB, free: 8.043 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/0.005114, allocations: 16.8 kB / 406.5 MB, free: 8.023 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.005229, allocations: 19.97 kB / 406.6 MB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.005245, allocations: 34.5 kB / 406.6 MB, free: 7.961 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.005246, allocations: 0 / 406.6 MB, free: 7.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 9.47e-05/0.00534, allocations: 49.81 kB / 406.6 MB, free: 7.906 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.005362, allocations: 51.41 kB / 406.7 MB, free: 7.844 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.762e-05/0.005409, allocations: 110.8 kB / 406.8 MB, free: 7.723 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.005417, allocations: 25.7 kB / 406.8 MB, free: 7.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.005445, allocations: 84.09 kB / 406.9 MB, free: 7.605 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.005459, allocations: 11.95 kB / 406.9 MB, free: 7.594 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.005484, allocations: 29.62 kB / 406.9 MB, free: 7.559 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.005561, allocations: 310.8 kB / 407.2 MB, free: 7.246 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.857e-06/0.00557, allocations: 4 kB / 407.2 MB, free: 7.242 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.587e-06/0.005579, allocations: 3.984 kB / 407.3 MB, free: 7.238 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.496e-05/0.005604, allocations: 16.84 kB / 407.3 MB, free: 7.219 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.005606, allocations: 0 / 407.3 MB, free: 7.219 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.213e-05/0.005648, allocations: 41.69 kB / 407.3 MB, free: 7.172 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.005658, allocations: 4 kB / 407.3 MB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.005662, allocations: 3.938 kB / 407.3 MB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.205e-06/0.005671, allocations: 4 kB / 407.3 MB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.173e-05/0.005712, allocations: 15.92 kB / 407.3 MB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.005714, allocations: 0 / 407.3 MB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/0.005731, allocations: 4 kB / 407.3 MB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-06/0.005734, allocations: 0 / 407.3 MB, free: 7.141 MB / 394.7 MB 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 4.954e-05/0.005784, allocations: 121.8 kB / 407.5 MB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.005795, allocations: 0 / 407.5 MB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.427e-05/0.00586, allocations: 49.56 kB / 407.5 MB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.005861, allocations: 0 / 407.5 MB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.005863, allocations: 8 kB / 407.5 MB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.005866, allocations: 3.984 kB / 407.5 MB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.647e-05/0.005942, allocations: 65.91 kB / 407.6 MB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.005944, allocations: 4 kB / 407.6 MB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.671e-05/0.005971, allocations: 11.92 kB / 407.6 MB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-06/0.005975, allocations: 4 kB / 407.6 MB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.005977, allocations: 0 / 407.6 MB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-06/0.005981, allocations: 3.938 kB / 407.6 MB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.005983, allocations: 3.938 kB / 407.6 MB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.005983, allocations: 0 / 407.6 MB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.5e-05/0.006048, allocations: 135.5 kB / 407.7 MB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.033e-06/0.006055, allocations: 4 kB / 407.7 MB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.013e-05/0.006086, allocations: 4 kB / 407.8 MB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.00612, allocations: 15.92 kB / 407.8 MB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.006122, allocations: 0 / 407.8 MB, free: 6.664 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.148e-05/0.006134, allocations: 12.84 kB / 407.8 MB, free: 6.648 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006134, allocations: 0 / 407.8 MB, free: 6.648 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001346/0.006268, allocations: 19.89 kB / 407.8 MB, free: 6.629 MB / 394.7 MB 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.0001115/0.00638, allocations: 100.4 kB / 407.9 MB, free: 6.523 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.51e-05/0.006435, allocations: 17.03 kB / 407.9 MB, free: 6.504 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.006441, allocations: 11.98 kB / 407.9 MB, free: 6.492 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.575e-05/0.006466, allocations: 16.92 kB / 407.9 MB, free: 6.473 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.006594, allocations: 41.69 kB / 408 MB, free: 6.426 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.006897, allocations: 124.5 kB / 408.1 MB, free: 6.277 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.043e-05/0.006928, allocations: 59.34 kB / 408.2 MB, free: 6.199 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.906e-05/0.006947, allocations: 4 kB / 408.2 MB, free: 6.195 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.006989, allocations: 55.38 kB / 408.2 MB, free: 6.141 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.00699, allocations: 0 / 408.2 MB, free: 6.141 MB / 394.7 MB Notification: Performance of Templates: time 0.00225/0.00924, allocations: 1.114 MB / 409.3 MB, free: 5.023 MB / 394.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2375174025073647]