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.001123/0.001123, allocations: 101.2 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.001289/0.001289, allocations: 189.8 kB / 17.2 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.363/1.363, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7628/0.7628, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.89 kB / 0.4911 GB, free: 7.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4166, allocations: 77.92 MB / 0.5672 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001971/0.4186, allocations: 0.5763 MB / 0.5678 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00034/0.419, allocations: 106.4 kB / 0.5679 GB, free: 32.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.654e-05/0.419, allocations: 0 / 0.5679 GB, free: 32.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.4191, allocations: 0.875 kB / 0.5679 GB, free: 32.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.4191, allocations: 0 / 0.5679 GB, free: 32.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.4194, allocations: 44.61 kB / 0.5679 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.4196, allocations: 60.84 kB / 0.568 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.4196, allocations: 1.156 kB / 0.568 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.863e-05/0.4197, allocations: 26.23 kB / 0.568 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.871e-05/0.4197, allocations: 24.86 kB / 0.568 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.4197, allocations: 4.719 kB / 0.568 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.4199, allocations: 39.89 kB / 0.5681 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.759e-05/0.4199, allocations: 25.88 kB / 0.5681 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.42, allocations: 23.55 kB / 0.5681 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.4201, allocations: 77.62 kB / 0.5682 GB, free: 32.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4202, allocations: 0 / 0.5682 GB, free: 32.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4202, allocations: 0.6094 kB / 0.5682 GB, free: 32.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.617e-06/0.4202, allocations: 0 / 0.5682 GB, free: 32.05 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.0004832/0.4207, allocations: 371.2 kB / 0.5685 GB, free: 31.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.4207, allocations: 14.5 kB / 0.5685 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.4208, allocations: 10.06 kB / 0.5686 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.266e-05/0.4208, allocations: 165.2 kB / 0.5687 GB, free: 31.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/0.421, allocations: 284.8 kB / 0.569 GB, free: 31.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.4211, allocations: 4.906 kB / 0.569 GB, free: 31.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.4213, allocations: 81.53 kB / 0.5691 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.4214, allocations: 3.938 kB / 0.5691 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.4214, allocations: 2.594 kB / 0.5691 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4214, allocations: 1.062 kB / 0.5691 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003785/0.4218, allocations: 138.1 kB / 0.5692 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.422, allocations: 176.4 kB / 0.5694 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.4223, allocations: 93.7 kB / 0.5695 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.4224, allocations: 43.44 kB / 0.5695 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.4225, allocations: 5.938 kB / 0.5695 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.4225, allocations: 33.08 kB / 0.5695 GB, free: 30.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 2.635e-06/0.4225, allocations: 1.391 kB / 0.5695 GB, free: 30.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006023/0.4231, allocations: 155.5 kB / 0.5697 GB, free: 30.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.4232, allocations: 53.75 kB / 0.5697 GB, free: 30.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.84e-05/0.4232, allocations: 90.7 kB / 0.5698 GB, free: 30.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.4232, allocations: 32.14 kB / 0.5699 GB, free: 30.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.532e-05/0.4232, allocations: 80.14 kB / 0.5699 GB, free: 30.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.886e-05/0.4233, allocations: 32.73 kB / 0.57 GB, free: 30.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/0.4234, allocations: 27.17 kB / 0.57 GB, free: 30.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.323e-05/0.4234, allocations: 319.2 kB / 0.5703 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.4236, allocations: 28.64 kB / 0.5703 GB, free: 30.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.4237, allocations: 40.14 kB / 0.5704 GB, free: 30.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.424, allocations: 80.41 kB / 0.5704 GB, free: 30.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.424, allocations: 1.156 kB / 0.5704 GB, free: 30.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000322/0.4243, allocations: 108.1 kB / 0.5705 GB, free: 30 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4243, allocations: 10.19 kB / 0.5706 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.4243, allocations: 0 / 0.5706 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4244, allocations: 2.141 kB / 0.5706 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.4245, allocations: 27.5 kB / 0.5706 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4246, allocations: 6.781 kB / 0.5706 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.954e-05/0.4246, allocations: 5.156 kB / 0.5706 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.4246, allocations: 4.672 kB / 0.5706 GB, free: 29.98 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.747e-05/0.4247, allocations: 120.9 kB / 0.5707 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.4247, allocations: 11.83 kB / 0.5707 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.4248, allocations: 11.97 kB / 0.5707 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.4248, allocations: 5.469 kB / 0.5707 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4248, allocations: 0.5 kB / 0.5707 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4248, allocations: 3.203 kB / 0.5707 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.4249, allocations: 182 kB / 0.5709 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.4249, allocations: 1.219 kB / 0.5709 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.425, allocations: 23.14 kB / 0.5709 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4251, allocations: 5.375 kB / 0.5709 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.4251, allocations: 2.453 kB / 0.571 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.4251, allocations: 5.609 kB / 0.571 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4251, allocations: 0 / 0.571 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.4254, allocations: 153.7 kB / 0.5711 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.4255, allocations: 79.78 kB / 0.5712 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.4255, allocations: 5.281 kB / 0.5712 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.842e-05/0.4256, allocations: 11.08 kB / 0.5712 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.4256, allocations: 8.859 kB / 0.5712 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.4256, allocations: 6.719 kB / 0.5712 GB, free: 29.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.21e-05/0.4257, allocations: 75.28 kB / 0.5713 GB, free: 29.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4257, allocations: 1.25 kB / 0.5713 GB, free: 29.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.4259, allocations: 21.08 kB / 0.5713 GB, free: 29.35 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.0001848/0.4261, allocations: 120.1 kB / 0.5714 GB, free: 29.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000354/0.4265, allocations: 94.98 kB / 0.5715 GB, free: 29.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4265, allocations: 4.5 kB / 0.5715 GB, free: 29.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.4266, allocations: 52.03 kB / 0.5716 GB, free: 29.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.4268, allocations: 6.312 kB / 0.5716 GB, free: 29.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/0.4272, allocations: 157 kB / 0.5717 GB, free: 29.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/0.4273, allocations: 0.6875 MB / 0.5724 GB, free: 28.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001865/0.4275, allocations: 39.31 kB / 0.5724 GB, free: 28.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.4276, allocations: 15.14 kB / 0.5724 GB, free: 28.4 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4276, allocations: 1.375 kB / 0.5724 GB, free: 28.4 MB / 446.1 MB Notification: Performance of Templates: time 0.003763/0.4314, allocations: 1.014 MB / 0.5734 GB, free: 28.34 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)