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.8488/0.8488, allocations: 133.7 MB / 148.6 MB, free: 13.64 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.001167/0.001167, allocations: 172.1 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.836/1.836, allocations: 170.7 MB / 383.7 MB, free: 16.26 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.001728/0.001727, allocations: 124 kB / 454.6 MB, free: 9.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.2219/0.2226, allocations: 73.42 MB / 0.6812 GB, free: 5.52 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.305/1.528, allocations: 385.2 MB / 1.057 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004902/1.528, allocations: 115.9 kB / 1.057 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.027/3.555, allocations: 0.5619 GB / 1.619 GB, free: 35.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.336e-06/3.555, allocations: 3.938 kB / 1.619 GB, free: 35.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001691/3.555, allocations: 39.98 kB / 1.619 GB, free: 35.27 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.006546/3.562, allocations: 2.384 MB / 1.622 GB, free: 32.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.451e-05/3.562, allocations: 8.031 kB / 1.622 GB, free: 32.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007118/3.563, allocations: 225.6 kB / 1.622 GB, free: 32.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02489/3.588, allocations: 13.19 MB / 1.635 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.321e-05/3.588, allocations: 94.25 kB / 1.635 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/3.588, allocations: 143.9 kB / 1.635 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/3.59, allocations: 1.314 MB / 1.636 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/3.59, allocations: 4 kB / 1.636 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/3.59, allocations: 51.98 kB / 1.636 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.486e-05/3.59, allocations: 36 kB / 1.636 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/3.592, allocations: 0.9722 MB / 1.637 GB, free: 16.5 MB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01253/3.605, allocations: 7.958 MB / 1.645 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/3.607, allocations: 1.068 MB / 1.646 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003287/3.607, allocations: 279.9 kB / 1.646 GB, free: 6.668 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008417/3.608, allocations: 0.5144 MB / 1.647 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=76): time 2.355e-06/3.608, allocations: 0 / 1.647 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of matching and sorting (n=84): time 0.006978/3.615, allocations: 3.71 MB / 1.651 GB, free: 2.246 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.563e-05/3.615, allocations: 273.7 kB / 1.651 GB, free: 1.918 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/3.617, allocations: 1.263 MB / 1.652 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/3.617, allocations: 53.7 kB / 1.652 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.4523/4.069, allocations: 0.7097 MB / 1.653 GB, free: 64.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007322/4.07, allocations: 305.9 kB / 1.653 GB, free: 64.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.894e-05/4.07, allocations: 30.03 kB / 1.653 GB, free: 64.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001257/4.07, allocations: 360.1 kB / 1.653 GB, free: 63.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/4.071, allocations: 0.5674 MB / 1.654 GB, free: 63.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/4.073, allocations: 0.9367 MB / 1.655 GB, free: 63.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/4.074, allocations: 0.726 MB / 1.656 GB, free: 63.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/4.074, allocations: 2.906 kB / 1.656 GB, free: 63.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.00374/4.078, allocations: 1.89 MB / 1.657 GB, free: 63.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006935/4.078, allocations: 3.043 MB / 1.66 GB, free: 60.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.261e-05/4.078, allocations: 8.844 kB / 1.66 GB, free: 60.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/4.079, allocations: 306.2 kB / 1.661 GB, free: 60.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002172/4.082, allocations: 344.4 kB / 1.661 GB, free: 60.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/4.083, allocations: 1.676 MB / 1.663 GB, free: 59.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00319/4.087, allocations: 153.8 kB / 1.663 GB, free: 59.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/4.087, allocations: 57.11 kB / 1.663 GB, free: 59.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/4.087, allocations: 4.688 kB / 1.663 GB, free: 59.11 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003429/4.09, allocations: 1.712 MB / 1.665 GB, free: 59.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-05/4.09, allocations: 10.62 kB / 1.665 GB, free: 59.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000956/4.091, allocations: 305.8 kB / 1.665 GB, free: 59.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/4.093, allocations: 276.6 kB / 1.665 GB, free: 59.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/4.094, allocations: 1.056 MB / 1.666 GB, free: 58.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002854/4.097, allocations: 143.6 kB / 1.666 GB, free: 58.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/4.097, allocations: 60.3 kB / 1.666 GB, free: 58.48 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 () * Number of clocked 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 {2 30} Notification: Performance of prepare postOptimizeDAE: time 0.001379/4.098, allocations: 0.5368 MB / 1.667 GB, free: 58.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004218/4.099, allocations: 158.8 kB / 1.667 GB, free: 58.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/4.101, allocations: 1.135 MB / 1.668 GB, free: 58.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/4.101, allocations: 11.53 kB / 1.668 GB, free: 58.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/4.101, allocations: 4.328 kB / 1.668 GB, free: 58.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001619/4.103, allocations: 1.009 MB / 1.669 GB, free: 57.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006123/4.109, allocations: 3.098 MB / 1.672 GB, free: 57.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/4.109, allocations: 2.656 kB / 1.672 GB, free: 57.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/4.11, allocations: 223.7 kB / 1.672 GB, free: 57.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003379/4.111, allocations: 120.4 kB / 1.673 GB, free: 57.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.393e-05/4.111, allocations: 32.75 kB / 1.673 GB, free: 57.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004766/4.116, allocations: 6.085 MB / 1.678 GB, free: 51.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/4.116, allocations: 0.6562 kB / 1.678 GB, free: 51.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003353/4.119, allocations: 1.78 MB / 1.68 GB, free: 51.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001523/4.12, allocations: 372.9 kB / 1.681 GB, free: 51.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006043/4.121, allocations: 26.53 kB / 1.681 GB, free: 51.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/4.123, allocations: 102.3 kB / 1.681 GB, free: 51.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/4.123, allocations: 56.19 kB / 1.681 GB, free: 51.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-05/4.123, allocations: 27.47 kB / 1.681 GB, free: 51.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001742/4.125, allocations: 0.9489 MB / 1.682 GB, free: 51.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.2e-07/4.125, allocations: 0 / 1.682 GB, free: 51.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004294/4.129, allocations: 1.125 MB / 1.683 GB, free: 51.06 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) * Number of clocked states: 0 () * 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.001946/4.131, allocations: 0.794 MB / 1.684 GB, free: 50.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004841/4.136, allocations: 2.332 MB / 1.686 GB, free: 50.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/4.136, allocations: 3.25 kB / 1.686 GB, free: 50.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002149/4.138, allocations: 0.9904 MB / 1.687 GB, free: 50.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004237/4.142, allocations: 0.7681 MB / 1.688 GB, free: 50.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008053/4.15, allocations: 4.273 MB / 1.692 GB, free: 48.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009752/4.151, allocations: 1.323 MB / 1.693 GB, free: 48.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002343/4.154, allocations: 452.9 kB / 1.693 GB, free: 47.99 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003928/4.154, allocations: 128.2 kB / 1.694 GB, free: 47.99 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/4.154, allocations: 3.188 kB / 1.694 GB, free: 47.99 MB / 0.6198 GB Notification: Performance of Templates: time 0.07414/4.228, allocations: 40.05 MB / 1.733 GB, free: 46.02 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)