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.00116/0.00116, allocations: 101.9 kB / 16.27 MB, free: 5.961 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.00112/0.001121, allocations: 186.9 kB / 17.19 MB, free: 5.59 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.37/1.37, allocations: 222.9 MB / 240.9 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.7506/0.7506, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 71.88 kB / 0.4911 GB, free: 7.391 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4158, allocations: 77.92 MB / 0.5672 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.002377/0.4182, allocations: 0.569 MB / 0.5678 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004517/0.4187, allocations: 104.9 kB / 0.5679 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.838e-05/0.4187, allocations: 2.125 kB / 0.5679 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.729e-05/0.4188, allocations: 0 / 0.5679 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.892e-06/0.4188, allocations: 0 / 0.5679 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.4192, allocations: 39.52 kB / 0.5679 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.4194, allocations: 69.62 kB / 0.568 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.32e-05/0.4194, allocations: 2.703 kB / 0.568 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.989e-05/0.4195, allocations: 22.12 kB / 0.568 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.873e-05/0.4196, allocations: 23.58 kB / 0.568 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.4196, allocations: 4.656 kB / 0.568 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.4197, allocations: 44.42 kB / 0.5681 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.398e-05/0.4198, allocations: 22.09 kB / 0.5681 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.4199, allocations: 23.05 kB / 0.5681 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.42, allocations: 68.23 kB / 0.5682 GB, free: 32.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.4201, allocations: 1.734 kB / 0.5682 GB, free: 32.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4201, allocations: 0 / 0.5682 GB, free: 32.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.4201, allocations: 0.5312 kB / 0.5682 GB, free: 32.15 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.0005378/0.4206, allocations: 375 kB / 0.5686 GB, free: 31.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.4207, allocations: 10.19 kB / 0.5686 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.576e-05/0.4207, allocations: 10.66 kB / 0.5686 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.665e-05/0.4208, allocations: 169.3 kB / 0.5687 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002473/0.4211, allocations: 286.3 kB / 0.569 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.4211, allocations: 7.906 kB / 0.569 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.4214, allocations: 76.56 kB / 0.5691 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.4214, allocations: 3.938 kB / 0.5691 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.4214, allocations: 6.719 kB / 0.5691 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.4214, allocations: 1.219 kB / 0.5691 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/0.4218, allocations: 129.4 kB / 0.5692 GB, free: 31.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.422, allocations: 184.2 kB / 0.5694 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.4223, allocations: 98.38 kB / 0.5695 GB, free: 30.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.4225, allocations: 42.22 kB / 0.5695 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.4225, allocations: 6.797 kB / 0.5695 GB, free: 30.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.4226, allocations: 32.5 kB / 0.5696 GB, free: 30.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.4226, allocations: 1.359 kB / 0.5696 GB, free: 30.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005796/0.4232, allocations: 160.2 kB / 0.5697 GB, free: 30.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.4232, allocations: 54.19 kB / 0.5698 GB, free: 30.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.842e-05/0.4232, allocations: 91.89 kB / 0.5699 GB, free: 30.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.4232, allocations: 26.77 kB / 0.5699 GB, free: 30.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.82e-05/0.4233, allocations: 80.14 kB / 0.57 GB, free: 30.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.414e-05/0.4233, allocations: 31.72 kB / 0.57 GB, free: 30.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.4234, allocations: 31.3 kB / 0.57 GB, free: 30.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.4235, allocations: 315.4 kB / 0.5703 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.4236, allocations: 33.59 kB / 0.5704 GB, free: 30.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.4237, allocations: 34.53 kB / 0.5704 GB, free: 30.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.424, allocations: 76.84 kB / 0.5705 GB, free: 30.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.424, allocations: 0 / 0.5705 GB, free: 30.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003317/0.4244, allocations: 117.9 kB / 0.5706 GB, free: 30.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.4244, allocations: 13.78 kB / 0.5706 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4244, allocations: 0 / 0.5706 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4244, allocations: 1.281 kB / 0.5706 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.4246, allocations: 23.59 kB / 0.5706 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4246, allocations: 5.516 kB / 0.5706 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.086e-05/0.4247, allocations: 6.328 kB / 0.5706 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.4247, allocations: 9.609 kB / 0.5706 GB, free: 30.07 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 7.112e-05/0.4248, allocations: 111.6 kB / 0.5707 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.4248, allocations: 11.38 kB / 0.5708 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/0.4249, allocations: 16.66 kB / 0.5708 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.4249, allocations: 2.25 kB / 0.5708 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.4249, allocations: 0.7969 kB / 0.5708 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4249, allocations: 4.875 kB / 0.5708 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.425, allocations: 182.2 kB / 0.571 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.425, allocations: 0 / 0.571 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.4251, allocations: 23.84 kB / 0.571 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.4252, allocations: 5.125 kB / 0.571 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.4252, allocations: 8.719 kB / 0.571 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.4252, allocations: 1.062 kB / 0.571 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4252, allocations: 3.984 kB / 0.571 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.4256, allocations: 146 kB / 0.5711 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.4256, allocations: 80.17 kB / 0.5712 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.4256, allocations: 9.062 kB / 0.5712 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.946e-05/0.4257, allocations: 8.641 kB / 0.5712 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.4258, allocations: 11.98 kB / 0.5712 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.4258, allocations: 12.47 kB / 0.5712 GB, free: 29.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.671e-05/0.4258, allocations: 76.08 kB / 0.5713 GB, free: 29.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.4258, allocations: 2.469 kB / 0.5713 GB, free: 29.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.4261, allocations: 20 kB / 0.5713 GB, free: 29.44 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.0002466/0.4263, allocations: 117.1 kB / 0.5715 GB, free: 29.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004176/0.4267, allocations: 98.8 kB / 0.5715 GB, free: 29.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4268, allocations: 3.938 kB / 0.5716 GB, free: 29.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.4269, allocations: 52.27 kB / 0.5716 GB, free: 29.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.4271, allocations: 2 kB / 0.5716 GB, free: 29.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.4275, allocations: 156 kB / 0.5718 GB, free: 29.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.4276, allocations: 0.688 MB / 0.5724 GB, free: 28.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001906/0.4278, allocations: 36.86 kB / 0.5725 GB, free: 28.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.4279, allocations: 21.11 kB / 0.5725 GB, free: 28.49 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4279, allocations: 0 / 0.5725 GB, free: 28.49 MB / 446.1 MB Notification: Performance of Templates: time 0.003734/0.4316, allocations: 1.005 MB / 0.5735 GB, free: 28.43 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)