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.001301/0.001301, allocations: 109.3 kB / 16.64 MB, free: 6.812 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.001347/0.001347, allocations: 194 kB / 17.57 MB, free: 5.914 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.35/1.35, allocations: 222.9 MB / 241.2 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7691/0.7691, allocations: 122.8 MB / 414.2 MB, free: 76 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001353, allocations: 71.89 kB / 0.4912 GB, free: 7.832 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.33, allocations: 77.92 MB / 0.5673 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.002601/0.3327, allocations: 1.582 MB / 0.5689 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004141/0.3331, allocations: 184.8 kB / 0.569 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.505e-05/0.3331, allocations: 0.5938 kB / 0.569 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.505e-05/0.3332, allocations: 2.422 kB / 0.569 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.051e-05/0.3332, allocations: 4.594 kB / 0.5691 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.3335, allocations: 45.89 kB / 0.5691 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.698e-05/0.3336, allocations: 34.28 kB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.009e-05/0.3337, allocations: 13.61 kB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.853e-05/0.3338, allocations: 13.34 kB / 0.5692 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.4e-05/0.3338, allocations: 25.95 kB / 0.5692 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.3338, allocations: 7.094 kB / 0.5692 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.3339, allocations: 41.95 kB / 0.5692 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.334, allocations: 6.891 kB / 0.5692 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.334, allocations: 21.09 kB / 0.5693 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.3341, allocations: 36.17 kB / 0.5693 GB, free: 31.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3341, allocations: 0.625 kB / 0.5693 GB, free: 31.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3341, allocations: 5.125 kB / 0.5693 GB, free: 31.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.3341, allocations: 1.438 kB / 0.5693 GB, free: 31.42 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.0003992/0.3345, allocations: 355.1 kB / 0.5696 GB, free: 31.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3346, allocations: 10.45 kB / 0.5696 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.3346, allocations: 11.69 kB / 0.5697 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.132e-05/0.3347, allocations: 176.7 kB / 0.5698 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.3347, allocations: 2.969 kB / 0.5698 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.3348, allocations: 6 kB / 0.5698 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.335, allocations: 63.55 kB / 0.5699 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.335, allocations: 2.438 kB / 0.5699 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.335, allocations: 3.938 kB / 0.5699 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.335, allocations: 1.094 kB / 0.5699 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.3352, allocations: 46.47 kB / 0.5699 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.3355, allocations: 281.1 kB / 0.5702 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.3359, allocations: 58.58 kB / 0.5703 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.422e-05/0.336, allocations: 26.56 kB / 0.5703 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.3362, allocations: 167 kB / 0.5705 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.3362, allocations: 32.19 kB / 0.5705 GB, free: 30.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.3362, allocations: 4.719 kB / 0.5705 GB, free: 30.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003545/0.3365, allocations: 96.2 kB / 0.5706 GB, free: 30.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.3366, allocations: 51.41 kB / 0.5706 GB, free: 30.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.677e-05/0.3366, allocations: 107.4 kB / 0.5707 GB, free: 30.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.3367, allocations: 27.73 kB / 0.5708 GB, free: 29.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.542e-05/0.3367, allocations: 90.67 kB / 0.5708 GB, free: 29.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.3367, allocations: 6.453 kB / 0.5708 GB, free: 29.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.3367, allocations: 25.62 kB / 0.5709 GB, free: 29.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.449e-05/0.3368, allocations: 317.9 kB / 0.5712 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.757e-05/0.3369, allocations: 19.12 kB / 0.5712 GB, free: 29.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.931e-05/0.337, allocations: 21.19 kB / 0.5712 GB, free: 29.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.3371, allocations: 48.17 kB / 0.5713 GB, free: 29.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3371, allocations: 1.125 kB / 0.5713 GB, free: 29.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002046/0.3373, allocations: 78.91 kB / 0.5713 GB, free: 29.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.3374, allocations: 4.344 kB / 0.5713 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3374, allocations: 2.047 kB / 0.5713 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.3374, allocations: 0 / 0.5713 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.986e-05/0.3375, allocations: 12.59 kB / 0.5714 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3375, allocations: 0.7188 kB / 0.5714 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.842e-05/0.3376, allocations: 10.84 kB / 0.5714 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.3376, allocations: 1.688 kB / 0.5714 GB, free: 29.48 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.983e-05/0.3376, allocations: 118.2 kB / 0.5715 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.3377, allocations: 1.953 kB / 0.5715 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.3379, allocations: 90.44 kB / 0.5716 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3379, allocations: 1.062 kB / 0.5716 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3379, allocations: 1.469 kB / 0.5716 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3379, allocations: 1.062 kB / 0.5716 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.3381, allocations: 178.3 kB / 0.5717 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3381, allocations: 0 / 0.5717 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-05/0.3381, allocations: 11.23 kB / 0.5718 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3382, allocations: 2.109 kB / 0.5718 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.3382, allocations: 5.156 kB / 0.5718 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3382, allocations: 1.984 kB / 0.5718 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3382, allocations: 320 / 0.5718 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.3384, allocations: 180.1 kB / 0.5719 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.3384, allocations: 78.95 kB / 0.572 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.3385, allocations: 1.906 kB / 0.572 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.651e-05/0.3385, allocations: 8.375 kB / 0.572 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.3386, allocations: 7.438 kB / 0.572 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.3386, allocations: 2.609 kB / 0.572 GB, free: 28.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.753e-05/0.3386, allocations: 88.86 kB / 0.5721 GB, free: 28.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3386, allocations: 0 / 0.5721 GB, free: 28.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.3389, allocations: 23.31 kB / 0.5721 GB, free: 28.76 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.0001516/0.3391, allocations: 114.9 kB / 0.5722 GB, free: 28.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.3393, allocations: 50.12 kB / 0.5723 GB, free: 28.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3393, allocations: 1.531 kB / 0.5723 GB, free: 28.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.731e-05/0.3394, allocations: 25 kB / 0.5723 GB, free: 28.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.3397, allocations: 11.42 kB / 0.5723 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/0.34, allocations: 156.1 kB / 0.5725 GB, free: 28.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.3401, allocations: 0.6803 MB / 0.5731 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.3401, allocations: 10.89 kB / 0.5732 GB, free: 27.79 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3401, allocations: 2.062 kB / 0.5732 GB, free: 27.79 MB / 446.1 MB Notification: Performance of Templates: time 0.002528/0.3427, allocations: 0.9748 MB / 0.5741 GB, free: 27.76 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)