Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001453/0.001453, allocations: 104.9 kB / 16.4 MB, free: 6.379 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.001484/0.001484, allocations: 184.3 kB / 17.33 MB, free: 5.852 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002028, allocations: 298.6 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9396/0.9396, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 99.84 kB / 0.6821 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4511/0.4528, allocations: 86.98 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001711/0.4546, allocations: 0.5816 MB / 0.7676 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003749/0.455, allocations: 107.5 kB / 0.7678 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.786e-05/0.455, allocations: 4 kB / 0.7678 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.4551, allocations: 0 / 0.7678 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.241e-06/0.4551, allocations: 0 / 0.7678 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.4554, allocations: 35.89 kB / 0.7678 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.4556, allocations: 59.94 kB / 0.7678 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.4556, allocations: 3.984 kB / 0.7678 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.48e-05/0.4557, allocations: 27.97 kB / 0.7679 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.419e-05/0.4558, allocations: 19.97 kB / 0.7679 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.4558, allocations: 11.94 kB / 0.7679 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.4559, allocations: 47.95 kB / 0.768 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.034e-05/0.456, allocations: 19.97 kB / 0.768 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.483e-05/0.456, allocations: 23.92 kB / 0.768 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.4562, allocations: 71.83 kB / 0.7681 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4562, allocations: 0 / 0.7681 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4562, allocations: 0 / 0.7681 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.4562, allocations: 0 / 0.7681 GB, free: 2.891 MB / 0.5294 GB 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.0005044/0.4567, allocations: 371.2 kB / 0.7684 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.4568, allocations: 11.97 kB / 0.7684 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/0.4568, allocations: 16.84 kB / 0.7684 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.166e-05/0.4569, allocations: 168.3 kB / 0.7686 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000255/0.4572, allocations: 277.6 kB / 0.7689 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.4572, allocations: 4.375 kB / 0.7689 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.4574, allocations: 82.19 kB / 0.769 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4575, allocations: 3.938 kB / 0.769 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4575, allocations: 0 / 0.769 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.4575, allocations: 4 kB / 0.769 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.4578, allocations: 131.8 kB / 0.7691 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.458, allocations: 173.7 kB / 0.7693 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.4583, allocations: 98.45 kB / 0.7693 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.4585, allocations: 44.83 kB / 0.7694 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.4585, allocations: 4.312 kB / 0.7694 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.4585, allocations: 46.5 kB / 0.7694 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.4585, allocations: 0 / 0.7694 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0005228/0.4591, allocations: 153.5 kB / 0.7696 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.4591, allocations: 59.28 kB / 0.7696 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.416e-05/0.4591, allocations: 89.86 kB / 0.7697 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.4592, allocations: 29.7 kB / 0.7698 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.459e-05/0.4592, allocations: 84.14 kB / 0.7698 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.318e-05/0.4593, allocations: 38.06 kB / 0.7699 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.4593, allocations: 25.7 kB / 0.7699 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4594, allocations: 314.8 kB / 0.7702 GB, free: 444 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.4596, allocations: 39.91 kB / 0.7702 GB, free: 404 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.4597, allocations: 36.41 kB / 0.7703 GB, free: 368 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.46, allocations: 76.97 kB / 0.7703 GB, free: 288 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.46, allocations: 0 / 0.7703 GB, free: 288 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003174/0.4603, allocations: 109.5 kB / 0.7704 GB, free: 172 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.4603, allocations: 11.88 kB / 0.7705 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.4604, allocations: 3.938 kB / 0.7705 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.4604, allocations: 0 / 0.7705 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.4605, allocations: 27.98 kB / 0.7705 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.4605, allocations: 4 kB / 0.7705 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.994e-05/0.4606, allocations: 7.984 kB / 0.7705 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.4606, allocations: 4 kB / 0.7705 GB, free: 112 kB / 0.5294 GB 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 0.0001027/0.4607, allocations: 120.2 kB / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.4607, allocations: 7.844 kB / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.4608, allocations: 11.97 kB / 0.7706 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4608, allocations: 4 kB / 0.7706 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4608, allocations: 0 / 0.7706 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4608, allocations: 4 kB / 0.7706 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.461, allocations: 177.6 kB / 0.7708 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.461, allocations: 0 / 0.7708 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.4611, allocations: 27.91 kB / 0.7708 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.4611, allocations: 3.938 kB / 0.7708 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.4611, allocations: 4 kB / 0.7708 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4611, allocations: 0 / 0.7708 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4611, allocations: 0 / 0.7708 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.4615, allocations: 148.9 kB / 0.771 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/0.4615, allocations: 81.11 kB / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.4615, allocations: 3.938 kB / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.976e-05/0.4616, allocations: 11.98 kB / 0.7711 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.4617, allocations: 7.984 kB / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.4617, allocations: 4 kB / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.213e-05/0.4617, allocations: 79.22 kB / 0.7712 GB, free: 15.33 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4617, allocations: 0 / 0.7712 GB, free: 15.33 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002188/0.4619, allocations: 27.98 kB / 0.7712 GB, free: 15.3 MB / 0.545 GB 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.0001772/0.4621, allocations: 119.2 kB / 0.7713 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003377/0.4625, allocations: 95.8 kB / 0.7714 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4625, allocations: 0 / 0.7714 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.4626, allocations: 47.91 kB / 0.7714 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.4628, allocations: 8 kB / 0.7715 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.4632, allocations: 178.7 kB / 0.7716 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.4634, allocations: 0.6885 MB / 0.7723 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.4635, allocations: 15.42 kB / 0.7723 GB, free: 14.09 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.4635, allocations: 4 kB / 0.7723 GB, free: 14.09 MB / 0.545 GB Notification: Performance of Templates: time 0.002914/0.4664, allocations: 1.329 MB / 0.7736 GB, free: 12.76 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)