Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001048/0.001048, allocations: 107.6 kB / 16.36 MB, free: 6.48 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.001037/0.001037, allocations: 193.7 kB / 17.3 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.805/1.805, allocations: 292.3 MB / 0.5496 GB, free: 17.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 72.45 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.241, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002796/0.2438, allocations: 1.532 MB / 0.7863 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000467/0.2443, allocations: 168.3 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.2443, allocations: 0 / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.573e-05/0.2444, allocations: 3.938 kB / 0.7864 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.21e-05/0.2444, allocations: 7.922 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.2448, allocations: 51.88 kB / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.096e-05/0.2449, allocations: 39.86 kB / 0.7865 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.985e-05/0.245, allocations: 15.98 kB / 0.7866 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.074e-05/0.245, allocations: 15.98 kB / 0.7866 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.479e-05/0.2451, allocations: 15.92 kB / 0.7866 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.2451, allocations: 4 kB / 0.7866 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.2452, allocations: 55.94 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.2452, allocations: 7.938 kB / 0.7866 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.132e-05/0.2453, allocations: 15.92 kB / 0.7867 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.2454, allocations: 59.8 kB / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2454, allocations: 0 / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2454, allocations: 7.938 kB / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.497e-06/0.2454, allocations: 7.984 kB / 0.7867 GB, free: 1.18 MB / 0.6544 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.0004839/0.2459, allocations: 351.4 kB / 0.7871 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.246, allocations: 8.031 kB / 0.7871 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.246, allocations: 0.9375 kB / 0.7871 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.2461, allocations: 180.2 kB / 0.7873 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.2462, allocations: 384 / 0.7873 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.2462, allocations: 4.375 kB / 0.7873 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.2464, allocations: 62.23 kB / 0.7873 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.2464, allocations: 192 / 0.7873 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.2464, allocations: 7.922 kB / 0.7873 GB, free: 496 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.2464, allocations: 4 kB / 0.7873 GB, free: 492 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.2466, allocations: 47.94 kB / 0.7874 GB, free: 444 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.247, allocations: 284.6 kB / 0.7876 GB, free: 108 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.2473, allocations: 62.53 kB / 0.7877 GB, free: 36 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.2474, allocations: 28.91 kB / 0.7877 GB, free: 4 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3204/0.5679, allocations: 163.1 kB / 0.7879 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.5679, allocations: 32.66 kB / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.024e-06/0.5679, allocations: 0 / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0003915/0.5683, allocations: 98.84 kB / 0.788 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.5684, allocations: 54.03 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.198e-05/0.5684, allocations: 109.2 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.5685, allocations: 25.7 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.476e-05/0.5685, allocations: 85.52 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.5685, allocations: 13.08 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.5685, allocations: 18.69 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.491e-05/0.5686, allocations: 321.8 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.514e-05/0.5687, allocations: 18.73 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-05/0.5687, allocations: 21.81 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.5689, allocations: 48.12 kB / 0.7887 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5689, allocations: 0 / 0.7887 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001876/0.5691, allocations: 77.02 kB / 0.7888 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.5691, allocations: 5.25 kB / 0.7888 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5691, allocations: 0 / 0.7888 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.5691, allocations: 0 / 0.7888 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.318e-05/0.5692, allocations: 13.97 kB / 0.7888 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.5692, allocations: 0 / 0.7888 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.936e-05/0.5693, allocations: 7.953 kB / 0.7888 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.5693, allocations: 2.625 kB / 0.7888 GB, free: 48.01 MB / 0.6544 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 4.668e-05/0.5694, allocations: 121.4 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.5694, allocations: 3.594 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.5696, allocations: 90.67 kB / 0.789 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5697, allocations: 0 / 0.789 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5697, allocations: 0 / 0.789 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5697, allocations: 1.406 kB / 0.789 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.5698, allocations: 166 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5698, allocations: 7.672 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.046e-05/0.5699, allocations: 8.766 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5699, allocations: 0 / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.5699, allocations: 5.656 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5699, allocations: 0 / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5699, allocations: 1.25 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.5701, allocations: 173.7 kB / 0.7893 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.5701, allocations: 83.2 kB / 0.7894 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.5702, allocations: 3.188 kB / 0.7894 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.134e-05/0.5703, allocations: 4.062 kB / 0.7894 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.5703, allocations: 9.25 kB / 0.7894 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.5703, allocations: 1.594 kB / 0.7894 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.591e-05/0.5703, allocations: 87.61 kB / 0.7895 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5703, allocations: 6.031 kB / 0.7895 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002447/0.5706, allocations: 21.59 kB / 0.7896 GB, free: 47.36 MB / 0.6544 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.0001278/0.5707, allocations: 121.2 kB / 0.7897 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.5709, allocations: 46.22 kB / 0.7897 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.571, allocations: 0 / 0.7897 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.826e-05/0.5711, allocations: 28.89 kB / 0.7897 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.5713, allocations: 9 kB / 0.7898 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002473/0.5716, allocations: 119.2 kB / 0.7899 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.927e-05/0.5717, allocations: 0.6806 MB / 0.7905 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.818e-05/0.5717, allocations: 9.344 kB / 0.7905 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.5717, allocations: 13.31 kB / 0.7906 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of SimCode: time 2.7e-07/0.5717, allocations: 0 / 0.7906 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of Templates: time 0.002779/0.5745, allocations: 0.9698 MB / 0.7915 GB, free: 46.46 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)