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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7055/0.7055, allocations: 132.3 MB / 144.9 MB, free: 10.55 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001013/0.001013, allocations: 176.8 kB / 176.9 MB, free: 2.301 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.218/1.218, allocations: 170.5 MB / 379.3 MB, free: 11.91 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001483/0.001483, allocations: 114.1 kB / 450 MB, free: 5.852 MB / 346.7 MB [/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.4382/0.4383, allocations: 73.39 MB / 0.6736 GB, free: 47.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1294/0.5678, allocations: 100.9 MB / 0.7722 GB, free: 15.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.5681, allocations: 84.55 kB / 0.7723 GB, free: 15.72 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002455/0.5705, allocations: 1.02 MB / 0.7733 GB, free: 14.72 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.5705, allocations: 0 / 0.7733 GB, free: 14.72 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.5706, allocations: 0 / 0.7733 GB, free: 14.72 MB / 490.7 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.0002558/0.5708, allocations: 321.6 kB / 0.7736 GB, free: 14.37 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.5709, allocations: 13.72 kB / 0.7736 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.5709, allocations: 5.875 kB / 0.7736 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.5711, allocations: 169.7 kB / 0.7737 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.5711, allocations: 0.6875 kB / 0.7737 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.5711, allocations: 0 / 0.7737 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.5712, allocations: 88.28 kB / 0.7738 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.5712, allocations: 0 / 0.7738 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.5713, allocations: 9.828 kB / 0.7738 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.5713, allocations: 0 / 0.7738 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.06e-05/0.5713, allocations: 19.92 kB / 0.7739 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007865/0.5721, allocations: 1.121 MB / 0.7749 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.982e-05/0.5722, allocations: 165.1 kB / 0.7751 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.722e-05/0.5722, allocations: 82.34 kB / 0.7752 GB, free: 12.49 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.5723, allocations: 79.28 kB / 0.7753 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.918e-05/0.5723, allocations: 113.8 kB / 0.7754 GB, free: 12.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.5723, allocations: 0 / 0.7754 GB, free: 12.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 6.807e-05/0.5724, allocations: 33.59 kB / 0.7754 GB, free: 12.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.724e-05/0.5725, allocations: 152.4 kB / 0.7755 GB, free: 12.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.5726, allocations: 123 kB / 0.7757 GB, free: 11.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.5726, allocations: 29.7 kB / 0.7757 GB, free: 11.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.5727, allocations: 95.97 kB / 0.7758 GB, free: 11.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.681e-06/0.5727, allocations: 7.984 kB / 0.7758 GB, free: 11.81 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.5727, allocations: 0 / 0.7758 GB, free: 11.81 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.5728, allocations: 314.8 kB / 0.7761 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.5729, allocations: 11.98 kB / 0.7761 GB, free: 11.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.182e-05/0.5729, allocations: 41.83 kB / 0.7761 GB, free: 11.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.664e-05/0.573, allocations: 24 kB / 0.7762 GB, free: 11.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.573, allocations: 0 / 0.7762 GB, free: 11.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001573/0.5731, allocations: 81.41 kB / 0.7762 GB, free: 11.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.5732, allocations: 4 kB / 0.7762 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5732, allocations: 8.156 kB / 0.7763 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.5732, allocations: 0 / 0.7763 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.193e-05/0.5733, allocations: 8 kB / 0.7763 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.5733, allocations: 4 kB / 0.7763 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.266e-05/0.5733, allocations: 7.984 kB / 0.7763 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.5734, allocations: 4 kB / 0.7763 GB, free: 11.29 MB / 490.7 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 () * 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.0001162/0.5735, allocations: 180.3 kB / 0.7764 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/0.5735, allocations: 112.9 kB / 0.7766 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.822e-05/0.5736, allocations: 112.6 kB / 0.7767 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.997e-05/0.5737, allocations: 184.2 kB / 0.7768 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.016e-05/0.5738, allocations: 180.3 kB / 0.777 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.847e-05/0.5738, allocations: 176.3 kB / 0.7772 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.5741, allocations: 411.6 kB / 0.7776 GB, free: 9.863 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.338e-05/0.5741, allocations: 105.4 kB / 0.7777 GB, free: 9.754 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.12e-05/0.5742, allocations: 108.9 kB / 0.7778 GB, free: 9.641 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.011e-05/0.5743, allocations: 194.6 kB / 0.778 GB, free: 9.445 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.047e-05/0.5743, allocations: 180.2 kB / 0.7781 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.662e-05/0.5744, allocations: 180.2 kB / 0.7783 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.466e-05/0.5745, allocations: 180.3 kB / 0.7785 GB, free: 8.895 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.5747, allocations: 315.7 kB / 0.7788 GB, free: 8.562 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.901e-05/0.5748, allocations: 182.1 kB / 0.779 GB, free: 8.359 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.095e-05/0.5748, allocations: 192.1 kB / 0.7791 GB, free: 8.164 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.794e-05/0.575, allocations: 102.8 kB / 0.7792 GB, free: 8.059 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.012e-05/0.575, allocations: 188.2 kB / 0.7794 GB, free: 7.867 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.5751, allocations: 101 kB / 0.7795 GB, free: 7.762 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.379e-05/0.5752, allocations: 95.27 kB / 0.7796 GB, free: 7.668 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5752, allocations: 4 kB / 0.7796 GB, free: 7.664 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002362/0.5754, allocations: 7.281 kB / 0.7796 GB, free: 7.66 MB / 490.7 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 () * 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.0001808/0.5756, allocations: 182.5 kB / 0.7798 GB, free: 7.473 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.026e-05/0.5757, allocations: 19.94 kB / 0.7798 GB, free: 7.453 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5757, allocations: 0 / 0.7798 GB, free: 7.453 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/0.5757, allocations: 4 kB / 0.7798 GB, free: 7.449 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.576, allocations: 0.5262 MB / 0.7803 GB, free: 6.918 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001884/0.5762, allocations: 141.6 kB / 0.7805 GB, free: 6.762 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.5765, allocations: 0.6848 MB / 0.7811 GB, free: 6.051 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.312e-05/0.5765, allocations: 13.55 kB / 0.7811 GB, free: 6.039 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.485e-05/0.5765, allocations: 7.438 kB / 0.7811 GB, free: 6.035 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5765, allocations: 3.938 kB / 0.7811 GB, free: 6.031 MB / 490.7 MB Notification: Performance of Templates: time 0.002299/0.5788, allocations: 471 kB / 0.7816 GB, free: 5.602 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.Factorial.makefile (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)