Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.511/2.511, allocations: 285 MB / 292.5 MB, free: 10.51 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001502/0.001502, allocations: 184.9 kB / 360.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.083/2.083, allocations: 205.3 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001123, allocations: 93.62 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.198e-05/2.185e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7898/0.7898, allocations: 115.3 MB / 0.9635 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.303/2.092, allocations: 429 MB / 1.382 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/2.093, allocations: 108.5 kB / 1.383 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.607/5.7, allocations: 0.6448 GB / 2.027 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.505e-06/5.7, allocations: 0 / 2.027 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003323/5.7, allocations: 47.16 kB / 2.027 GB, free: 172.5 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.009331/5.71, allocations: 2.026 MB / 2.029 GB, free: 171.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/5.71, allocations: 9.594 kB / 2.029 GB, free: 171.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/5.711, allocations: 214.6 kB / 2.03 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007931/5.719, allocations: 2.048 MB / 2.032 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.763e-05/5.719, allocations: 38.41 kB / 2.032 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004972/5.72, allocations: 87.28 kB / 2.032 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002681/5.722, allocations: 0.8285 MB / 2.032 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002912/5.725, allocations: 1.033 MB / 2.033 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-05/5.725, allocations: 8.125 kB / 2.033 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/5.726, allocations: 2.156 kB / 2.033 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-05/5.726, allocations: 33.94 kB / 2.034 GB, free: 171.2 MB / 0.9323 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.01973/5.745, allocations: 6.726 MB / 2.04 GB, free: 168.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004412/5.75, allocations: 1.044 MB / 2.041 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/5.751, allocations: 419.9 kB / 2.042 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007705/5.752, allocations: 0.6025 MB / 2.042 GB, free: 168 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001076/5.753, allocations: 412.4 kB / 2.042 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=78): time 6.322e-06/5.753, allocations: 2.297 kB / 2.042 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=82): time 0.009812/5.763, allocations: 2.238 MB / 2.045 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/5.763, allocations: 67.72 kB / 2.045 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/5.766, allocations: 1.055 MB / 2.046 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0004891/5.766, allocations: 29.42 kB / 2.046 GB, free: 167 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009228/5.767, allocations: 0.6817 MB / 2.046 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005077/5.767, allocations: 280.8 kB / 2.047 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/5.768, allocations: 0 / 2.047 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001255/5.768, allocations: 362.6 kB / 2.047 GB, free: 166.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/5.769, allocations: 0.5231 MB / 2.048 GB, free: 166.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/5.771, allocations: 0.8169 MB / 2.048 GB, free: 166 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/5.773, allocations: 0.7021 MB / 2.049 GB, free: 166 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/5.773, allocations: 0 / 2.049 GB, free: 166 MB / 0.9323 GB Notification: Performance of matching and sorting (n=170) (initialization): time 0.004915/5.778, allocations: 1.667 MB / 2.051 GB, free: 165.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004975/5.778, allocations: 2.289 MB / 2.053 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.569e-05/5.778, allocations: 11.66 kB / 2.053 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009896/5.779, allocations: 225.6 kB / 2.053 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002751/5.782, allocations: 267.7 kB / 2.053 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/5.784, allocations: 1.621 MB / 2.055 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004756/5.789, allocations: 130 kB / 2.055 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003267/5.789, allocations: 55.5 kB / 2.055 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/5.789, allocations: 4.875 kB / 2.055 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004296/5.794, allocations: 1.497 MB / 2.057 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.593e-05/5.794, allocations: 7.656 kB / 2.057 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008527/5.795, allocations: 227.1 kB / 2.057 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00241/5.797, allocations: 258 kB / 2.057 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/5.798, allocations: 1.02 MB / 2.058 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004718/5.803, allocations: 126.4 kB / 2.058 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004851/5.804, allocations: 57.92 kB / 2.058 GB, free: 161.7 MB / 0.9323 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: seg.pipFil.Rgg.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow rate from port_a -> port_b" type: Real 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 () * 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 {3 25} Notification: Performance of prepare postOptimizeDAE: time 0.0005517/5.804, allocations: 146.9 kB / 2.058 GB, free: 161.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005371/5.805, allocations: 135.6 kB / 2.059 GB, free: 161.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002979/5.808, allocations: 0.9861 MB / 2.06 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/5.808, allocations: 11.86 kB / 2.06 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-05/5.808, allocations: 5.625 kB / 2.06 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002175/5.81, allocations: 0.912 MB / 2.06 GB, free: 161.2 MB / 0.9323 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 postOpt removeSimpleEquations (simulation): time 0.00642/5.817, allocations: 2.678 MB / 2.063 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/5.817, allocations: 0 / 2.063 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/5.818, allocations: 151.8 kB / 2.063 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004208/5.818, allocations: 111.6 kB / 2.063 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.472e-05/5.819, allocations: 19.95 kB / 2.063 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004118/5.823, allocations: 5.114 MB / 2.068 GB, free: 156.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/5.823, allocations: 0 / 2.068 GB, free: 156.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003731/5.826, allocations: 1.566 MB / 2.07 GB, free: 156 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/5.828, allocations: 356.2 kB / 2.07 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003784/5.828, allocations: 18.42 kB / 2.07 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00254/5.831, allocations: 78.05 kB / 2.07 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/5.831, allocations: 66.78 kB / 2.07 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/5.831, allocations: 29.45 kB / 2.07 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001531/5.833, allocations: 0.7729 MB / 2.071 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.31e-07/5.833, allocations: 2.844 kB / 2.071 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006177/5.839, allocations: 1.086 MB / 2.072 GB, free: 155.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (seg.port_b1.h_outflow,seg.port_a2.h_outflow,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) * 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,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002355/5.841, allocations: 0.8072 MB / 2.073 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00608/5.847, allocations: 2.02 MB / 2.075 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/5.847, allocations: 7.688 kB / 2.075 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001446/5.849, allocations: 0.7488 MB / 2.076 GB, free: 155 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005553/5.854, allocations: 0.631 MB / 2.076 GB, free: 155 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007568/5.862, allocations: 2.914 MB / 2.079 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009295/5.863, allocations: 1.307 MB / 2.08 GB, free: 153.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003463/5.867, allocations: 0.4983 MB / 2.081 GB, free: 153.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005753/5.867, allocations: 101.5 kB / 2.081 GB, free: 153.6 MB / 0.9323 GB Notification: Performance of SimCode: time 1.092e-06/5.867, allocations: 0 / 2.081 GB, free: 153.6 MB / 0.9323 GB Notification: Performance of Templates: time 0.08363/5.951, allocations: 34.65 MB / 2.115 GB, free: 151.7 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe 2>&1)