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) 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/IBPSA 4.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 107.7 kB / 17.02 MB, free: 5.699 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.001526/0.001526, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.306/1.306, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7054/0.7054, allocations: 115.1 MB / 406.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.89 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3357, allocations: 76.15 MB / 0.5576 GB, free: 36.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.00234/0.338, allocations: 1.515 MB / 0.559 GB, free: 35.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004084/0.3385, allocations: 179.5 kB / 0.5592 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.3385, allocations: 1.562 kB / 0.5592 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.3385, allocations: 4.547 kB / 0.5592 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.866e-05/0.3386, allocations: 6.125 kB / 0.5592 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.3389, allocations: 50.45 kB / 0.5593 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.715e-05/0.339, allocations: 40.44 kB / 0.5593 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.855e-05/0.3391, allocations: 14 kB / 0.5593 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.563e-05/0.3392, allocations: 11.31 kB / 0.5593 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.045e-05/0.3392, allocations: 22.55 kB / 0.5594 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.3392, allocations: 5.562 kB / 0.5594 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.3393, allocations: 45.02 kB / 0.5594 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.3394, allocations: 10.55 kB / 0.5594 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.3394, allocations: 17.52 kB / 0.5594 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.3395, allocations: 70.03 kB / 0.5595 GB, free: 35.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3395, allocations: 0.5625 kB / 0.5595 GB, free: 35.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3395, allocations: 1.5 kB / 0.5595 GB, free: 35.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.3396, allocations: 1.219 kB / 0.5595 GB, free: 35.51 MB / 446.1 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.0003908/0.34, allocations: 351 kB / 0.5598 GB, free: 35.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.34, allocations: 14.16 kB / 0.5599 GB, free: 35.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.34, allocations: 4.25 kB / 0.5599 GB, free: 35.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.487e-05/0.3401, allocations: 181.2 kB / 0.56 GB, free: 34.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.3401, allocations: 1.75 kB / 0.56 GB, free: 34.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.3402, allocations: 3.062 kB / 0.56 GB, free: 34.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.3403, allocations: 63.52 kB / 0.5601 GB, free: 34.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3404, allocations: 4.125 kB / 0.5601 GB, free: 34.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3404, allocations: 3.938 kB / 0.5601 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3404, allocations: 2.625 kB / 0.5601 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.3406, allocations: 49 kB / 0.5601 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.3409, allocations: 277.6 kB / 0.5604 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.3412, allocations: 58.38 kB / 0.5605 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.195e-05/0.3413, allocations: 27.28 kB / 0.5605 GB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/0.3415, allocations: 169.2 kB / 0.5607 GB, free: 34.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.188e-05/0.3415, allocations: 31.12 kB / 0.5607 GB, free: 34.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.3415, allocations: 1.281 kB / 0.5607 GB, free: 34.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003528/0.3419, allocations: 101.4 kB / 0.5608 GB, free: 34.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.3419, allocations: 51.41 kB / 0.5608 GB, free: 34.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.164e-05/0.342, allocations: 108.7 kB / 0.5609 GB, free: 34.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.342, allocations: 26.27 kB / 0.561 GB, free: 34.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.362e-05/0.342, allocations: 91.59 kB / 0.561 GB, free: 33.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.342, allocations: 10.31 kB / 0.5611 GB, free: 33.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.3421, allocations: 18.69 kB / 0.5611 GB, free: 33.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.845e-05/0.3421, allocations: 319.5 kB / 0.5614 GB, free: 33.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.88e-05/0.3422, allocations: 20.59 kB / 0.5614 GB, free: 33.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-05/0.3423, allocations: 21.25 kB / 0.5614 GB, free: 33.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.3424, allocations: 51.77 kB / 0.5615 GB, free: 33.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3424, allocations: 0 / 0.5615 GB, free: 33.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001943/0.3426, allocations: 75.81 kB / 0.5615 GB, free: 33.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.3427, allocations: 5.438 kB / 0.5615 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.3427, allocations: 0.5938 kB / 0.5615 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.3427, allocations: 1.5 kB / 0.5616 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.002e-05/0.3428, allocations: 11.7 kB / 0.5616 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3428, allocations: 1.594 kB / 0.5616 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.713e-05/0.3428, allocations: 14.48 kB / 0.5616 GB, free: 33.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.3429, allocations: 1.562 kB / 0.5616 GB, free: 33.57 MB / 446.1 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.692e-05/0.3429, allocations: 116.4 kB / 0.5617 GB, free: 33.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.3429, allocations: 1.281 kB / 0.5617 GB, free: 33.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.3432, allocations: 88.25 kB / 0.5618 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3432, allocations: 4.859 kB / 0.5618 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3432, allocations: 0.875 kB / 0.5618 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3432, allocations: 1.469 kB / 0.5618 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.3434, allocations: 178.2 kB / 0.562 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3434, allocations: 0 / 0.562 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.746e-05/0.3434, allocations: 12.22 kB / 0.562 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3435, allocations: 2 kB / 0.562 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.3435, allocations: 0.5625 kB / 0.562 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3435, allocations: 1.344 kB / 0.562 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3435, allocations: 0.9688 kB / 0.562 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.3437, allocations: 179.5 kB / 0.5621 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.858e-05/0.3437, allocations: 79.64 kB / 0.5622 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.3437, allocations: 5.125 kB / 0.5622 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.664e-05/0.3438, allocations: 6.641 kB / 0.5622 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.3439, allocations: 9.516 kB / 0.5622 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.3439, allocations: 3.938 kB / 0.5622 GB, free: 32.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.73e-05/0.3439, allocations: 87.81 kB / 0.5623 GB, free: 32.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3439, allocations: 0 / 0.5623 GB, free: 32.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.3442, allocations: 19.17 kB / 0.5623 GB, free: 32.86 MB / 446.1 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.0001265/0.3443, allocations: 114.4 kB / 0.5625 GB, free: 32.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.3446, allocations: 43.05 kB / 0.5625 GB, free: 32.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3446, allocations: 1.594 kB / 0.5625 GB, free: 32.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.404e-05/0.3447, allocations: 29.27 kB / 0.5625 GB, free: 32.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.3449, allocations: 7.375 kB / 0.5625 GB, free: 32.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002362/0.3452, allocations: 125.4 kB / 0.5626 GB, free: 32.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.66e-05/0.3453, allocations: 0.684 MB / 0.5633 GB, free: 31.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.971e-05/0.3453, allocations: 5.062 kB / 0.5633 GB, free: 31.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.3453, allocations: 12.02 kB / 0.5633 GB, free: 31.93 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3453, allocations: 0 / 0.5633 GB, free: 31.93 MB / 446.1 MB Notification: Performance of Templates: time 0.003139/0.3485, allocations: 0.9719 MB / 0.5643 GB, free: 31.88 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.makefile (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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)