Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1828/0.1835, allocations: 82.21 MB / 0.5935 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial): time 0.0007603/0.1843, allocations: 280.9 kB / 0.5937 GB, free: 5.711 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000278/0.1846, allocations: 79.88 kB / 0.5938 GB, free: 5.633 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.725e-05/0.1846, allocations: 0 / 0.5938 GB, free: 5.633 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.309e-05/0.1847, allocations: 3.938 kB / 0.5938 GB, free: 5.629 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.836e-05/0.1847, allocations: 4 kB / 0.5938 GB, free: 5.625 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.1849, allocations: 11.94 kB / 0.5938 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.004e-05/0.185, allocations: 3.984 kB / 0.5938 GB, free: 5.609 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.788e-05/0.185, allocations: 4 kB / 0.5939 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.481e-05/0.1851, allocations: 4 kB / 0.5939 GB, free: 5.602 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.435e-05/0.1852, allocations: 4 kB / 0.5939 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.1852, allocations: 0 / 0.5939 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.273e-05/0.1852, allocations: 11.98 kB / 0.5939 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/0.1853, allocations: 11.92 kB / 0.5939 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.1853, allocations: 25.7 kB / 0.5939 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.542e-05/0.1854, allocations: 15.98 kB / 0.5939 GB, free: 5.527 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1854, allocations: 0 / 0.5939 GB, free: 5.527 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1854, allocations: 0 / 0.5939 GB, free: 5.527 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.1854, allocations: 0 / 0.5939 GB, free: 5.527 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003155/0.1857, allocations: 331.5 kB / 0.5942 GB, free: 5.156 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1858, allocations: 12.03 kB / 0.5942 GB, free: 5.145 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.1858, allocations: 0 / 0.5942 GB, free: 5.145 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.1859, allocations: 163 kB / 0.5944 GB, free: 4.945 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.186, allocations: 8 kB / 0.5944 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.186, allocations: 3.984 kB / 0.5944 GB, free: 4.934 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.1861, allocations: 57.56 kB / 0.5945 GB, free: 4.871 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.1861, allocations: 0 / 0.5945 GB, free: 4.871 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1862, allocations: 0 / 0.5945 GB, free: 4.871 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.1862, allocations: 8 kB / 0.5945 GB, free: 4.863 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.921e-05/0.1862, allocations: 11.98 kB / 0.5945 GB, free: 4.852 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006985/0.1869, allocations: 0.794 MB / 0.5953 GB, free: 3.914 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.552e-05/0.187, allocations: 169.1 kB / 0.5954 GB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.84e-05/0.1871, allocations: 88.08 kB / 0.5955 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.1871, allocations: 79.28 kB / 0.5956 GB, free: 3.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.201e-05/0.1872, allocations: 109.8 kB / 0.5957 GB, free: 3.453 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.1872, allocations: 0 / 0.5957 GB, free: 3.453 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 9.365e-05/0.1873, allocations: 33.61 kB / 0.5957 GB, free: 3.414 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.581e-05/0.1873, allocations: 152.4 kB / 0.5959 GB, free: 3.246 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.1875, allocations: 138.2 kB / 0.596 GB, free: 3.102 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1875, allocations: 25.7 kB / 0.596 GB, free: 3.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.1876, allocations: 96.05 kB / 0.5961 GB, free: 2.973 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-06/0.1876, allocations: 4.078 kB / 0.5961 GB, free: 2.969 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.1876, allocations: 3.938 kB / 0.5961 GB, free: 2.965 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1877, allocations: 322.8 kB / 0.5964 GB, free: 2.641 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.1877, allocations: 7.984 kB / 0.5964 GB, free: 2.633 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.54e-05/0.1878, allocations: 44.28 kB / 0.5965 GB, free: 2.574 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.845e-05/0.1878, allocations: 16.02 kB / 0.5965 GB, free: 2.559 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1878, allocations: 0 / 0.5965 GB, free: 2.559 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001583/0.188, allocations: 81.45 kB / 0.5966 GB, free: 2.473 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.188, allocations: 10.5 kB / 0.5966 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.188, allocations: 0 / 0.5966 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.1881, allocations: 4.156 kB / 0.5966 GB, free: 2.461 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.803e-05/0.1881, allocations: 11.98 kB / 0.5966 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.1882, allocations: 4 kB / 0.5966 GB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.137e-05/0.1882, allocations: 0 / 0.5966 GB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1882, allocations: 4 kB / 0.5966 GB, free: 2.441 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (y[5],y[4],y[3],y[2],y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.1884, allocations: 209.9 kB / 0.5968 GB, free: 2.227 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/0.1884, allocations: 101 kB / 0.5969 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.596e-05/0.1885, allocations: 112.5 kB / 0.597 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-05/0.1885, allocations: 184.2 kB / 0.5972 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.279e-05/0.1886, allocations: 180.3 kB / 0.5974 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.399e-05/0.1887, allocations: 184.2 kB / 0.5975 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.1889, allocations: 409.2 kB / 0.5979 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.279e-05/0.189, allocations: 101 kB / 0.598 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.189, allocations: 112.9 kB / 0.5981 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.515e-05/0.1891, allocations: 180.2 kB / 0.5983 GB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-05/0.1891, allocations: 180.9 kB / 0.5985 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.83e-05/0.1892, allocations: 184.2 kB / 0.5986 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.2e-05/0.1893, allocations: 184.2 kB / 0.5988 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.1894, allocations: 311.8 kB / 0.5991 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-05/0.1895, allocations: 190.2 kB / 0.5993 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.371e-05/0.1896, allocations: 188.2 kB / 0.5995 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1897, allocations: 109 kB / 0.5996 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-05/0.1898, allocations: 176.3 kB / 0.5998 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.1898, allocations: 109 kB / 0.5999 GB, free: 14.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.598e-05/0.1899, allocations: 107.2 kB / 0.6 GB, free: 14.78 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1899, allocations: 3.938 kB / 0.6 GB, free: 14.78 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.1902, allocations: 8 kB / 0.6 GB, free: 14.77 MB / 462.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001639/0.1903, allocations: 174.5 kB / 0.6001 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 9.506e-05/0.1904, allocations: 20.23 kB / 0.6002 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.1905, allocations: 4.062 kB / 0.6002 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.1905, allocations: 3.938 kB / 0.6002 GB, free: 14.56 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.1909, allocations: 0.5224 MB / 0.6007 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002178/0.1911, allocations: 182 kB / 0.6008 GB, free: 13.83 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.1914, allocations: 0.6808 MB / 0.6015 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.33e-05/0.1914, allocations: 7.984 kB / 0.6015 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.439e-05/0.1915, allocations: 11.44 kB / 0.6015 GB, free: 13.1 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1915, allocations: 0 / 0.6015 GB, free: 13.1 MB / 462.1 MB Notification: Performance of Templates: time 0.002486/0.194, allocations: 466.3 kB / 0.602 GB, free: 12.68 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial.pipe 2>&1) Environment - environmentSimulation: