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.001291/0.001291, allocations: 102.6 kB / 16.41 MB, free: 6.445 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.00136/0.001361, allocations: 193.5 kB / 17.34 MB, free: 5.742 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 286.9 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9141/0.9141, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 95.86 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4352/0.437, allocations: 86.98 MB / 0.7671 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002292/0.4393, allocations: 1.521 MB / 0.7685 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004105/0.4397, allocations: 180.3 kB / 0.7687 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.4398, allocations: 4 kB / 0.7687 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.036e-05/0.4398, allocations: 3.938 kB / 0.7687 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.331e-05/0.4399, allocations: 3.938 kB / 0.7687 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.4402, allocations: 55.81 kB / 0.7688 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.367e-05/0.4403, allocations: 31.92 kB / 0.7688 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.547e-05/0.4404, allocations: 23.97 kB / 0.7688 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.71e-05/0.4404, allocations: 11.94 kB / 0.7688 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.225e-05/0.4404, allocations: 23.91 kB / 0.7689 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.4405, allocations: 0 / 0.7689 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.4406, allocations: 47.95 kB / 0.7689 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.4406, allocations: 11.98 kB / 0.7689 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.4406, allocations: 7.938 kB / 0.7689 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.4407, allocations: 75.44 kB / 0.769 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.4408, allocations: 0 / 0.769 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.935e-06/0.4408, allocations: 0 / 0.769 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.4408, allocations: 3.938 kB / 0.769 GB, free: 1.945 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.0004372/0.4412, allocations: 355.5 kB / 0.7693 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.4413, allocations: 8.031 kB / 0.7694 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.679e-05/0.4413, allocations: 4.938 kB / 0.7694 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.4414, allocations: 174.8 kB / 0.7695 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.4414, allocations: 384 / 0.7695 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.4414, allocations: 384 / 0.7695 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.4416, allocations: 70.22 kB / 0.7696 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.4416, allocations: 4.188 kB / 0.7696 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.4416, allocations: 3.938 kB / 0.7696 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.4417, allocations: 0 / 0.7696 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000182/0.4418, allocations: 51.88 kB / 0.7697 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.4422, allocations: 276.8 kB / 0.7699 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.4425, allocations: 66.47 kB / 0.77 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.031e-05/0.4426, allocations: 24.91 kB / 0.77 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/0.4428, allocations: 166.2 kB / 0.7702 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.4428, allocations: 38.5 kB / 0.7702 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4428, allocations: 0 / 0.7702 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003489/0.4432, allocations: 93.64 kB / 0.7703 GB, free: 440 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.4432, allocations: 55.39 kB / 0.7703 GB, free: 372 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.324e-05/0.4433, allocations: 109.8 kB / 0.7704 GB, free: 252 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.4433, allocations: 29.69 kB / 0.7705 GB, free: 216 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.4434, allocations: 84.14 kB / 0.7706 GB, free: 128 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.4434, allocations: 9.609 kB / 0.7706 GB, free: 120 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.4434, allocations: 17.72 kB / 0.7706 GB, free: 96 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4435, allocations: 326.8 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.272e-05/0.4436, allocations: 15.98 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.845e-05/0.4437, allocations: 27.91 kB / 0.7709 GB, free: 15.72 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.4439, allocations: 44.83 kB / 0.771 GB, free: 15.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4439, allocations: 0 / 0.771 GB, free: 15.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001941/0.4441, allocations: 77.55 kB / 0.771 GB, free: 15.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.4441, allocations: 8 kB / 0.7711 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.4441, allocations: 0 / 0.7711 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.4441, allocations: 336 / 0.7711 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.849e-05/0.4442, allocations: 15.98 kB / 0.7711 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.4442, allocations: 0 / 0.7711 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.544e-05/0.4443, allocations: 4 kB / 0.7711 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.4443, allocations: 0 / 0.7711 GB, free: 15.57 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 8.068e-05/0.4444, allocations: 128.1 kB / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.4444, allocations: 3.984 kB / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.4446, allocations: 85.55 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.4447, allocations: 0 / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.4447, allocations: 0 / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.4447, allocations: 0 / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.4448, allocations: 169.6 kB / 0.7714 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4448, allocations: 0 / 0.7714 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.269e-05/0.4449, allocations: 15.98 kB / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4449, allocations: 3.938 kB / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.4449, allocations: 4 kB / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.4449, allocations: 0 / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4449, allocations: 0 / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.4452, allocations: 179.3 kB / 0.7716 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.4452, allocations: 77.11 kB / 0.7717 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.4453, allocations: 4 kB / 0.7717 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-05/0.4453, allocations: 11.98 kB / 0.7717 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.4454, allocations: 8 kB / 0.7717 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.4454, allocations: 0 / 0.7717 GB, free: 14.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.743e-05/0.4454, allocations: 91.27 kB / 0.7718 GB, free: 14.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4454, allocations: 0 / 0.7718 GB, free: 14.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002352/0.4457, allocations: 12 kB / 0.7718 GB, free: 14.69 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.000152/0.4458, allocations: 119.3 kB / 0.7719 GB, free: 14.56 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.4461, allocations: 55.89 kB / 0.772 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.4461, allocations: 3.938 kB / 0.772 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.655e-05/0.4462, allocations: 23.97 kB / 0.772 GB, free: 14.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.4464, allocations: 7.938 kB / 0.772 GB, free: 14.47 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.4467, allocations: 147.2 kB / 0.7722 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.4469, allocations: 0.6846 MB / 0.7728 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.447, allocations: 11.42 kB / 0.7729 GB, free: 13.57 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.447, allocations: 0 / 0.7729 GB, free: 13.57 MB / 0.545 GB Notification: Performance of Templates: time 0.002093/0.4491, allocations: 0.9947 MB / 0.7738 GB, free: 12.58 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)