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.001531/0.001531, allocations: 106.7 kB / 16.41 MB, free: 6.516 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.001189/0.001189, allocations: 188 kB / 17.34 MB, free: 5.738 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.475/1.475, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002562/0.002562, allocations: 297.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.026/1.026, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003203/0.003203, allocations: 95.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4679/0.4711, allocations: 86.97 MB / 0.7671 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002639/0.4737, allocations: 1.541 MB / 0.7686 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004552/0.4742, allocations: 180.3 kB / 0.7687 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.4742, allocations: 0 / 0.7687 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.4742, allocations: 0 / 0.7687 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.405e-05/0.4743, allocations: 7.938 kB / 0.7687 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.4746, allocations: 51.81 kB / 0.7688 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.519e-05/0.4747, allocations: 35.92 kB / 0.7688 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.98e-05/0.4748, allocations: 11.98 kB / 0.7688 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.744e-05/0.4748, allocations: 15.98 kB / 0.7688 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.314e-05/0.4748, allocations: 23.91 kB / 0.7689 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.4748, allocations: 11.88 kB / 0.7689 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.4749, allocations: 39.97 kB / 0.7689 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.475, allocations: 11.98 kB / 0.7689 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.475, allocations: 15.92 kB / 0.7689 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.4751, allocations: 67.58 kB / 0.769 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4751, allocations: 0 / 0.769 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.42e-07/0.4751, allocations: 0 / 0.769 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.4751, allocations: 4 kB / 0.769 GB, free: 1.934 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.0005164/0.4757, allocations: 357.1 kB / 0.7694 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.4757, allocations: 12.03 kB / 0.7694 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.4757, allocations: 4.891 kB / 0.7694 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.4759, allocations: 168.4 kB / 0.7695 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.4759, allocations: 384 / 0.7695 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.4759, allocations: 4.375 kB / 0.7695 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.4761, allocations: 66.16 kB / 0.7696 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.4761, allocations: 192 / 0.7696 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.4761, allocations: 7.938 kB / 0.7696 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.4761, allocations: 4 kB / 0.7696 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.4763, allocations: 43.95 kB / 0.7697 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.4767, allocations: 276.8 kB / 0.7699 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.4771, allocations: 62.48 kB / 0.77 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.4772, allocations: 32.83 kB / 0.77 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002396/0.4774, allocations: 162.2 kB / 0.7702 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.4774, allocations: 34.56 kB / 0.7702 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 3.236e-06/0.4774, allocations: 3.984 kB / 0.7702 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004003/0.4778, allocations: 97.62 kB / 0.7703 GB, free: 432 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.4779, allocations: 55.34 kB / 0.7703 GB, free: 364 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9e-05/0.478, allocations: 113.8 kB / 0.7705 GB, free: 240 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.478, allocations: 29.7 kB / 0.7705 GB, free: 204 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.478, allocations: 88.12 kB / 0.7706 GB, free: 112 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.4781, allocations: 9.656 kB / 0.7706 GB, free: 104 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.4781, allocations: 17.72 kB / 0.7706 GB, free: 80 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.4783, allocations: 322.8 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.4784, allocations: 19.98 kB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.816e-05/0.4784, allocations: 23.97 kB / 0.7709 GB, free: 15.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.4786, allocations: 44.83 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.4786, allocations: 0 / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002226/0.4789, allocations: 69.64 kB / 0.771 GB, free: 15.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.4789, allocations: 12 kB / 0.7711 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.4789, allocations: 7.938 kB / 0.7711 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.4789, allocations: 0 / 0.7711 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.338e-05/0.479, allocations: 15.98 kB / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.479, allocations: 0 / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.014e-05/0.479, allocations: 7.953 kB / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.479, allocations: 3.984 kB / 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 9.458e-05/0.4791, allocations: 113.8 kB / 0.7712 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.4792, allocations: 4 kB / 0.7712 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.4794, allocations: 85.55 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.4794, allocations: 0 / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4794, allocations: 0 / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.4794, allocations: 0 / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.4796, allocations: 169.6 kB / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4796, allocations: 0 / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.893e-05/0.4797, allocations: 15.92 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4797, allocations: 4 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.4797, allocations: 0 / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4797, allocations: 4 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.4797, allocations: 0 / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.48, allocations: 175.4 kB / 0.7716 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.48, allocations: 77.11 kB / 0.7717 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.4801, allocations: 4.359 kB / 0.7717 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.124e-05/0.4802, allocations: 11.98 kB / 0.7717 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.4802, allocations: 11.98 kB / 0.7717 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.4802, allocations: 3.938 kB / 0.7717 GB, free: 14.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.209e-05/0.4803, allocations: 87.59 kB / 0.7718 GB, free: 14.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4803, allocations: 0 / 0.7718 GB, free: 14.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002479/0.4805, allocations: 15.94 kB / 0.7718 GB, free: 14.67 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.0001886/0.4807, allocations: 119.2 kB / 0.772 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.4809, allocations: 47.95 kB / 0.772 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4809, allocations: 4 kB / 0.772 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.481, allocations: 23.97 kB / 0.772 GB, free: 14.47 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.4813, allocations: 9.969 kB / 0.772 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.4816, allocations: 125.5 kB / 0.7722 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.482, allocations: 0.6845 MB / 0.7728 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.029e-05/0.482, allocations: 8.219 kB / 0.7728 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.482, allocations: 11.44 kB / 0.7728 GB, free: 13.59 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.482, allocations: 0 / 0.7728 GB, free: 13.59 MB / 0.545 GB Notification: Performance of Templates: time 0.00355/0.4856, allocations: 0.9817 MB / 0.7738 GB, free: 12.61 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1)