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.001136/0.001137, allocations: 109.1 kB / 17.03 MB, free: 5.656 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.001024/0.001024, allocations: 192.6 kB / 17.97 MB, free: 5.062 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.247/1.247, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6752/0.6752, allocations: 115.1 MB / 406.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 71.89 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3455, allocations: 76.14 MB / 0.5576 GB, free: 36.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.002521/0.3481, allocations: 1.523 MB / 0.559 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004091/0.3485, allocations: 177.2 kB / 0.5592 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.346e-05/0.3486, allocations: 2.062 kB / 0.5592 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.61e-05/0.3486, allocations: 4.875 kB / 0.5592 GB, free: 35.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.415e-05/0.3487, allocations: 9.25 kB / 0.5592 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.3489, allocations: 50.7 kB / 0.5593 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.552e-05/0.349, allocations: 38.25 kB / 0.5593 GB, free: 35.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.214e-05/0.3491, allocations: 21.52 kB / 0.5593 GB, free: 35.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.486e-05/0.3491, allocations: 10.8 kB / 0.5593 GB, free: 35.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.677e-05/0.3492, allocations: 16.75 kB / 0.5594 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.3492, allocations: 4.531 kB / 0.5594 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.3493, allocations: 49.62 kB / 0.5594 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.3493, allocations: 11.48 kB / 0.5594 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.3494, allocations: 21.52 kB / 0.5594 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.3495, allocations: 59.67 kB / 0.5595 GB, free: 35.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3495, allocations: 0 / 0.5595 GB, free: 35.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3495, allocations: 5.344 kB / 0.5595 GB, free: 35.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.3495, allocations: 1.406 kB / 0.5595 GB, free: 35.24 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.0004243/0.35, allocations: 356.2 kB / 0.5598 GB, free: 34.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.35, allocations: 8.812 kB / 0.5599 GB, free: 34.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.35, allocations: 4.969 kB / 0.5599 GB, free: 34.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.33e-05/0.3501, allocations: 173.4 kB / 0.56 GB, free: 34.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.3502, allocations: 2.844 kB / 0.56 GB, free: 34.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.3502, allocations: 2.469 kB / 0.56 GB, free: 34.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.3504, allocations: 64.8 kB / 0.5601 GB, free: 34.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3504, allocations: 192 / 0.5601 GB, free: 34.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3504, allocations: 5.062 kB / 0.5601 GB, free: 34.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3504, allocations: 7.25 kB / 0.5601 GB, free: 34.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.3506, allocations: 42.77 kB / 0.5601 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003128/0.3509, allocations: 281.3 kB / 0.5604 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.3512, allocations: 59.78 kB / 0.5605 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.833e-05/0.3513, allocations: 26.55 kB / 0.5605 GB, free: 34.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001742/0.3515, allocations: 165.8 kB / 0.5607 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.248e-05/0.3515, allocations: 33.14 kB / 0.5607 GB, free: 34.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3515, allocations: 0.875 kB / 0.5607 GB, free: 34.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003407/0.3519, allocations: 105.8 kB / 0.5608 GB, free: 34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.3519, allocations: 53.56 kB / 0.5608 GB, free: 33.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.244e-05/0.3519, allocations: 107.1 kB / 0.5609 GB, free: 33.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.352, allocations: 31.33 kB / 0.561 GB, free: 33.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.362e-05/0.352, allocations: 82.14 kB / 0.561 GB, free: 33.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.352, allocations: 11.67 kB / 0.5611 GB, free: 33.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.352, allocations: 19 kB / 0.5611 GB, free: 33.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.212e-05/0.3521, allocations: 321.7 kB / 0.5614 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-05/0.3522, allocations: 17.23 kB / 0.5614 GB, free: 33.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.235e-05/0.3523, allocations: 20.69 kB / 0.5614 GB, free: 33.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.3524, allocations: 50.98 kB / 0.5615 GB, free: 33.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3524, allocations: 5.562 kB / 0.5615 GB, free: 33.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000187/0.3526, allocations: 74.59 kB / 0.5615 GB, free: 33.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3526, allocations: 6.703 kB / 0.5616 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.3527, allocations: 0 / 0.5616 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.3527, allocations: 0.5625 kB / 0.5616 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.692e-05/0.3528, allocations: 13.53 kB / 0.5616 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3528, allocations: 1.469 kB / 0.5616 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.271e-05/0.3528, allocations: 12.8 kB / 0.5616 GB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.3528, allocations: 2.281 kB / 0.5616 GB, free: 33.3 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.728e-05/0.3529, allocations: 116.6 kB / 0.5617 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.3529, allocations: 5.094 kB / 0.5617 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.3531, allocations: 83.88 kB / 0.5618 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3532, allocations: 2.766 kB / 0.5618 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3532, allocations: 0 / 0.5618 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3532, allocations: 1.781 kB / 0.5618 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.3533, allocations: 170.7 kB / 0.5619 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3533, allocations: 1.656 kB / 0.5619 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.063e-05/0.3534, allocations: 10.67 kB / 0.562 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3534, allocations: 1.219 kB / 0.562 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.3534, allocations: 0.7969 kB / 0.562 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3534, allocations: 2.062 kB / 0.562 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3534, allocations: 0.625 kB / 0.562 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.3536, allocations: 184.7 kB / 0.5621 GB, free: 32.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/0.3537, allocations: 79 kB / 0.5622 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.3537, allocations: 5.094 kB / 0.5622 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.3538, allocations: 11.33 kB / 0.5622 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.3538, allocations: 5.781 kB / 0.5622 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.3538, allocations: 2.016 kB / 0.5622 GB, free: 32.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.82e-05/0.3538, allocations: 86.86 kB / 0.5623 GB, free: 32.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3539, allocations: 1.094 kB / 0.5623 GB, free: 32.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.3541, allocations: 23.91 kB / 0.5623 GB, free: 32.59 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.0001338/0.3542, allocations: 117.4 kB / 0.5625 GB, free: 32.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.3545, allocations: 42.5 kB / 0.5625 GB, free: 32.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3545, allocations: 0.5 kB / 0.5625 GB, free: 32.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.147e-05/0.3546, allocations: 31.09 kB / 0.5625 GB, free: 32.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.3548, allocations: 12.06 kB / 0.5625 GB, free: 32.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002376/0.3551, allocations: 121 kB / 0.5626 GB, free: 32.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.22e-05/0.3552, allocations: 0.6847 MB / 0.5633 GB, free: 31.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.798e-05/0.3552, allocations: 3.328 kB / 0.5633 GB, free: 31.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.3552, allocations: 21.89 kB / 0.5633 GB, free: 31.65 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3552, allocations: 0 / 0.5633 GB, free: 31.65 MB / 446.1 MB Notification: Performance of Templates: time 0.003071/0.3583, allocations: 0.9664 MB / 0.5643 GB, free: 31.6 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)