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.0019/0.0019, allocations: 92.17 kB / 20.21 MB, free: 4.207 MB / 18.57 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.001983/0.001983, allocations: 165.2 kB / 23.52 MB, free: 0.8984 MB / 18.57 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.555/1.555, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.032/1.032, allocations: 115 MB / 375.3 MB, free: 7.609 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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.563e-06/1.563e-06, allocations: 0 / 480.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.656e-05, allocations: 2.312 kB / 480.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.002242/0.002268, allocations: 1.555 MB / 482.3 MB, free: 10.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004206/0.002689, allocations: 183.1 kB / 482.5 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/0.002729, allocations: 1.062 kB / 482.5 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.454e-05/0.002764, allocations: 8.062 kB / 482.5 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.434e-05/0.002818, allocations: 1.125 kB / 482.5 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.003173, allocations: 57.64 kB / 482.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.863e-05/0.003252, allocations: 37.09 kB / 482.6 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.003352, allocations: 11.53 kB / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.773e-05/0.0034, allocations: 20.91 kB / 482.7 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.326e-05/0.003443, allocations: 16.72 kB / 482.7 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.003463, allocations: 4.438 kB / 482.7 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.003592, allocations: 52.88 kB / 482.7 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.003607, allocations: 11.45 kB / 482.7 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.003631, allocations: 9.688 kB / 482.7 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.003803, allocations: 77.05 kB / 482.8 MB, free: 10.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.003806, allocations: 0 / 482.8 MB, free: 10.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.003807, allocations: 0 / 482.8 MB, free: 10.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.003812, allocations: 0.7188 kB / 482.8 MB, free: 10.61 MB / 410.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.0004124/0.004224, allocations: 381.1 kB / 483.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.00426, allocations: 8.156 kB / 483.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.004307, allocations: 7.984 kB / 483.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.53e-05/0.004383, allocations: 118.2 kB / 483.3 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.004405, allocations: 3.219 kB / 483.3 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.00442, allocations: 14.73 kB / 483.3 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.004575, allocations: 61.27 kB / 483.4 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.004586, allocations: 0.6875 kB / 483.4 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.004598, allocations: 4.938 kB / 483.4 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.004604, allocations: 1.219 kB / 483.4 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.004744, allocations: 37.72 kB / 483.4 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.005081, allocations: 271.3 kB / 483.7 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.005351, allocations: 64.81 kB / 483.8 MB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.333e-05/0.005415, allocations: 25.16 kB / 483.8 MB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.005567, allocations: 10.3 kB / 483.8 MB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.005581, allocations: 40.58 kB / 483.8 MB, free: 9.637 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.127e-05/0.005593, allocations: 0.9375 kB / 483.9 MB, free: 9.637 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002873/0.00588, allocations: 81.69 kB / 483.9 MB, free: 9.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.005899, allocations: 52.19 kB / 484 MB, free: 9.527 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.036e-05/0.005959, allocations: 166.8 kB / 484.1 MB, free: 9.359 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.133e-06/0.005966, allocations: 27.05 kB / 484.2 MB, free: 9.328 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.006179, allocations: 140.1 kB / 484.3 MB, free: 25.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.006195, allocations: 5.266 kB / 484.3 MB, free: 25.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.006231, allocations: 25.53 kB / 484.3 MB, free: 25.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.006436, allocations: 0.4901 MB / 484.8 MB, free: 24.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.913e-05/0.006495, allocations: 8.469 kB / 484.8 MB, free: 24.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.188e-05/0.006557, allocations: 15.56 kB / 484.9 MB, free: 24.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.006665, allocations: 41.95 kB / 484.9 MB, free: 24.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.006666, allocations: 0 / 484.9 MB, free: 24.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001462/0.006812, allocations: 67.44 kB / 485 MB, free: 24.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.006828, allocations: 5.688 kB / 485 MB, free: 24.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006832, allocations: 1.531 kB / 485 MB, free: 24.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.006849, allocations: 5 kB / 485 MB, free: 24.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.006912, allocations: 8.906 kB / 485 MB, free: 24.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.006917, allocations: 3.219 kB / 485 MB, free: 24.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.827e-05/0.006956, allocations: 5.688 kB / 485 MB, free: 24.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.006963, allocations: 5.406 kB / 485 MB, free: 24.59 MB / 426.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 0.0001061/0.007069, allocations: 154.8 kB / 485.1 MB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.007096, allocations: 9.797 kB / 485.2 MB, free: 24.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.007293, allocations: 74.06 kB / 485.2 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.007296, allocations: 1.812 kB / 485.2 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.007299, allocations: 0 / 485.2 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.007305, allocations: 5.75 kB / 485.2 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.007416, allocations: 128.8 kB / 485.4 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.007417, allocations: 1.281 kB / 485.4 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.807e-05/0.007485, allocations: 13.84 kB / 485.4 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.007487, allocations: 0 / 485.4 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.007497, allocations: 5.875 kB / 485.4 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.007499, allocations: 0 / 485.4 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.007501, allocations: 5.047 kB / 485.4 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.007746, allocations: 211.8 kB / 485.6 MB, free: 24.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-06/0.007755, allocations: 6.391 kB / 485.6 MB, free: 24.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.00777, allocations: 5.031 kB / 485.6 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.52e-05/0.007835, allocations: 6.031 kB / 485.6 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.007897, allocations: 11.48 kB / 485.6 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.007903, allocations: 4.578 kB / 485.6 MB, free: 24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.203e-05/0.007985, allocations: 127.2 kB / 485.7 MB, free: 23.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007985, allocations: 1.375 kB / 485.7 MB, free: 23.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002426/0.008228, allocations: 14.44 kB / 485.8 MB, free: 23.88 MB / 426.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.0002051/0.008433, allocations: 123.7 kB / 485.9 MB, free: 23.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.008612, allocations: 39.89 kB / 485.9 MB, free: 23.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008613, allocations: 3.938 kB / 485.9 MB, free: 23.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.245e-05/0.008686, allocations: 31.89 kB / 486 MB, free: 23.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.00892, allocations: 4.156 kB / 486 MB, free: 23.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002736/0.009194, allocations: 133.2 kB / 486.1 MB, free: 23.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.399e-05/0.009238, allocations: 67.17 kB / 486.2 MB, free: 23.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.864e-05/0.009267, allocations: 3.469 kB / 486.2 MB, free: 23.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.009295, allocations: 11.34 kB / 486.2 MB, free: 23.53 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.009296, allocations: 2.312 kB / 486.2 MB, free: 23.53 MB / 426.7 MB Notification: Performance of Templates: time 0.00378/0.01308, allocations: 1.011 MB / 487.2 MB, free: 23.46 MB / 426.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: 5.58420705597382]