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.8475/0.8475, allocations: 132.4 MB / 139.9 MB, free: 15.41 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.001136/0.001136, allocations: 167.4 kB / 171.8 MB, free: 2.008 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.437/1.437, allocations: 170.6 MB / 374.2 MB, free: 15.7 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.001633/0.001634, allocations: 107.3 kB / 444.8 MB, free: 9.227 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.516/0.516, allocations: 73.4 MB / 0.6666 GB, free: 46.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/0.6788, allocations: 100.3 MB / 0.7645 GB, free: 4.551 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.6792, allocations: 85.77 kB / 0.7646 GB, free: 4.469 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002674/0.6819, allocations: 1.017 MB / 0.7656 GB, free: 3.473 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6819, allocations: 0 / 0.7656 GB, free: 3.473 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.6819, allocations: 4.969 kB / 0.7656 GB, free: 3.469 MB / 474.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.0002653/0.6822, allocations: 321 kB / 0.7659 GB, free: 3.117 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.6822, allocations: 12.03 kB / 0.7659 GB, free: 3.105 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.6823, allocations: 4 kB / 0.7659 GB, free: 3.102 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.6824, allocations: 175.4 kB / 0.7661 GB, free: 2.895 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.6824, allocations: 1.094 kB / 0.7661 GB, free: 2.895 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.6825, allocations: 0 / 0.7661 GB, free: 2.895 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.26e-05/0.6825, allocations: 15.98 kB / 0.7661 GB, free: 2.879 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.6827, allocations: 77.64 kB / 0.7662 GB, free: 2.789 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.6827, allocations: 7.547 kB / 0.7662 GB, free: 2.785 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.6827, allocations: 0.5938 kB / 0.7662 GB, free: 2.785 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.6827, allocations: 0 / 0.7662 GB, free: 2.785 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008596/0.6836, allocations: 1.092 MB / 0.7673 GB, free: 1.551 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.563e-05/0.6837, allocations: 183.5 kB / 0.7674 GB, free: 1.363 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.977e-05/0.6837, allocations: 83.11 kB / 0.7675 GB, free: 1.281 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.6838, allocations: 75.94 kB / 0.7676 GB, free: 1.207 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.6838, allocations: 105.8 kB / 0.7677 GB, free: 1.094 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 3.046e-06/0.6838, allocations: 0 / 0.7677 GB, free: 1.094 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 8.59e-05/0.6839, allocations: 33.64 kB / 0.7677 GB, free: 1.055 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.684, allocations: 81.11 kB / 0.7678 GB, free: 0.957 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.6841, allocations: 126.4 kB / 0.7679 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.6841, allocations: 25.7 kB / 0.7679 GB, free: 0.793 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.6842, allocations: 88.05 kB / 0.768 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.6842, allocations: 4 kB / 0.768 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.6842, allocations: 0 / 0.768 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.6843, allocations: 310.8 kB / 0.7683 GB, free: 396 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.985e-05/0.6844, allocations: 21.42 kB / 0.7683 GB, free: 376 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.347e-05/0.6844, allocations: 44.28 kB / 0.7684 GB, free: 316 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.6845, allocations: 15.98 kB / 0.7684 GB, free: 300 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6845, allocations: 0 / 0.7684 GB, free: 300 kB / 474.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002141/0.6848, allocations: 73.69 kB / 0.7685 GB, free: 220 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.6848, allocations: 8 kB / 0.7685 GB, free: 212 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.6848, allocations: 0 / 0.7685 GB, free: 212 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.6848, allocations: 9.609 kB / 0.7685 GB, free: 204 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.487e-05/0.6849, allocations: 11.94 kB / 0.7685 GB, free: 192 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.6849, allocations: 0.625 kB / 0.7685 GB, free: 192 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.312e-05/0.685, allocations: 11.84 kB / 0.7685 GB, free: 180 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.685, allocations: 0 / 0.7685 GB, free: 180 kB / 474.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.0001386/0.6852, allocations: 184.3 kB / 0.7687 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.513e-05/0.6853, allocations: 112.9 kB / 0.7688 GB, free: 15.87 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.498e-05/0.6853, allocations: 112.9 kB / 0.7689 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-05/0.6854, allocations: 181.4 kB / 0.7691 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.017e-05/0.6855, allocations: 178 kB / 0.7692 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.274e-05/0.6856, allocations: 184.2 kB / 0.7694 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.6859, allocations: 389.8 kB / 0.7698 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.229e-05/0.6859, allocations: 105.4 kB / 0.7699 GB, free: 14.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.072e-05/0.686, allocations: 104.9 kB / 0.77 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-05/0.6861, allocations: 181 kB / 0.7702 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.6862, allocations: 176.3 kB / 0.7703 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001127/0.6863, allocations: 188.1 kB / 0.7705 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.955e-05/0.6865, allocations: 184.3 kB / 0.7707 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.6867, allocations: 307.7 kB / 0.771 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.6868, allocations: 182.1 kB / 0.7712 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.687, allocations: 185.6 kB / 0.7713 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.6871, allocations: 108.9 kB / 0.7714 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.579e-05/0.6872, allocations: 185.5 kB / 0.7716 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.473e-05/0.6873, allocations: 105 kB / 0.7717 GB, free: 12.69 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.345e-05/0.6873, allocations: 101.2 kB / 0.7718 GB, free: 12.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6874, allocations: 0 / 0.7718 GB, free: 12.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002834/0.6876, allocations: 8 kB / 0.7718 GB, free: 12.59 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.0002449/0.6879, allocations: 178.5 kB / 0.772 GB, free: 12.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.688, allocations: 19.98 kB / 0.772 GB, free: 12.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.688, allocations: 0 / 0.772 GB, free: 12.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.97e-06/0.688, allocations: 7.938 kB / 0.772 GB, free: 12.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.6885, allocations: 0.5185 MB / 0.7725 GB, free: 11.85 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002795/0.6888, allocations: 144.6 kB / 0.7727 GB, free: 11.69 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.6892, allocations: 0.6855 MB / 0.7733 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.396e-05/0.6892, allocations: 7 kB / 0.7733 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.6893, allocations: 11.44 kB / 0.7733 GB, free: 10.97 MB / 490.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6893, allocations: 0 / 0.7733 GB, free: 10.97 MB / 490.7 MB Notification: Performance of Templates: time 0.002849/0.6921, allocations: 449.4 kB / 0.7738 GB, free: 10.56 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)