Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 186.6 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.531/0.531, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 349.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 107.2 kB / 420 MB, free: 8.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001068, allocations: 59.91 kB / 0.4891 GB, free: 7.664 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3649, allocations: 70.05 MB / 0.5575 GB, free: 44.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001628/0.3666, allocations: 0.6329 MB / 0.5581 GB, free: 44.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003716/0.367, allocations: 109.8 kB / 0.5582 GB, free: 44.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.315e-05/0.367, allocations: 4.062 kB / 0.5582 GB, free: 44.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.911e-05/0.367, allocations: 0 / 0.5582 GB, free: 44.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.561e-06/0.3671, allocations: 0 / 0.5582 GB, free: 44.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.3673, allocations: 23.72 kB / 0.5583 GB, free: 44.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.3675, allocations: 59.56 kB / 0.5583 GB, free: 44.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.3675, allocations: 6.047 kB / 0.5583 GB, free: 44.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.304e-05/0.3675, allocations: 29.28 kB / 0.5583 GB, free: 44.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.735e-05/0.3676, allocations: 23.38 kB / 0.5584 GB, free: 44.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.3676, allocations: 6.25 kB / 0.5584 GB, free: 44.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.3677, allocations: 47.95 kB / 0.5584 GB, free: 44.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.637e-05/0.3678, allocations: 23.91 kB / 0.5584 GB, free: 44.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.3678, allocations: 19.92 kB / 0.5585 GB, free: 44.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.3679, allocations: 71.83 kB / 0.5585 GB, free: 44.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3679, allocations: 0 / 0.5585 GB, free: 44.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.3679, allocations: 3.938 kB / 0.5585 GB, free: 44.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.996e-06/0.3679, allocations: 4 kB / 0.5585 GB, free: 44.13 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004147/0.3684, allocations: 375.5 kB / 0.5589 GB, free: 43.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.3684, allocations: 8.031 kB / 0.5589 GB, free: 43.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.3684, allocations: 12.94 kB / 0.5589 GB, free: 43.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.778e-05/0.3685, allocations: 162.5 kB / 0.5591 GB, free: 43.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.3687, allocations: 277.6 kB / 0.5593 GB, free: 43.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.3687, allocations: 8.375 kB / 0.5593 GB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.3689, allocations: 74.2 kB / 0.5594 GB, free: 43.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.369, allocations: 7.938 kB / 0.5594 GB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.369, allocations: 7.938 kB / 0.5594 GB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.369, allocations: 4 kB / 0.5594 GB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.3693, allocations: 131.8 kB / 0.5596 GB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001282/0.3694, allocations: 185.4 kB / 0.5597 GB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.3697, allocations: 94.47 kB / 0.5598 GB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.3698, allocations: 47.42 kB / 0.5599 GB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.3698, allocations: 4 kB / 0.5599 GB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.3699, allocations: 30.56 kB / 0.5599 GB, free: 42.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.3699, allocations: 3.938 kB / 0.5599 GB, free: 42.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.000467/0.3703, allocations: 149.9 kB / 0.56 GB, free: 42.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.3704, allocations: 51.41 kB / 0.5601 GB, free: 42.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.304e-05/0.3704, allocations: 93.8 kB / 0.5602 GB, free: 42.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.3704, allocations: 29.7 kB / 0.5602 GB, free: 42.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.081e-05/0.3704, allocations: 84.14 kB / 0.5603 GB, free: 42.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.3705, allocations: 39.44 kB / 0.5603 GB, free: 42.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.3705, allocations: 29.7 kB / 0.5604 GB, free: 42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.657e-05/0.3706, allocations: 314.8 kB / 0.5607 GB, free: 41.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.3707, allocations: 35.97 kB / 0.5607 GB, free: 41.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.3708, allocations: 27.98 kB / 0.5607 GB, free: 41.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.371, allocations: 76.75 kB / 0.5608 GB, free: 41.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.371, allocations: 0 / 0.5608 GB, free: 41.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002881/0.3713, allocations: 118.2 kB / 0.5609 GB, free: 41.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.3714, allocations: 7.938 kB / 0.5609 GB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3714, allocations: 3.984 kB / 0.5609 GB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3714, allocations: 4 kB / 0.5609 GB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.3715, allocations: 19.98 kB / 0.5609 GB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3715, allocations: 0 / 0.5609 GB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.478e-05/0.3716, allocations: 7.906 kB / 0.5609 GB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.3716, allocations: 11.98 kB / 0.561 GB, free: 41.36 MB / 410.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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.466e-05/0.3717, allocations: 117.8 kB / 0.5611 GB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.3717, allocations: 7.938 kB / 0.5611 GB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.3717, allocations: 15.95 kB / 0.5611 GB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3717, allocations: 3.984 kB / 0.5611 GB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3718, allocations: 0 / 0.5611 GB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3718, allocations: 0 / 0.5611 GB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.902e-05/0.3718, allocations: 177.6 kB / 0.5613 GB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3718, allocations: 0 / 0.5613 GB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.372, allocations: 23.97 kB / 0.5613 GB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.372, allocations: 3.938 kB / 0.5613 GB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.372, allocations: 8 kB / 0.5613 GB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.372, allocations: 4 kB / 0.5613 GB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.372, allocations: 4 kB / 0.5613 GB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005111/0.3725, allocations: 0.7293 MB / 0.562 GB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.3725, allocations: 81.09 kB / 0.5621 GB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.3726, allocations: 4 kB / 0.5621 GB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.502e-05/0.3726, allocations: 7.938 kB / 0.5621 GB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.3727, allocations: 19.92 kB / 0.5621 GB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.3727, allocations: 7.984 kB / 0.5621 GB, free: 40.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.15e-05/0.3727, allocations: 75.28 kB / 0.5622 GB, free: 39.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3727, allocations: 0 / 0.5622 GB, free: 39.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003034/0.373, allocations: 24 kB / 0.5622 GB, free: 39.92 MB / 410.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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001534/0.3732, allocations: 115.2 kB / 0.5623 GB, free: 39.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002977/0.3735, allocations: 95.75 kB / 0.5624 GB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3735, allocations: 4 kB / 0.5624 GB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.3736, allocations: 47.97 kB / 0.5625 GB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.3738, allocations: 0 / 0.5625 GB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.3742, allocations: 309.4 kB / 0.5628 GB, free: 39.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.3744, allocations: 0.6913 MB / 0.5635 GB, free: 38.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001776/0.3745, allocations: 39.95 kB / 0.5635 GB, free: 38.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.3746, allocations: 23.36 kB / 0.5635 GB, free: 38.54 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3746, allocations: 0 / 0.5635 GB, free: 38.54 MB / 410.7 MB Notification: Performance of Templates: time 0.002609/0.3772, allocations: 0.9814 MB / 0.5645 GB, free: 37.55 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)