Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009862/0.0009905, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008208/0.0008208, allocations: 184.6 kB / 16.92 MB, free: 6.754 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.524/1.524, allocations: 223.3 MB / 241 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7188/0.7188, allocations: 115.5 MB / 407.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003545, allocations: 8 kB / 495.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1828, allocations: 77.53 MB / 0.5599 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.002225/0.1851, allocations: 1.25 MB / 0.5612 GB, free: 7.758 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006471/0.1858, allocations: 172.3 kB / 0.5613 GB, free: 7.586 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.355e-05/0.1858, allocations: 0 / 0.5613 GB, free: 7.586 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.1859, allocations: 7.984 kB / 0.5613 GB, free: 7.578 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.627e-05/0.186, allocations: 4 kB / 0.5613 GB, free: 7.574 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.1863, allocations: 39.89 kB / 0.5614 GB, free: 7.535 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.833e-05/0.1865, allocations: 39.86 kB / 0.5614 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1866, allocations: 11.98 kB / 0.5614 GB, free: 7.484 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.882e-05/0.1866, allocations: 7.984 kB / 0.5614 GB, free: 7.477 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.388e-05/0.1867, allocations: 19.92 kB / 0.5614 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.1867, allocations: 4 kB / 0.5615 GB, free: 7.453 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.1869, allocations: 43.95 kB / 0.5615 GB, free: 7.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.1869, allocations: 7.938 kB / 0.5615 GB, free: 7.402 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.1869, allocations: 37.62 kB / 0.5615 GB, free: 7.359 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.1871, allocations: 59.84 kB / 0.5616 GB, free: 7.301 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1871, allocations: 0 / 0.5616 GB, free: 7.301 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1871, allocations: 0 / 0.5616 GB, free: 7.301 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.1871, allocations: 0 / 0.5616 GB, free: 7.301 MB / 430.1 MB 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.0005128/0.1876, allocations: 359.7 kB / 0.5619 GB, free: 6.898 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.1877, allocations: 16.02 kB / 0.562 GB, free: 6.883 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.1877, allocations: 0.9375 kB / 0.562 GB, free: 6.883 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.1879, allocations: 168.3 kB / 0.5621 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.1879, allocations: 4.375 kB / 0.5621 GB, free: 6.676 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.1879, allocations: 8.312 kB / 0.5621 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.1882, allocations: 66.22 kB / 0.5622 GB, free: 6.598 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.1882, allocations: 4.188 kB / 0.5622 GB, free: 6.594 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1882, allocations: 3.938 kB / 0.5622 GB, free: 6.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/0.1882, allocations: 4 kB / 0.5622 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.1884, allocations: 51.95 kB / 0.5623 GB, free: 6.535 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.1889, allocations: 288.7 kB / 0.5625 GB, free: 6.203 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.1892, allocations: 66.52 kB / 0.5626 GB, free: 6.129 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.1893, allocations: 32.91 kB / 0.5626 GB, free: 6.094 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/0.1896, allocations: 174.1 kB / 0.5628 GB, free: 5.887 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.1896, allocations: 30.56 kB / 0.5628 GB, free: 5.848 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.1896, allocations: 0 / 0.5628 GB, free: 5.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.00044/0.1901, allocations: 117.5 kB / 0.5629 GB, free: 5.727 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.1901, allocations: 51.41 kB / 0.563 GB, free: 5.664 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.57e-05/0.1902, allocations: 113.8 kB / 0.5631 GB, free: 5.543 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1902, allocations: 25.7 kB / 0.5631 GB, free: 5.512 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.1903, allocations: 88.12 kB / 0.5632 GB, free: 5.422 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.1903, allocations: 7.906 kB / 0.5632 GB, free: 5.414 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.1904, allocations: 17.72 kB / 0.5632 GB, free: 5.391 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1905, allocations: 314.8 kB / 0.5635 GB, free: 5.074 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.1906, allocations: 27.97 kB / 0.5635 GB, free: 5.047 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.789e-05/0.1907, allocations: 27.92 kB / 0.5636 GB, free: 5.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.1909, allocations: 56.81 kB / 0.5636 GB, free: 4.961 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1909, allocations: 0 / 0.5636 GB, free: 4.961 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002474/0.1911, allocations: 89.59 kB / 0.5637 GB, free: 4.867 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1912, allocations: 9.875 kB / 0.5637 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1912, allocations: 0 / 0.5637 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1912, allocations: 0 / 0.5637 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.438e-05/0.1913, allocations: 15.98 kB / 0.5637 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1913, allocations: 0 / 0.5637 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.323e-05/0.1914, allocations: 11.89 kB / 0.5637 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.1914, allocations: 8 kB / 0.5638 GB, free: 4.824 MB / 430.1 MB 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 0.0001033/0.1915, allocations: 113.8 kB / 0.5639 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.1915, allocations: 4 kB / 0.5639 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.1918, allocations: 97.48 kB / 0.564 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1918, allocations: 0 / 0.564 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1918, allocations: 0 / 0.564 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1919, allocations: 3.984 kB / 0.564 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.192, allocations: 169.6 kB / 0.5641 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.192, allocations: 0 / 0.5641 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.006e-05/0.1921, allocations: 15.98 kB / 0.5641 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1921, allocations: 0 / 0.5641 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1922, allocations: 4 kB / 0.5641 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1922, allocations: 0 / 0.5641 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1922, allocations: 4 kB / 0.5641 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.1925, allocations: 187.7 kB / 0.5643 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.1925, allocations: 81.14 kB / 0.5644 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.1925, allocations: 7.984 kB / 0.5644 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.138e-05/0.1926, allocations: 8 kB / 0.5644 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.1927, allocations: 7.922 kB / 0.5644 GB, free: 4.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.1927, allocations: 4 kB / 0.5644 GB, free: 4.027 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.597e-05/0.1928, allocations: 91.2 kB / 0.5645 GB, free: 3.938 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1928, allocations: 0 / 0.5645 GB, free: 3.938 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1931, allocations: 20 kB / 0.5645 GB, free: 3.918 MB / 430.1 MB 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.0002065/0.1933, allocations: 123.2 kB / 0.5647 GB, free: 3.789 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.1935, allocations: 55.95 kB / 0.5647 GB, free: 3.734 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1935, allocations: 0 / 0.5647 GB, free: 3.734 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.1937, allocations: 35.97 kB / 0.5647 GB, free: 3.699 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.194, allocations: 11.88 kB / 0.5648 GB, free: 3.688 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.1943, allocations: 128.6 kB / 0.5649 GB, free: 3.539 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.1946, allocations: 0.6809 MB / 0.5655 GB, free: 2.832 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.386e-05/0.1946, allocations: 4 kB / 0.5655 GB, free: 2.828 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.1946, allocations: 11.44 kB / 0.5656 GB, free: 2.816 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1947, allocations: 0 / 0.5656 GB, free: 2.816 MB / 430.1 MB Notification: Performance of Templates: time 0.003397/0.1981, allocations: 0.8752 MB / 0.5664 GB, free: 1.945 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)