Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.775/1.775, allocations: 288.3 MB / 303.2 MB, free: 8.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001214, allocations: 179.4 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.4 MB / 0.6306 GB, free: 10.05 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008598/0.0008598, allocations: 103.4 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003682, allocations: 15.48 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1906, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8426/1.033, allocations: 430 MB / 1.399 GB, free: 15.41 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003947/1.034, allocations: 116.3 kB / 1.399 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.088/3.122, allocations: 0.6497 GB / 2.049 GB, free: 82.36 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.224e-06/3.122, allocations: 0 / 2.049 GB, free: 82.36 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001505/3.122, allocations: 43.98 kB / 2.049 GB, free: 82.32 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.006007/3.128, allocations: 2.325 MB / 2.051 GB, free: 79.94 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/3.128, allocations: 12.03 kB / 2.051 GB, free: 79.93 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006303/3.129, allocations: 205.7 kB / 2.052 GB, free: 79.72 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004016/3.133, allocations: 2.066 MB / 2.054 GB, free: 77.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/3.133, allocations: 102.1 kB / 2.054 GB, free: 77.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/3.133, allocations: 136.9 kB / 2.054 GB, free: 77.37 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/3.135, allocations: 1.208 MB / 2.055 GB, free: 76.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/3.135, allocations: 11.8 kB / 2.055 GB, free: 76.09 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-05/3.135, allocations: 48 kB / 2.055 GB, free: 76.04 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/3.135, allocations: 35.92 kB / 2.055 GB, free: 76 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/3.136, allocations: 0.91 MB / 2.056 GB, free: 75.09 MB / 0.9323 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.009824/3.146, allocations: 6.974 MB / 2.063 GB, free: 67.72 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/3.148, allocations: 1.081 MB / 2.064 GB, free: 66.63 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000533/3.149, allocations: 0.598 MB / 2.065 GB, free: 65.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005934/3.149, allocations: 448.3 kB / 2.065 GB, free: 65.46 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=78): time 2.986e-06/3.15, allocations: 0 / 2.065 GB, free: 65.46 MB / 0.9323 GB Notification: Performance of matching and sorting (n=82): time 0.005423/3.155, allocations: 2.913 MB / 2.068 GB, free: 62.42 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/3.155, allocations: 68.05 kB / 2.068 GB, free: 62.34 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/3.157, allocations: 1.248 MB / 2.069 GB, free: 61.08 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001676/3.157, allocations: 49.7 kB / 2.069 GB, free: 61.03 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004907/3.157, allocations: 0.6887 MB / 2.07 GB, free: 60.33 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/3.157, allocations: 295.8 kB / 2.07 GB, free: 60.04 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-05/3.158, allocations: 28 kB / 2.07 GB, free: 60.01 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.584e-05/3.158, allocations: 361.9 kB / 2.07 GB, free: 59.65 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007748/3.158, allocations: 0.5505 MB / 2.071 GB, free: 59.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008857/3.159, allocations: 0.8694 MB / 2.072 GB, free: 58.12 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008989/3.16, allocations: 0.6852 MB / 2.073 GB, free: 57.44 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/3.16, allocations: 0 / 2.073 GB, free: 57.44 MB / 0.9323 GB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002423/3.163, allocations: 1.766 MB / 2.074 GB, free: 55.66 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003656/3.163, allocations: 2.309 MB / 2.076 GB, free: 53.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/3.163, allocations: 8 kB / 2.077 GB, free: 53.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000648/3.164, allocations: 252 kB / 2.077 GB, free: 52.95 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/3.165, allocations: 263.6 kB / 2.077 GB, free: 52.69 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/3.166, allocations: 1.588 MB / 2.079 GB, free: 51.05 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/3.169, allocations: 155.7 kB / 2.079 GB, free: 50.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/3.169, allocations: 59.97 kB / 2.079 GB, free: 50.84 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/3.169, allocations: 4 kB / 2.079 GB, free: 50.84 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00223/3.171, allocations: 1.613 MB / 2.08 GB, free: 49.22 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/3.171, allocations: 8 kB / 2.08 GB, free: 49.21 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005316/3.172, allocations: 244.8 kB / 2.081 GB, free: 48.97 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/3.173, allocations: 259.6 kB / 2.081 GB, free: 48.72 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007753/3.174, allocations: 0.9934 MB / 2.082 GB, free: 47.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00249/3.176, allocations: 155.6 kB / 2.082 GB, free: 47.55 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/3.176, allocations: 63.91 kB / 2.082 GB, free: 47.48 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (140): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * 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 26} Notification: Performance of prepare postOptimizeDAE: time 0.0009024/3.177, allocations: 0.4941 MB / 2.082 GB, free: 46.98 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/3.178, allocations: 146.1 kB / 2.083 GB, free: 46.84 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/3.179, allocations: 1.062 MB / 2.084 GB, free: 45.75 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/3.179, allocations: 8 kB / 2.084 GB, free: 45.74 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/3.179, allocations: 3.953 kB / 2.084 GB, free: 45.73 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001125/3.18, allocations: 0.9519 MB / 2.085 GB, free: 44.75 MB / 0.9323 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 postOpt removeSimpleEquations (simulation): time 0.003627/3.184, allocations: 2.837 MB / 2.087 GB, free: 41.81 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/3.184, allocations: 4 kB / 2.087 GB, free: 41.81 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000757/3.185, allocations: 155.2 kB / 2.088 GB, free: 41.66 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002594/3.185, allocations: 118.6 kB / 2.088 GB, free: 41.54 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.627e-05/3.185, allocations: 31.98 kB / 2.088 GB, free: 41.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002775/3.188, allocations: 5.289 MB / 2.093 GB, free: 35.79 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/3.188, allocations: 8.016 kB / 2.093 GB, free: 35.78 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/3.19, allocations: 1.638 MB / 2.094 GB, free: 34.07 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007546/3.191, allocations: 371 kB / 2.095 GB, free: 33.69 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/3.191, allocations: 31.94 kB / 2.095 GB, free: 33.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/3.192, allocations: 95.73 kB / 2.095 GB, free: 33.56 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/3.192, allocations: 52.58 kB / 2.095 GB, free: 33.51 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.788e-05/3.193, allocations: 39.97 kB / 2.095 GB, free: 33.47 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001349/3.194, allocations: 0.9388 MB / 2.096 GB, free: 32.54 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.41e-07/3.194, allocations: 0 / 2.096 GB, free: 32.54 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003874/3.198, allocations: 1.136 MB / 2.097 GB, free: 31.4 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (seg.pipFil.vol1.dynBal.U,seg.pipFil.vol2.dynBal.U,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: 2 (seg.TBouCon.iSam,seg.TBouCon.UOld) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 4 * 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.001842/3.2, allocations: 0.8204 MB / 2.098 GB, free: 30.59 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003764/3.203, allocations: 2.105 MB / 2.1 GB, free: 28.48 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/3.203, allocations: 4.125 kB / 2.1 GB, free: 28.48 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009916/3.204, allocations: 0.8042 MB / 2.101 GB, free: 27.63 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003364/3.208, allocations: 0.7562 MB / 2.101 GB, free: 26.89 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005779/3.214, allocations: 4.173 MB / 2.105 GB, free: 22.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000843/3.214, allocations: 1.309 MB / 2.107 GB, free: 21.35 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001831/3.216, allocations: 452.7 kB / 2.107 GB, free: 20.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004809/3.217, allocations: 127.4 kB / 2.107 GB, free: 20.78 MB / 0.9323 GB Notification: Performance of SimCode: time 8.32e-07/3.217, allocations: 0 / 2.107 GB, free: 20.78 MB / 0.9323 GB Notification: Performance of Templates: time 0.5265/3.743, allocations: 39.37 MB / 2.146 GB, free: 178.8 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe 2>&1)