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.8107/0.8107, allocations: 133.7 MB / 148.6 MB, free: 13.65 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.001157/0.001158, allocations: 178.3 kB / 180.9 MB, free: 15.07 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.427/1.427, allocations: 170.7 MB / 383.7 MB, free: 16.18 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.001837/0.001836, allocations: 113.5 kB / 454.6 MB, free: 9.742 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.172/0.1725, allocations: 73.41 MB / 0.6812 GB, free: 5.551 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4501/0.6226, allocations: 101 MB / 0.7798 GB, free: 24.97 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.6229, allocations: 86.53 kB / 0.7799 GB, free: 24.93 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002482/0.6254, allocations: 1.027 MB / 0.7809 GB, free: 24.24 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6254, allocations: 0 / 0.7809 GB, free: 24.24 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.6254, allocations: 0 / 0.7809 GB, free: 24.24 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.0002133/0.6257, allocations: 329 kB / 0.7812 GB, free: 23.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.6257, allocations: 8.594 kB / 0.7812 GB, free: 23.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.6257, allocations: 8.781 kB / 0.7812 GB, free: 23.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.551e-05/0.6258, allocations: 164.5 kB / 0.7814 GB, free: 23.67 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.6259, allocations: 11.56 kB / 0.7814 GB, free: 23.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.6259, allocations: 4 kB / 0.7814 GB, free: 23.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.626, allocations: 82 kB / 0.7815 GB, free: 23.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.626, allocations: 0 / 0.7815 GB, free: 23.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.626, allocations: 0 / 0.7815 GB, free: 23.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.626, allocations: 0 / 0.7815 GB, free: 23.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.012e-05/0.6261, allocations: 25.91 kB / 0.7815 GB, free: 23.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.6266, allocations: 1.127 MB / 0.7826 GB, free: 22.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.09e-05/0.6267, allocations: 169.7 kB / 0.7828 GB, free: 22.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.6267, allocations: 75.28 kB / 0.7829 GB, free: 22.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.6267, allocations: 114 kB / 0.783 GB, free: 21.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.6268, allocations: 0 / 0.783 GB, free: 21.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 5.831e-05/0.6268, allocations: 30.16 kB / 0.783 GB, free: 21.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.6269, allocations: 153 kB / 0.7831 GB, free: 21.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.149e-05/0.627, allocations: 124.9 kB / 0.7833 GB, free: 21.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.627, allocations: 25.7 kB / 0.7833 GB, free: 21.58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.627, allocations: 100.6 kB / 0.7834 GB, free: 21.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.627, allocations: 0 / 0.7834 GB, free: 21.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.627, allocations: 0.6562 kB / 0.7834 GB, free: 21.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.972e-05/0.6271, allocations: 319.8 kB / 0.7837 GB, free: 21.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/0.6271, allocations: 7.047 kB / 0.7837 GB, free: 21.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.624e-05/0.6272, allocations: 49.86 kB / 0.7837 GB, free: 21.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.457e-05/0.6272, allocations: 19.3 kB / 0.7838 GB, free: 21.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6272, allocations: 4 kB / 0.7838 GB, free: 21.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001376/0.6273, allocations: 73.72 kB / 0.7838 GB, free: 21.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.6274, allocations: 12.75 kB / 0.7838 GB, free: 21.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.6274, allocations: 0.75 kB / 0.7838 GB, free: 21.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.6274, allocations: 4 kB / 0.7838 GB, free: 21.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.528e-05/0.6275, allocations: 13.48 kB / 0.7839 GB, free: 21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.6275, allocations: 0 / 0.7839 GB, free: 21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.089e-05/0.6275, allocations: 4.938 kB / 0.7839 GB, free: 21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.6276, allocations: 0.8438 kB / 0.7839 GB, free: 21 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 () * 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 7.294e-05/0.6276, allocations: 196.9 kB / 0.784 GB, free: 20.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.6277, allocations: 116.8 kB / 0.7842 GB, free: 20.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.13e-05/0.6277, allocations: 110.3 kB / 0.7843 GB, free: 20.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/0.6277, allocations: 176.9 kB / 0.7844 GB, free: 20.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.652e-05/0.6278, allocations: 188.2 kB / 0.7846 GB, free: 20.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.541e-05/0.6278, allocations: 177 kB / 0.7848 GB, free: 20.03 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.628, allocations: 405.5 kB / 0.7852 GB, free: 19.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/0.628, allocations: 113.5 kB / 0.7853 GB, free: 19.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-05/0.628, allocations: 102.8 kB / 0.7854 GB, free: 19.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.379e-05/0.628, allocations: 192.9 kB / 0.7856 GB, free: 19.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.6281, allocations: 181 kB / 0.7857 GB, free: 18.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.791e-05/0.6281, allocations: 188.2 kB / 0.7859 GB, free: 18.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.58e-05/0.6281, allocations: 185 kB / 0.7861 GB, free: 18.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.036e-05/0.6282, allocations: 305.3 kB / 0.7864 GB, free: 18.29 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.6283, allocations: 189.1 kB / 0.7866 GB, free: 18.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.6283, allocations: 182 kB / 0.7867 GB, free: 17.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.6284, allocations: 109.1 kB / 0.7868 GB, free: 17.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.6284, allocations: 185.1 kB / 0.787 GB, free: 17.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.6285, allocations: 105.8 kB / 0.7871 GB, free: 17.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.048e-05/0.6285, allocations: 102.5 kB / 0.7872 GB, free: 17.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6285, allocations: 0 / 0.7872 GB, free: 17.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002458/0.6288, allocations: 8 kB / 0.7872 GB, free: 17.4 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 () * 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.0001288/0.6289, allocations: 179.9 kB / 0.7874 GB, free: 17.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.897e-05/0.629, allocations: 27.84 kB / 0.7874 GB, free: 17.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.629, allocations: 0 / 0.7874 GB, free: 17.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.629, allocations: 0 / 0.7874 GB, free: 17.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.6292, allocations: 0.5264 MB / 0.7879 GB, free: 16.67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001755/0.6294, allocations: 180.5 kB / 0.7881 GB, free: 16.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.6295, allocations: 0.6779 MB / 0.7888 GB, free: 15.78 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.629e-05/0.6295, allocations: 16.25 kB / 0.7888 GB, free: 15.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.391e-05/0.6296, allocations: 8 kB / 0.7888 GB, free: 15.77 MB / 490.7 MB Notification: Performance of SimCode: time 2.11e-07/0.6296, allocations: 0 / 0.7888 GB, free: 15.77 MB / 490.7 MB Notification: Performance of Templates: time 0.002167/0.6317, allocations: 460.4 kB / 0.7892 GB, free: 15.5 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)