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.001088/0.001088, allocations: 109.2 kB / 17.03 MB, free: 5.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.001024/0.001024, allocations: 196.1 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.251/1.251, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6897/0.6897, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.89 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3217, allocations: 76.14 MB / 0.5576 GB, free: 36.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001777/0.3235, allocations: 0.5733 MB / 0.5581 GB, free: 36.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000368/0.3239, allocations: 99.12 kB / 0.5582 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.007e-05/0.3239, allocations: 1.312 kB / 0.5582 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.3239, allocations: 1.922 kB / 0.5582 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.643e-06/0.3239, allocations: 7.875 kB / 0.5582 GB, free: 36.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.3243, allocations: 42.84 kB / 0.5583 GB, free: 36.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.3244, allocations: 60.3 kB / 0.5583 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.159e-05/0.3245, allocations: 1.844 kB / 0.5583 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.267e-05/0.3245, allocations: 26.39 kB / 0.5584 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.394e-05/0.3246, allocations: 21.39 kB / 0.5584 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.3246, allocations: 2.375 kB / 0.5584 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.3247, allocations: 52.83 kB / 0.5584 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.211e-05/0.3248, allocations: 25.23 kB / 0.5585 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.3248, allocations: 19.16 kB / 0.5585 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.325, allocations: 72.41 kB / 0.5585 GB, free: 36.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.325, allocations: 0 / 0.5585 GB, free: 36.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.325, allocations: 0 / 0.5585 GB, free: 36.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.325, allocations: 0.625 kB / 0.5585 GB, free: 36.23 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.0004461/0.3254, allocations: 371.9 kB / 0.5589 GB, free: 35.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3255, allocations: 10.22 kB / 0.5589 GB, free: 35.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.3255, allocations: 9.938 kB / 0.5589 GB, free: 35.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.484e-05/0.3256, allocations: 167 kB / 0.5591 GB, free: 35.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002066/0.3258, allocations: 283.8 kB / 0.5594 GB, free: 35.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.3258, allocations: 5.156 kB / 0.5594 GB, free: 35.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.3261, allocations: 82.92 kB / 0.5594 GB, free: 35.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3261, allocations: 5.391 kB / 0.5594 GB, free: 35.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3261, allocations: 1.891 kB / 0.5594 GB, free: 35.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.3261, allocations: 2.031 kB / 0.5594 GB, free: 35.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003405/0.3265, allocations: 134.3 kB / 0.5596 GB, free: 35.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.3266, allocations: 176.1 kB / 0.5597 GB, free: 35.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.3269, allocations: 94.97 kB / 0.5598 GB, free: 35.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.327, allocations: 45.41 kB / 0.5599 GB, free: 35.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.3271, allocations: 10.67 kB / 0.5599 GB, free: 35.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.3271, allocations: 32.97 kB / 0.5599 GB, free: 34.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.3271, allocations: 0.75 kB / 0.5599 GB, free: 34.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004903/0.3276, allocations: 147.8 kB / 0.5601 GB, free: 34.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.3276, allocations: 54.5 kB / 0.5601 GB, free: 34.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.186e-05/0.3277, allocations: 91.23 kB / 0.5602 GB, free: 34.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.3277, allocations: 31.02 kB / 0.5602 GB, free: 34.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.308e-05/0.3277, allocations: 80.8 kB / 0.5603 GB, free: 34.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.508e-05/0.3278, allocations: 34.86 kB / 0.5603 GB, free: 34.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.3278, allocations: 32.27 kB / 0.5604 GB, free: 34.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.976e-05/0.3279, allocations: 314.8 kB / 0.5607 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.328, allocations: 41.84 kB / 0.5607 GB, free: 34.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.3281, allocations: 35.81 kB / 0.5607 GB, free: 34.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.3284, allocations: 74.86 kB / 0.5608 GB, free: 34.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3284, allocations: 1.875 kB / 0.5608 GB, free: 34.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002865/0.3287, allocations: 115 kB / 0.5609 GB, free: 34.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3287, allocations: 9.5 kB / 0.5609 GB, free: 34.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.3287, allocations: 0.7031 kB / 0.5609 GB, free: 34.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3287, allocations: 0.6875 kB / 0.5609 GB, free: 34.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.3289, allocations: 32.86 kB / 0.561 GB, free: 34.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.3289, allocations: 3.516 kB / 0.561 GB, free: 34.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.078e-05/0.3289, allocations: 3.688 kB / 0.561 GB, free: 34.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.3289, allocations: 5.859 kB / 0.561 GB, free: 34.16 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 6.574e-05/0.329, allocations: 116.8 kB / 0.5611 GB, free: 34.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.329, allocations: 7.297 kB / 0.5611 GB, free: 34.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.3291, allocations: 12.72 kB / 0.5611 GB, free: 34.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3291, allocations: 3.25 kB / 0.5611 GB, free: 34.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3291, allocations: 1.125 kB / 0.5611 GB, free: 34.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3291, allocations: 0.75 kB / 0.5611 GB, free: 34.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.532e-05/0.3292, allocations: 180.7 kB / 0.5613 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3292, allocations: 0.7969 kB / 0.5613 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.3293, allocations: 31.48 kB / 0.5613 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3293, allocations: 5.297 kB / 0.5613 GB, free: 33.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.3294, allocations: 3.969 kB / 0.5613 GB, free: 33.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3294, allocations: 1.062 kB / 0.5613 GB, free: 33.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3294, allocations: 0.6094 kB / 0.5613 GB, free: 33.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.3297, allocations: 145.8 kB / 0.5615 GB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.3297, allocations: 84.31 kB / 0.5615 GB, free: 33.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.3297, allocations: 6.25 kB / 0.5616 GB, free: 33.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.174e-05/0.3298, allocations: 7.938 kB / 0.5616 GB, free: 33.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/0.3298, allocations: 13.61 kB / 0.5616 GB, free: 33.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.3299, allocations: 5.047 kB / 0.5616 GB, free: 33.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.286e-05/0.3299, allocations: 75.28 kB / 0.5617 GB, free: 33.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3299, allocations: 0 / 0.5617 GB, free: 33.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002107/0.3301, allocations: 23.38 kB / 0.5617 GB, free: 33.54 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.0001759/0.3303, allocations: 127.9 kB / 0.5618 GB, free: 33.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000309/0.3306, allocations: 86.97 kB / 0.5619 GB, free: 33.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3306, allocations: 1.281 kB / 0.5619 GB, free: 33.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.3308, allocations: 51.59 kB / 0.5619 GB, free: 33.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.3309, allocations: 8.562 kB / 0.5619 GB, free: 33.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003338/0.3312, allocations: 151.7 kB / 0.5621 GB, free: 33.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.3314, allocations: 0.6886 MB / 0.5628 GB, free: 32.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001416/0.3315, allocations: 41.14 kB / 0.5628 GB, free: 32.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.3315, allocations: 18.91 kB / 0.5628 GB, free: 32.58 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3316, allocations: 0 / 0.5628 GB, free: 32.58 MB / 446.1 MB Notification: Performance of Templates: time 0.003229/0.3348, allocations: 1.01 MB / 0.5638 GB, free: 32.52 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)