Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 111.6 kB / 16.41 MB, free: 6.488 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.001382/0.001382, allocations: 187 kB / 17.34 MB, free: 5.762 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.275/1.275, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002148/0.002149, allocations: 299.6 kB / 291.5 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8986/0.8986, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 96.23 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.415, allocations: 86.98 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002723/0.4178, allocations: 1.521 MB / 0.7685 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004278/0.4182, allocations: 184.3 kB / 0.7687 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.099e-05/0.4183, allocations: 4 kB / 0.7687 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.4183, allocations: 3.938 kB / 0.7687 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.172e-05/0.4184, allocations: 3.938 kB / 0.7687 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.4187, allocations: 51.88 kB / 0.7688 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.046e-05/0.4188, allocations: 35.86 kB / 0.7688 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.085e-05/0.4189, allocations: 19.98 kB / 0.7688 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.835e-05/0.4189, allocations: 11.98 kB / 0.7688 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.066e-05/0.419, allocations: 19.92 kB / 0.7689 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.419, allocations: 7.938 kB / 0.7689 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.4191, allocations: 43.95 kB / 0.7689 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.4191, allocations: 15.97 kB / 0.7689 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.4192, allocations: 11.94 kB / 0.7689 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.4193, allocations: 71.44 kB / 0.769 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4193, allocations: 0 / 0.769 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4193, allocations: 3.938 kB / 0.769 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.4193, allocations: 0 / 0.769 GB, free: 1.922 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004649/0.4198, allocations: 351.5 kB / 0.7693 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.4198, allocations: 16.02 kB / 0.7694 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.4199, allocations: 0.9375 kB / 0.7694 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.42, allocations: 174.8 kB / 0.7695 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.42, allocations: 8.375 kB / 0.7695 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.42, allocations: 4.375 kB / 0.7695 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.4202, allocations: 62.22 kB / 0.7696 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.4203, allocations: 4.188 kB / 0.7696 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.4203, allocations: 3.938 kB / 0.7696 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.4203, allocations: 0 / 0.7696 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.4205, allocations: 43.95 kB / 0.7696 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.4208, allocations: 284.7 kB / 0.7699 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.4211, allocations: 66.52 kB / 0.77 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.308e-05/0.4212, allocations: 24.91 kB / 0.77 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/0.4215, allocations: 170.2 kB / 0.7702 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.4215, allocations: 30.56 kB / 0.7702 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.4215, allocations: 0 / 0.7702 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003677/0.4219, allocations: 97.58 kB / 0.7703 GB, free: 412 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.4219, allocations: 55.34 kB / 0.7703 GB, free: 344 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.99e-05/0.422, allocations: 109.8 kB / 0.7704 GB, free: 224 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.422, allocations: 25.7 kB / 0.7705 GB, free: 192 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.422, allocations: 88.12 kB / 0.7706 GB, free: 100 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.4221, allocations: 13.61 kB / 0.7706 GB, free: 88 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.4221, allocations: 13.72 kB / 0.7706 GB, free: 68 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.4222, allocations: 326.8 kB / 0.7709 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.85e-05/0.4223, allocations: 15.98 kB / 0.7709 GB, free: 15.72 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.524e-05/0.4224, allocations: 19.98 kB / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.4226, allocations: 52.75 kB / 0.771 GB, free: 15.65 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4226, allocations: 0 / 0.771 GB, free: 15.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002024/0.4228, allocations: 77.56 kB / 0.7711 GB, free: 15.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.4228, allocations: 7.984 kB / 0.7711 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4228, allocations: 0 / 0.7711 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.4228, allocations: 0 / 0.7711 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.466e-05/0.4229, allocations: 8 kB / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4229, allocations: 3.984 kB / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.541e-05/0.423, allocations: 8 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.423, allocations: 0 / 0.7711 GB, free: 15.54 MB / 0.545 GB 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.866e-05/0.4231, allocations: 120.2 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.4231, allocations: 7.984 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.4234, allocations: 85.48 kB / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.4234, allocations: 3.938 kB / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.4234, allocations: 0 / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4234, allocations: 0 / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.4235, allocations: 165.6 kB / 0.7714 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4236, allocations: 0 / 0.7714 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.215e-05/0.4236, allocations: 15.98 kB / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.4236, allocations: 4 kB / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.944e-06/0.4237, allocations: 4 kB / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4237, allocations: 0 / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4237, allocations: 0 / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.4239, allocations: 183.6 kB / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.424, allocations: 77.11 kB / 0.7717 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.424, allocations: 11.94 kB / 0.7717 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.1e-05/0.4241, allocations: 7.984 kB / 0.7717 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.4242, allocations: 8 kB / 0.7717 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.4242, allocations: 0 / 0.7717 GB, free: 14.76 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.229e-05/0.4242, allocations: 91.27 kB / 0.7718 GB, free: 14.67 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4242, allocations: 0 / 0.7718 GB, free: 14.67 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002307/0.4244, allocations: 12 kB / 0.7718 GB, free: 14.66 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: 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.0001646/0.4246, allocations: 122.6 kB / 0.772 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.4248, allocations: 47.95 kB / 0.772 GB, free: 14.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4249, allocations: 0 / 0.772 GB, free: 14.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.356e-05/0.425, allocations: 27.91 kB / 0.772 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.4252, allocations: 7.938 kB / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.4255, allocations: 147.3 kB / 0.7722 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.4257, allocations: 0.6846 MB / 0.7728 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.4258, allocations: 11.44 kB / 0.7729 GB, free: 13.55 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.4258, allocations: 0 / 0.7729 GB, free: 13.55 MB / 0.545 GB Notification: Performance of Templates: time 0.002218/0.428, allocations: 0.9807 MB / 0.7738 GB, free: 12.57 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1)