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.569/2.569, allocations: 284.8 MB / 297.3 MB, free: 6.34 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.002314/0.002314, allocations: 191.9 kB / 365.7 MB, free: 2.551 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 1.889/1.889, allocations: 205.1 MB / 0.6241 GB, free: 8.16 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.001079/0.001079, allocations: 93.34 kB / 0.7372 GB, free: 40.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.816e-05/3.829e-05, allocations: 4 kB / 0.8574 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.814/0.8141, allocations: 115.2 MB / 0.97 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.397/2.211, allocations: 429.7 MB / 1.39 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003579/2.212, allocations: 110.6 kB / 1.39 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.572/5.784, allocations: 0.6479 GB / 2.038 GB, free: 165.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.465e-06/5.784, allocations: 0 / 2.038 GB, free: 165.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002593/5.784, allocations: 49.2 kB / 2.038 GB, free: 165.2 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.008552/5.793, allocations: 2.027 MB / 2.04 GB, free: 164.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/5.793, allocations: 9.688 kB / 2.04 GB, free: 164.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/5.794, allocations: 210.7 kB / 2.04 GB, free: 164.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00718/5.801, allocations: 2.05 MB / 2.042 GB, free: 164 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/5.801, allocations: 99.78 kB / 2.042 GB, free: 164 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004315/5.802, allocations: 141.8 kB / 2.042 GB, free: 164 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003034/5.805, allocations: 1.185 MB / 2.043 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.74e-05/5.805, allocations: 3.406 kB / 2.043 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/5.805, allocations: 49.95 kB / 2.043 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.79e-05/5.805, allocations: 34.78 kB / 2.043 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/5.808, allocations: 0.8896 MB / 2.044 GB, free: 163.9 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.01834/5.826, allocations: 6.964 MB / 2.051 GB, free: 161.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004287/5.83, allocations: 1.074 MB / 2.052 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/5.832, allocations: 451.2 kB / 2.053 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007302/5.832, allocations: 0.6018 MB / 2.053 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/5.833, allocations: 432.8 kB / 2.054 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=78): time 3.877e-06/5.833, allocations: 3.844 kB / 2.054 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=82): time 0.007328/5.841, allocations: 2.281 MB / 2.056 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/5.841, allocations: 59.59 kB / 2.056 GB, free: 159.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002544/5.843, allocations: 1.236 MB / 2.057 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0004268/5.844, allocations: 56.83 kB / 2.057 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007886/5.845, allocations: 0.6847 MB / 2.058 GB, free: 159.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004667/5.845, allocations: 290.4 kB / 2.058 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/5.845, allocations: 25.88 kB / 2.058 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001123/5.845, allocations: 360.2 kB / 2.058 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/5.847, allocations: 0.5435 MB / 2.059 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/5.848, allocations: 0.8643 MB / 2.06 GB, free: 158.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/5.85, allocations: 0.6686 MB / 2.06 GB, free: 158.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/5.85, allocations: 0 / 2.06 GB, free: 158.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=170) (initialization): time 0.004704/5.855, allocations: 1.752 MB / 2.062 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005137/5.856, allocations: 2.302 MB / 2.064 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-05/5.856, allocations: 12.97 kB / 2.064 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/5.857, allocations: 264.3 kB / 2.065 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002762/5.86, allocations: 265.5 kB / 2.065 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/5.861, allocations: 1.577 MB / 2.066 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00482/5.866, allocations: 162.7 kB / 2.067 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002936/5.866, allocations: 60.11 kB / 2.067 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/5.867, allocations: 3.812 kB / 2.067 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00409/5.871, allocations: 1.589 MB / 2.068 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-05/5.871, allocations: 7.781 kB / 2.068 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/5.872, allocations: 260.8 kB / 2.068 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002438/5.874, allocations: 255.8 kB / 2.069 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/5.876, allocations: 0.9856 MB / 2.07 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004713/5.88, allocations: 166.9 kB / 2.07 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002612/5.881, allocations: 61.14 kB / 2.07 GB, free: 154.2 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 () * 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.0004641/5.881, allocations: 179.7 kB / 2.07 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004281/5.882, allocations: 147 kB / 2.07 GB, free: 154 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/5.884, allocations: 1.062 MB / 2.071 GB, free: 153.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/5.885, allocations: 7.688 kB / 2.071 GB, free: 153.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/5.885, allocations: 0 / 2.071 GB, free: 153.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002019/5.887, allocations: 0.938 MB / 2.072 GB, free: 153.7 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.006504/5.893, allocations: 2.839 MB / 2.075 GB, free: 153.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/5.893, allocations: 0 / 2.075 GB, free: 153.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/5.895, allocations: 143.1 kB / 2.075 GB, free: 153.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004528/5.895, allocations: 116.7 kB / 2.075 GB, free: 153.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.914e-05/5.895, allocations: 30.81 kB / 2.075 GB, free: 153.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004243/5.899, allocations: 5.246 MB / 2.08 GB, free: 148.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/5.899, allocations: 2.156 kB / 2.08 GB, free: 148.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003695/5.903, allocations: 1.631 MB / 2.082 GB, free: 148.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/5.904, allocations: 371.9 kB / 2.082 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003292/5.905, allocations: 25.55 kB / 2.082 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002443/5.907, allocations: 94.16 kB / 2.082 GB, free: 148 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/5.907, allocations: 62.5 kB / 2.082 GB, free: 148 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.956e-05/5.908, allocations: 29.17 kB / 2.082 GB, free: 148 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001905/5.909, allocations: 0.9268 MB / 2.083 GB, free: 147.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.41e-07/5.909, allocations: 3.781 kB / 2.083 GB, free: 147.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005293/5.915, allocations: 1.135 MB / 2.084 GB, free: 147.9 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,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002221/5.917, allocations: 0.8255 MB / 2.085 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006106/5.923, allocations: 2.128 MB / 2.087 GB, free: 147.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/5.923, allocations: 2.906 kB / 2.087 GB, free: 147.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001524/5.925, allocations: 0.779 MB / 2.088 GB, free: 147.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006372/5.931, allocations: 0.7623 MB / 2.089 GB, free: 147.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00733/5.939, allocations: 2.995 MB / 2.092 GB, free: 146.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009882/5.94, allocations: 1.306 MB / 2.093 GB, free: 145.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003631/5.943, allocations: 0.5344 MB / 2.094 GB, free: 145.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005263/5.944, allocations: 101.5 kB / 2.094 GB, free: 145.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.593e-06/5.944, allocations: 0 / 2.094 GB, free: 145.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.1016/6.045, allocations: 42.27 MB / 2.135 GB, free: 143.6 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)