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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 107 kB / 17.03 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.001261/0.001261, allocations: 194.9 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.381/1.381, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7357/0.7357, allocations: 115.1 MB / 406.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 67.89 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3147, allocations: 76.15 MB / 0.5576 GB, free: 36.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001591/0.3163, allocations: 0.5692 MB / 0.5581 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003228/0.3167, allocations: 105.9 kB / 0.5582 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.844e-05/0.3167, allocations: 1.156 kB / 0.5582 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.36e-05/0.3167, allocations: 0 / 0.5582 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.478e-06/0.3167, allocations: 0.8438 kB / 0.5582 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.317, allocations: 38.64 kB / 0.5583 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.3172, allocations: 64.48 kB / 0.5583 GB, free: 36.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.3172, allocations: 5.5 kB / 0.5583 GB, free: 36.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.369e-05/0.3173, allocations: 24.27 kB / 0.5584 GB, free: 36.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.946e-05/0.3173, allocations: 24.62 kB / 0.5584 GB, free: 36.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.3173, allocations: 3.281 kB / 0.5584 GB, free: 36.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.3174, allocations: 50.88 kB / 0.5584 GB, free: 36.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.558e-05/0.3175, allocations: 26.97 kB / 0.5585 GB, free: 36.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.3175, allocations: 19.86 kB / 0.5585 GB, free: 36.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.3176, allocations: 66.19 kB / 0.5585 GB, free: 36.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3177, allocations: 5.531 kB / 0.5585 GB, free: 36.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3177, allocations: 1.062 kB / 0.5585 GB, free: 36.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.3177, allocations: 0 / 0.5585 GB, free: 36.11 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004127/0.3181, allocations: 367 kB / 0.5589 GB, free: 35.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.3181, allocations: 11.12 kB / 0.5589 GB, free: 35.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.3182, allocations: 9.094 kB / 0.5589 GB, free: 35.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.421e-05/0.3182, allocations: 169.9 kB / 0.5591 GB, free: 35.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.3184, allocations: 276.7 kB / 0.5593 GB, free: 35.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.3184, allocations: 9 kB / 0.5594 GB, free: 35.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.3187, allocations: 80.66 kB / 0.5594 GB, free: 35.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3187, allocations: 7.875 kB / 0.5594 GB, free: 35.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3187, allocations: 4.781 kB / 0.5594 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3187, allocations: 1.531 kB / 0.5594 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003341/0.319, allocations: 130.2 kB / 0.5596 GB, free: 35.15 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.3192, allocations: 184 kB / 0.5597 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.3195, allocations: 97.58 kB / 0.5598 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.3196, allocations: 50.22 kB / 0.5599 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3196, allocations: 4.75 kB / 0.5599 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.3196, allocations: 35.81 kB / 0.5599 GB, free: 34.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.3197, allocations: 0 / 0.5599 GB, free: 34.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004811/0.3201, allocations: 152 kB / 0.5601 GB, free: 34.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.3202, allocations: 53.25 kB / 0.5601 GB, free: 34.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.955e-05/0.3202, allocations: 89.86 kB / 0.5602 GB, free: 34.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.3202, allocations: 26.7 kB / 0.5602 GB, free: 34.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.061e-05/0.3202, allocations: 81.45 kB / 0.5603 GB, free: 34.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.3203, allocations: 36.5 kB / 0.5603 GB, free: 34.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.3203, allocations: 29.67 kB / 0.5604 GB, free: 34.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.247e-05/0.3204, allocations: 315 kB / 0.5607 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.3205, allocations: 35.05 kB / 0.5607 GB, free: 34.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.3206, allocations: 29.81 kB / 0.5607 GB, free: 34.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.3209, allocations: 82.61 kB / 0.5608 GB, free: 34.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3209, allocations: 0.9688 kB / 0.5608 GB, free: 34.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002984/0.3212, allocations: 114.3 kB / 0.5609 GB, free: 34.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3212, allocations: 10.38 kB / 0.5609 GB, free: 34.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3212, allocations: 0.5625 kB / 0.5609 GB, free: 34.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3212, allocations: 1.469 kB / 0.5609 GB, free: 34.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.3214, allocations: 24.64 kB / 0.561 GB, free: 34.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3214, allocations: 0 / 0.561 GB, free: 34.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.533e-05/0.3215, allocations: 5.406 kB / 0.561 GB, free: 34.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.3215, allocations: 12.98 kB / 0.561 GB, free: 34.04 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: 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.714e-05/0.3216, allocations: 117.6 kB / 0.5611 GB, free: 33.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.3216, allocations: 10.88 kB / 0.5611 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.3216, allocations: 10 kB / 0.5611 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3216, allocations: 1.906 kB / 0.5611 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3216, allocations: 2.062 kB / 0.5611 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3216, allocations: 0.6562 kB / 0.5611 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.3218, allocations: 184.1 kB / 0.5613 GB, free: 33.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3218, allocations: 0.6562 kB / 0.5613 GB, free: 33.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.3219, allocations: 24.48 kB / 0.5613 GB, free: 33.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3219, allocations: 5.344 kB / 0.5613 GB, free: 33.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.3219, allocations: 10.56 kB / 0.5613 GB, free: 33.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3219, allocations: 0 / 0.5613 GB, free: 33.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3219, allocations: 2.25 kB / 0.5613 GB, free: 33.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.3222, allocations: 144.5 kB / 0.5615 GB, free: 33.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.3223, allocations: 84.66 kB / 0.5615 GB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.3223, allocations: 7.938 kB / 0.5616 GB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.4e-05/0.3223, allocations: 6.188 kB / 0.5616 GB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.3224, allocations: 22.17 kB / 0.5616 GB, free: 33.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.3224, allocations: 5.328 kB / 0.5616 GB, free: 33.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.107e-05/0.3224, allocations: 76.31 kB / 0.5617 GB, free: 33.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3224, allocations: 0 / 0.5617 GB, free: 33.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.3227, allocations: 22.62 kB / 0.5617 GB, free: 33.41 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: 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.0001696/0.3228, allocations: 115.7 kB / 0.5618 GB, free: 33.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000329/0.3232, allocations: 91.45 kB / 0.5619 GB, free: 33.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3232, allocations: 1.188 kB / 0.5619 GB, free: 33.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.3233, allocations: 51.44 kB / 0.5619 GB, free: 33.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.3235, allocations: 7.188 kB / 0.5619 GB, free: 33.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.3238, allocations: 153 kB / 0.5621 GB, free: 33.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.324, allocations: 0.6851 MB / 0.5627 GB, free: 32.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.3241, allocations: 44.98 kB / 0.5628 GB, free: 32.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.3242, allocations: 21.81 kB / 0.5628 GB, free: 32.46 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3242, allocations: 0 / 0.5628 GB, free: 32.46 MB / 446.1 MB Notification: Performance of Templates: time 0.003522/0.3277, allocations: 1.015 MB / 0.5638 GB, free: 32.39 MB / 446.1 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)