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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4616/0.4616, allocations: 87.5 MB / 104.9 MB, free: 13.04 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 222.9 MB / 349.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 99.03 kB / 420 MB, free: 8.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 55.92 kB / 0.4891 GB, free: 7.688 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.442, allocations: 70.06 MB / 0.5575 GB, free: 44.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.002801/0.4448, allocations: 1.577 MB / 0.559 GB, free: 43.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004857/0.4453, allocations: 186.2 kB / 0.5592 GB, free: 43.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/0.4454, allocations: 3.812 kB / 0.5592 GB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.948e-05/0.4454, allocations: 3.938 kB / 0.5592 GB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.92e-05/0.4455, allocations: 1.062 kB / 0.5592 GB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.4458, allocations: 41.95 kB / 0.5593 GB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.955e-05/0.4459, allocations: 30.83 kB / 0.5593 GB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.446, allocations: 16.05 kB / 0.5593 GB, free: 43.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.201e-05/0.446, allocations: 21.56 kB / 0.5593 GB, free: 43.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.154e-05/0.4461, allocations: 16.58 kB / 0.5593 GB, free: 43.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.4461, allocations: 2.406 kB / 0.5593 GB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.4462, allocations: 48.59 kB / 0.5594 GB, free: 43.08 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.4463, allocations: 1.281 kB / 0.5594 GB, free: 43.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.4463, allocations: 23.78 kB / 0.5594 GB, free: 43.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.4464, allocations: 61.44 kB / 0.5595 GB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4465, allocations: 0 / 0.5595 GB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4465, allocations: 0 / 0.5595 GB, free: 43.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.4465, allocations: 1.062 kB / 0.5595 GB, free: 43.02 MB / 410.7 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.0004521/0.4469, allocations: 356 kB / 0.5598 GB, free: 42.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.447, allocations: 9.625 kB / 0.5598 GB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.447, allocations: 7.125 kB / 0.5598 GB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.663e-05/0.4471, allocations: 170.7 kB / 0.56 GB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.4472, allocations: 1.219 kB / 0.56 GB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.4472, allocations: 6.531 kB / 0.56 GB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.4474, allocations: 71.7 kB / 0.5601 GB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.4474, allocations: 4.188 kB / 0.5601 GB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.4474, allocations: 5.031 kB / 0.5601 GB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4474, allocations: 1.125 kB / 0.5601 GB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.4476, allocations: 43.92 kB / 0.5601 GB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.448, allocations: 274.2 kB / 0.5604 GB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.4484, allocations: 66.97 kB / 0.5604 GB, free: 42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.4485, allocations: 23 kB / 0.5605 GB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/0.4487, allocations: 170.3 kB / 0.5606 GB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.4487, allocations: 42.48 kB / 0.5607 GB, free: 41.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4487, allocations: 0 / 0.5607 GB, free: 41.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003717/0.4491, allocations: 97.58 kB / 0.5608 GB, free: 41.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.4492, allocations: 51.41 kB / 0.5608 GB, free: 41.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.477e-05/0.4492, allocations: 109.8 kB / 0.5609 GB, free: 41.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.4493, allocations: 25.7 kB / 0.5609 GB, free: 41.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.652e-05/0.4493, allocations: 92.03 kB / 0.561 GB, free: 41.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.4493, allocations: 3.906 kB / 0.561 GB, free: 41.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.4494, allocations: 17.72 kB / 0.561 GB, free: 41.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.48e-05/0.4494, allocations: 322.8 kB / 0.5614 GB, free: 40.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-05/0.4495, allocations: 19.97 kB / 0.5614 GB, free: 40.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.428e-05/0.4496, allocations: 19.98 kB / 0.5614 GB, free: 40.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.4498, allocations: 44.81 kB / 0.5614 GB, free: 40.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4498, allocations: 0 / 0.5614 GB, free: 40.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001973/0.45, allocations: 85.91 kB / 0.5615 GB, free: 40.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.45, allocations: 4 kB / 0.5615 GB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.45, allocations: 0 / 0.5615 GB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.45, allocations: 0 / 0.5615 GB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.575e-05/0.4501, allocations: 11.98 kB / 0.5615 GB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.4501, allocations: 0 / 0.5615 GB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.535e-05/0.4502, allocations: 19.86 kB / 0.5616 GB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.4502, allocations: 0 / 0.5616 GB, free: 40.76 MB / 410.7 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 7.855e-05/0.4503, allocations: 121.8 kB / 0.5617 GB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.4503, allocations: 3.906 kB / 0.5617 GB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.4506, allocations: 85.48 kB / 0.5618 GB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.4506, allocations: 3.984 kB / 0.5618 GB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4506, allocations: 0 / 0.5618 GB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.4506, allocations: 0 / 0.5618 GB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.4507, allocations: 169.6 kB / 0.5619 GB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4508, allocations: 0 / 0.5619 GB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.648e-05/0.4508, allocations: 15.98 kB / 0.5619 GB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4508, allocations: 0 / 0.5619 GB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.4508, allocations: 4 kB / 0.5619 GB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4509, allocations: 0 / 0.5619 GB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4509, allocations: 3.938 kB / 0.5619 GB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004476/0.4513, allocations: 0.7396 MB / 0.5627 GB, free: 39.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.478e-05/0.4513, allocations: 85.02 kB / 0.5627 GB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.4514, allocations: 0 / 0.5627 GB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.033e-05/0.4515, allocations: 7.984 kB / 0.5628 GB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.4515, allocations: 7.938 kB / 0.5628 GB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.4515, allocations: 7.984 kB / 0.5628 GB, free: 39.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.64e-05/0.4516, allocations: 83.28 kB / 0.5628 GB, free: 39.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4516, allocations: 4 kB / 0.5629 GB, free: 39.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003358/0.4519, allocations: 16 kB / 0.5629 GB, free: 39.27 MB / 410.7 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.0001797/0.4521, allocations: 107.2 kB / 0.563 GB, free: 39.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.4524, allocations: 51.89 kB / 0.563 GB, free: 39.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4524, allocations: 0 / 0.563 GB, free: 39.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.603e-05/0.4525, allocations: 23.97 kB / 0.563 GB, free: 39.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.4528, allocations: 11.94 kB / 0.5631 GB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.4531, allocations: 238.1 kB / 0.5633 GB, free: 38.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.4533, allocations: 0.6809 MB / 0.5639 GB, free: 38.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.401e-05/0.4533, allocations: 8 kB / 0.564 GB, free: 38.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.4534, allocations: 7.438 kB / 0.564 GB, free: 38.07 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4534, allocations: 0 / 0.564 GB, free: 38.07 MB / 410.7 MB Notification: Performance of Templates: time 0.00306/0.4564, allocations: 0.9068 MB / 0.5648 GB, free: 37.17 MB / 410.7 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)