Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.BoreholeSegment.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.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.BoreholeSegment") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.BoreholeSegment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6908/0.6908, 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.001024/0.001024, allocations: 171.2 kB / 176.9 MB, free: 2.277 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.281/1.281, allocations: 170.5 MB / 379.3 MB, free: 11.82 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.001473/0.001473, allocations: 107.5 kB / 450 MB, free: 5.773 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.4844/0.4844, allocations: 73.39 MB / 0.6736 GB, free: 47.55 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.718/1.202, allocations: 385.1 MB / 1.05 GB, free: 15.57 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/1.203, allocations: 101.7 kB / 1.05 GB, free: 15.52 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.171/3.374, allocations: 0.5602 GB / 1.61 GB, free: 70.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/3.374, allocations: 0 / 1.61 GB, free: 70.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001631/3.374, allocations: 42.83 kB / 1.61 GB, free: 70.46 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.004997/3.379, allocations: 2.089 MB / 1.612 GB, free: 69.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/3.38, allocations: 8.844 kB / 1.612 GB, free: 69.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006235/3.38, allocations: 219.5 kB / 1.612 GB, free: 69.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02748/3.408, allocations: 13.11 MB / 1.625 GB, free: 68.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/3.408, allocations: 101.3 kB / 1.625 GB, free: 68.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/3.408, allocations: 145 kB / 1.625 GB, free: 68.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/3.411, allocations: 1.29 MB / 1.627 GB, free: 68.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.354e-05/3.411, allocations: 4.656 kB / 1.627 GB, free: 68.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/3.411, allocations: 50.58 kB / 1.627 GB, free: 68.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.418e-05/3.411, allocations: 35.09 kB / 1.627 GB, free: 68.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/3.413, allocations: 0.9428 MB / 1.628 GB, free: 68.71 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/3.423, allocations: 7.956 MB / 1.635 GB, free: 64.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002378/3.425, allocations: 1.057 MB / 1.636 GB, free: 64.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00058/3.426, allocations: 436.7 kB / 1.637 GB, free: 64.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003202/3.426, allocations: 279.2 kB / 1.637 GB, free: 64.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007491/3.427, allocations: 0.5127 MB / 1.638 GB, free: 64.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=76): time 2.385e-06/3.427, allocations: 0 / 1.638 GB, free: 64.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=84): time 0.005119/3.432, allocations: 2.918 MB / 1.64 GB, free: 63.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.042e-05/3.432, allocations: 281.4 kB / 1.641 GB, free: 63.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/3.433, allocations: 1.238 MB / 1.642 GB, free: 62.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.234e-05/3.434, allocations: 54.62 kB / 1.642 GB, free: 62.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004915/3.434, allocations: 0.7215 MB / 1.643 GB, free: 62.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/3.434, allocations: 301.6 kB / 1.643 GB, free: 62.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.991e-05/3.434, allocations: 28.56 kB / 1.643 GB, free: 62.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.932e-05/3.434, allocations: 368.7 kB / 1.643 GB, free: 62.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007932/3.435, allocations: 0.5492 MB / 1.644 GB, free: 62.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009444/3.436, allocations: 0.9207 MB / 1.645 GB, free: 61.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009257/3.437, allocations: 0.716 MB / 1.645 GB, free: 61.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/3.437, allocations: 5.656 kB / 1.645 GB, free: 61.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.002427/3.44, allocations: 1.847 MB / 1.647 GB, free: 61.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005604/3.44, allocations: 3.053 MB / 1.65 GB, free: 58.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/3.44, allocations: 8.344 kB / 1.65 GB, free: 58.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008127/3.441, allocations: 311.8 kB / 1.651 GB, free: 58.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/3.443, allocations: 339.9 kB / 1.651 GB, free: 58.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/3.444, allocations: 1.66 MB / 1.652 GB, free: 57.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/3.446, allocations: 153.6 kB / 1.653 GB, free: 57.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/3.446, allocations: 59.17 kB / 1.653 GB, free: 57.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/3.446, allocations: 7.312 kB / 1.653 GB, free: 57.33 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002408/3.449, allocations: 1.684 MB / 1.654 GB, free: 57.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/3.449, allocations: 12.94 kB / 1.654 GB, free: 57.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007201/3.449, allocations: 313.3 kB / 1.655 GB, free: 57.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/3.45, allocations: 273.8 kB / 1.655 GB, free: 57.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008687/3.451, allocations: 1.052 MB / 1.656 GB, free: 56.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/3.453, allocations: 145 kB / 1.656 GB, free: 56.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-05/3.453, allocations: 61.08 kB / 1.656 GB, free: 56.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.seg.TBouCon.iSam,seg.TBouCon.iSam,$PRE.seg.TBouCon.UOld,seg.TBouCon.UOld,$PRE.seg.TBouCon.QAve_flow,seg.TBouCon.QAve_flow,$whenCondition1,$PRE.seg.TBouCon.port.T,seg.TBouCon.port.T) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 29} Notification: Performance of prepare postOptimizeDAE: time 0.0002807/3.454, allocations: 210.9 kB / 1.656 GB, free: 56.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/3.454, allocations: 162.3 kB / 1.656 GB, free: 56.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/3.456, allocations: 1.105 MB / 1.658 GB, free: 56.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/3.456, allocations: 10.75 kB / 1.658 GB, free: 56.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/3.456, allocations: 3.938 kB / 1.658 GB, free: 56.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001188/3.457, allocations: 0.9911 MB / 1.659 GB, free: 56.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004009/3.461, allocations: 3.072 MB / 1.662 GB, free: 55.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/3.461, allocations: 8.781 kB / 1.662 GB, free: 55.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/3.462, allocations: 224.1 kB / 1.662 GB, free: 55.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002476/3.462, allocations: 118.4 kB / 1.662 GB, free: 55.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-05/3.462, allocations: 34.28 kB / 1.662 GB, free: 55.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003707/3.466, allocations: 6 MB / 1.668 GB, free: 50.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/3.466, allocations: 7.141 kB / 1.668 GB, free: 50.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/3.468, allocations: 1.742 MB / 1.669 GB, free: 49.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006603/3.469, allocations: 363.3 kB / 1.67 GB, free: 49.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/3.469, allocations: 30.61 kB / 1.67 GB, free: 49.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/3.47, allocations: 91.23 kB / 1.67 GB, free: 49.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/3.47, allocations: 68.09 kB / 1.67 GB, free: 49.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.578e-05/3.471, allocations: 25.47 kB / 1.67 GB, free: 49.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001402/3.472, allocations: 0.9257 MB / 1.671 GB, free: 49.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/3.472, allocations: 2.031 kB / 1.671 GB, free: 49.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003886/3.476, allocations: 1.141 MB / 1.672 GB, free: 49.26 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 14 (seg.pipFil.vol1.dynBal.medium.T,seg.pipFil.vol2.dynBal.medium.T,seg.pipFil.capFil1.T,seg.pipFil.capFil2.T,seg.soi.T[1],seg.soi.T[2],seg.soi.T[3],seg.soi.T[4],seg.soi.T[5],seg.soi.T[6],seg.soi.T[7],seg.soi.T[8],seg.soi.T[9],seg.TBouCon.U) * Number of discrete variables: 5 ($whenCondition1,seg.TBouCon.QAve_flow,seg.TBouCon.port.T,seg.TBouCon.UOld,seg.TBouCon.iSam) * Number of discrete states: 5 (seg.TBouCon.iSam,seg.TBouCon.port.T,seg.TBouCon.UOld,seg.TBouCon.QAve_flow,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001643/3.477, allocations: 0.778 MB / 1.673 GB, free: 49.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004616/3.482, allocations: 2.346 MB / 1.675 GB, free: 48.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/3.482, allocations: 0.6562 kB / 1.675 GB, free: 48.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00201/3.484, allocations: 0.9822 MB / 1.676 GB, free: 48.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003646/3.488, allocations: 0.7633 MB / 1.677 GB, free: 48.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005477/3.493, allocations: 3.054 MB / 1.68 GB, free: 47.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000853/3.494, allocations: 1.324 MB / 1.681 GB, free: 47.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002336/3.497, allocations: 0.5342 MB / 1.682 GB, free: 46.99 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/3.497, allocations: 102.8 kB / 1.682 GB, free: 46.98 MB / 0.6198 GB Notification: Performance of SimCode: time 1.403e-06/3.497, allocations: 0 / 1.682 GB, free: 46.98 MB / 0.6198 GB Notification: Performance of Templates: time 0.06627/3.563, allocations: 43.28 MB / 1.724 GB, free: 44.64 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.BoreholeSegment.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.BoreholeSegment.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.BoreholeSegment -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe 2>&1)