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.001173/0.001173, allocations: 107.6 kB / 16.52 MB, free: 6.703 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.001229/0.001229, allocations: 199.1 kB / 17.44 MB, free: 6.066 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.321/1.321, allocations: 222.9 MB / 241.1 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6989/0.6989, allocations: 115.3 MB / 406.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001359, allocations: 59.91 kB / 493.5 MB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3385, allocations: 76.18 MB / 0.5564 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.00245/0.341, allocations: 1.583 MB / 0.5579 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004331/0.3414, allocations: 188 kB / 0.5581 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.3415, allocations: 1.406 kB / 0.5581 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.3415, allocations: 2.547 kB / 0.5581 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.993e-05/0.3415, allocations: 5.344 kB / 0.5581 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.3418, allocations: 41.91 kB / 0.5581 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.72e-05/0.3419, allocations: 35.92 kB / 0.5582 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.105e-05/0.342, allocations: 14.23 kB / 0.5582 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.587e-05/0.342, allocations: 6.828 kB / 0.5582 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.002e-05/0.342, allocations: 22.28 kB / 0.5582 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.3421, allocations: 3.094 kB / 0.5582 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.3422, allocations: 45.98 kB / 0.5583 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.3422, allocations: 11.25 kB / 0.5583 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.3422, allocations: 14.27 kB / 0.5583 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.539e-05/0.3423, allocations: 36.62 kB / 0.5583 GB, free: 35.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3423, allocations: 4 kB / 0.5583 GB, free: 35.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3423, allocations: 0 / 0.5583 GB, free: 35.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.3423, allocations: 4.656 kB / 0.5583 GB, free: 35.03 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.0004089/0.3428, allocations: 356 kB / 0.5587 GB, free: 34.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.3428, allocations: 13.84 kB / 0.5587 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.3428, allocations: 4.547 kB / 0.5587 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.324e-05/0.3429, allocations: 172 kB / 0.5589 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.343, allocations: 2.891 kB / 0.5589 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.343, allocations: 6.062 kB / 0.5589 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.3432, allocations: 64.23 kB / 0.5589 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3432, allocations: 192 / 0.5589 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3432, allocations: 4.906 kB / 0.5589 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3432, allocations: 3.641 kB / 0.5589 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.3434, allocations: 54.42 kB / 0.559 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.3438, allocations: 274 kB / 0.5592 GB, free: 34.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.3441, allocations: 57.73 kB / 0.5593 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.268e-05/0.3442, allocations: 31.67 kB / 0.5593 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/0.3444, allocations: 166 kB / 0.5595 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.314e-05/0.3444, allocations: 36.88 kB / 0.5595 GB, free: 33.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3444, allocations: 2.656 kB / 0.5595 GB, free: 33.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003595/0.3448, allocations: 97.22 kB / 0.5596 GB, free: 33.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.825e-05/0.3448, allocations: 53.75 kB / 0.5597 GB, free: 33.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.118e-05/0.3448, allocations: 107 kB / 0.5598 GB, free: 33.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.3449, allocations: 27.2 kB / 0.5598 GB, free: 33.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.3449, allocations: 89 kB / 0.5599 GB, free: 33.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.3449, allocations: 5.438 kB / 0.5599 GB, free: 33.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.345, allocations: 18.62 kB / 0.5599 GB, free: 33.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.748e-05/0.345, allocations: 320.8 kB / 0.5602 GB, free: 33.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.284e-05/0.3451, allocations: 21.59 kB / 0.5602 GB, free: 33.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.58e-05/0.3452, allocations: 25.48 kB / 0.5603 GB, free: 33.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.3454, allocations: 44.95 kB / 0.5603 GB, free: 33.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3454, allocations: 3.938 kB / 0.5603 GB, free: 33.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001966/0.3456, allocations: 75.36 kB / 0.5604 GB, free: 33.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3456, allocations: 6.094 kB / 0.5604 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3456, allocations: 0.5938 kB / 0.5604 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3456, allocations: 0 / 0.5604 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.981e-05/0.3457, allocations: 12.61 kB / 0.5604 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3457, allocations: 0 / 0.5604 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.951e-05/0.3458, allocations: 15.45 kB / 0.5604 GB, free: 33.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.3458, allocations: 2.781 kB / 0.5604 GB, free: 33.09 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 5.453e-05/0.3459, allocations: 120.8 kB / 0.5605 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.3459, allocations: 3.125 kB / 0.5605 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.3462, allocations: 84.66 kB / 0.5606 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3462, allocations: 3.688 kB / 0.5606 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3462, allocations: 0 / 0.5606 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3462, allocations: 0.7969 kB / 0.5606 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.3463, allocations: 166.7 kB / 0.5608 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3463, allocations: 0 / 0.5608 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.515e-05/0.3464, allocations: 12.28 kB / 0.5608 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3464, allocations: 0 / 0.5608 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.3464, allocations: 2.484 kB / 0.5608 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3464, allocations: 0 / 0.5608 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3464, allocations: 2.734 kB / 0.5608 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.3467, allocations: 184.1 kB / 0.561 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.3467, allocations: 79.7 kB / 0.561 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.3467, allocations: 1.938 kB / 0.561 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.407e-05/0.3468, allocations: 6.734 kB / 0.5611 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.3469, allocations: 10.05 kB / 0.5611 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.3469, allocations: 5.844 kB / 0.5611 GB, free: 32.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.872e-05/0.3469, allocations: 84.77 kB / 0.5611 GB, free: 32.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3469, allocations: 0 / 0.5611 GB, free: 32.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.3472, allocations: 23.06 kB / 0.5612 GB, free: 32.38 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.000149/0.3473, allocations: 117.5 kB / 0.5613 GB, free: 32.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.3476, allocations: 53 kB / 0.5613 GB, free: 32.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3476, allocations: 1.156 kB / 0.5613 GB, free: 32.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.263e-05/0.3477, allocations: 25 kB / 0.5614 GB, free: 32.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.3479, allocations: 7.938 kB / 0.5614 GB, free: 32.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.3482, allocations: 153.3 kB / 0.5615 GB, free: 32.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.769e-05/0.3483, allocations: 0.6796 MB / 0.5622 GB, free: 31.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.3484, allocations: 12.02 kB / 0.5622 GB, free: 31.41 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3484, allocations: 0.5625 kB / 0.5622 GB, free: 31.41 MB / 446.1 MB Notification: Performance of Templates: time 0.002545/0.3509, allocations: 0.9742 MB / 0.5631 GB, free: 31.39 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)