Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.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.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7728/0.7728, allocations: 132.4 MB / 139.7 MB, free: 15.49 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.001229/0.001229, allocations: 169.8 kB / 171.6 MB, free: 1.98 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.567/1.567, allocations: 170.5 MB / 373.9 MB, free: 15.88 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.001658/0.001658, allocations: 116.2 kB / 444.4 MB, free: 9.414 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.4522/0.4522, allocations: 73.39 MB / 0.666 GB, free: 62.58 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7893/1.242, allocations: 376 MB / 1.033 GB, free: 28.59 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003471/1.242, allocations: 104.6 kB / 1.033 GB, free: 28.53 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.849/3.091, allocations: 482.7 MB / 1.505 GB, free: 97.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002277/3.092, allocations: 35.81 kB / 1.505 GB, free: 97.42 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.004782/3.096, allocations: 1.446 MB / 1.506 GB, free: 96.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/3.096, allocations: 7.438 kB / 1.506 GB, free: 96.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/3.098, allocations: 161.7 kB / 1.506 GB, free: 96.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02887/3.126, allocations: 12.42 MB / 1.519 GB, free: 85.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.53e-05/3.127, allocations: 28 kB / 1.519 GB, free: 85.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003257/3.127, allocations: 56 kB / 1.519 GB, free: 85.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00164/3.129, allocations: 0.5741 MB / 1.519 GB, free: 84.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/3.13, allocations: 0.8332 MB / 1.52 GB, free: 83.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.968e-05/3.13, allocations: 4 kB / 1.52 GB, free: 83.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.33e-05/3.13, allocations: 3.906 kB / 1.52 GB, free: 83.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.413e-05/3.13, allocations: 43.11 kB / 1.52 GB, free: 83.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006233/3.137, allocations: 5.256 MB / 1.525 GB, free: 78.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006142/3.137, allocations: 350.2 kB / 1.525 GB, free: 78.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004095/3.138, allocations: 289 kB / 1.526 GB, free: 77.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003548/3.138, allocations: 271.8 kB / 1.526 GB, free: 77.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/3.138, allocations: 42.38 kB / 1.526 GB, free: 77.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=55): time 2.394e-06/3.138, allocations: 0 / 1.526 GB, free: 77.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57): time 0.005291/3.143, allocations: 1.549 MB / 1.528 GB, free: 75.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/3.143, allocations: 115.2 kB / 1.528 GB, free: 75.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/3.145, allocations: 0.685 MB / 1.528 GB, free: 74.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.703e-05/3.145, allocations: 28.73 kB / 1.528 GB, free: 74.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/3.145, allocations: 422.9 kB / 1.529 GB, free: 74.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/3.145, allocations: 193.1 kB / 1.529 GB, free: 74.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/3.145, allocations: 0 / 1.529 GB, free: 74.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001071/3.145, allocations: 334 kB / 1.529 GB, free: 73.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/3.146, allocations: 193.5 kB / 1.529 GB, free: 73.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000436/3.146, allocations: 433.2 kB / 1.53 GB, free: 73.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000798/3.147, allocations: 312.5 kB / 1.53 GB, free: 72.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/3.147, allocations: 7.219 kB / 1.53 GB, free: 72.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002189/3.149, allocations: 0.8825 MB / 1.531 GB, free: 72.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005302/3.15, allocations: 2.006 MB / 1.533 GB, free: 69.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.928e-05/3.15, allocations: 11.98 kB / 1.533 GB, free: 69.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003841/3.15, allocations: 131.7 kB / 1.533 GB, free: 69.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/3.151, allocations: 139.8 kB / 1.533 GB, free: 69.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003046/3.154, allocations: 4.658 MB / 1.538 GB, free: 64.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/3.155, allocations: 51.09 kB / 1.538 GB, free: 64.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.999e-05/3.155, allocations: 36 kB / 1.538 GB, free: 64.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.699e-06/3.155, allocations: 4 kB / 1.538 GB, free: 64.53 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001556/3.156, allocations: 0.7644 MB / 1.539 GB, free: 63.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/3.156, allocations: 7.984 kB / 1.539 GB, free: 63.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002552/3.157, allocations: 118.7 kB / 1.539 GB, free: 63.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004815/3.157, allocations: 143.8 kB / 1.539 GB, free: 63.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003353/3.161, allocations: 5.465 MB / 1.544 GB, free: 57.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007858/3.161, allocations: 54.23 kB / 1.544 GB, free: 57.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.7e-05/3.161, allocations: 32 kB / 1.544 GB, free: 57.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001903/3.162, allocations: 128.6 kB / 1.544 GB, free: 57.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/3.162, allocations: 90.88 kB / 1.545 GB, free: 57.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/3.164, allocations: 0.8078 MB / 1.545 GB, free: 56.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/3.164, allocations: 8 kB / 1.545 GB, free: 56.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/3.164, allocations: 0.6562 kB / 1.545 GB, free: 56.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001445/3.165, allocations: 0.7614 MB / 1.546 GB, free: 55.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003004/3.168, allocations: 1.794 MB / 1.548 GB, free: 53.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/3.168, allocations: 0 / 1.548 GB, free: 53.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003425/3.168, allocations: 79.89 kB / 1.548 GB, free: 53.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004021/3.169, allocations: 208.9 kB / 1.548 GB, free: 53.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/3.169, allocations: 8 kB / 1.548 GB, free: 53.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004111/3.173, allocations: 6.668 MB / 1.555 GB, free: 46.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/3.173, allocations: 0 / 1.555 GB, free: 46.31 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001866/3.175, allocations: 1.224 MB / 1.556 GB, free: 45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003549/3.175, allocations: 243.8 kB / 1.556 GB, free: 44.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/3.175, allocations: 4 kB / 1.556 GB, free: 44.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006155/3.176, allocations: 67.66 kB / 1.556 GB, free: 44.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/3.176, allocations: 36.36 kB / 1.556 GB, free: 44.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/3.176, allocations: 23.98 kB / 1.556 GB, free: 44.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0005868/3.177, allocations: 0.5112 MB / 1.557 GB, free: 44.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002584/3.179, allocations: 0.6357 MB / 1.557 GB, free: 43.46 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.capFil1.T,hex.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 38 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001156/3.181, allocations: 0.6358 MB / 1.558 GB, free: 42.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001847/3.182, allocations: 1.669 MB / 1.56 GB, free: 41.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/3.182, allocations: 0 / 1.56 GB, free: 41.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005988/3.183, allocations: 0.6732 MB / 1.56 GB, free: 40.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/3.185, allocations: 449.5 kB / 1.561 GB, free: 40.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/3.188, allocations: 1.584 MB / 1.562 GB, free: 38.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006709/3.188, allocations: 1.203 MB / 1.563 GB, free: 37.19 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/3.188, allocations: 0 / 1.563 GB, free: 37.19 MB / 0.6198 GB Notification: Performance of Templates: time 0.03955/3.228, allocations: 26.68 MB / 1.589 GB, free: 10.95 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)