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.565/2.565, allocations: 287.5 MB / 302.5 MB, free: 8.297 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.001592/0.001592, allocations: 177.1 kB / 371 MB, free: 10.77 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.019/2.019, allocations: 205.4 MB / 0.6297 GB, free: 10.51 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 103.5 kB / 0.743 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006287/0.0006288, allocations: 11.61 kB / 0.8658 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2181, allocations: 115.3 MB / 0.9784 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.296/1.514, allocations: 429.8 MB / 1.398 GB, free: 0.7266 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003815/1.515, allocations: 109.1 kB / 1.398 GB, free: 0.6641 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.589/5.104, allocations: 0.6497 GB / 2.048 GB, free: 85.18 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.026e-06/5.104, allocations: 0 / 2.048 GB, free: 85.18 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002506/5.104, allocations: 43.98 kB / 2.048 GB, free: 85.14 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.01/5.114, allocations: 2.325 MB / 2.05 GB, free: 82.76 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/5.114, allocations: 16.03 kB / 2.05 GB, free: 82.74 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/5.116, allocations: 205.7 kB / 2.05 GB, free: 82.54 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007375/5.123, allocations: 2.073 MB / 2.052 GB, free: 80.41 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/5.123, allocations: 99.02 kB / 2.053 GB, free: 80.31 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004624/5.124, allocations: 132 kB / 2.053 GB, free: 80.18 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003085/5.127, allocations: 1.212 MB / 2.054 GB, free: 78.91 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-05/5.127, allocations: 3.906 kB / 2.054 GB, free: 78.91 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/5.127, allocations: 47.98 kB / 2.054 GB, free: 78.86 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.286e-05/5.127, allocations: 32 kB / 2.054 GB, free: 78.83 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002451/5.13, allocations: 0.9178 MB / 2.055 GB, free: 77.9 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.01803/5.148, allocations: 6.97 MB / 2.062 GB, free: 70.54 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004511/5.152, allocations: 1.078 MB / 2.063 GB, free: 69.45 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007956/5.153, allocations: 0.6058 MB / 2.063 GB, free: 68.71 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001188/5.154, allocations: 432.3 kB / 2.064 GB, free: 68.28 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=78): time 4.969e-06/5.155, allocations: 3.938 kB / 2.064 GB, free: 68.28 MB / 0.9323 GB Notification: Performance of matching and sorting (n=82): time 0.01002/5.165, allocations: 2.927 MB / 2.067 GB, free: 65.23 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/5.165, allocations: 68.05 kB / 2.067 GB, free: 65.16 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002662/5.167, allocations: 1.248 MB / 2.068 GB, free: 63.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0004834/5.168, allocations: 53.7 kB / 2.068 GB, free: 63.84 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009588/5.169, allocations: 0.6809 MB / 2.069 GB, free: 63.15 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005328/5.169, allocations: 299.8 kB / 2.069 GB, free: 62.86 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/5.17, allocations: 28 kB / 2.069 GB, free: 62.83 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001137/5.17, allocations: 357.9 kB / 2.069 GB, free: 62.47 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/5.171, allocations: 0.5544 MB / 2.07 GB, free: 61.92 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/5.173, allocations: 0.864 MB / 2.071 GB, free: 60.94 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/5.175, allocations: 0.6814 MB / 2.071 GB, free: 60.26 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/5.175, allocations: 0 / 2.071 GB, free: 60.26 MB / 0.9323 GB Notification: Performance of matching and sorting (n=170) (initialization): time 0.005202/5.181, allocations: 1.769 MB / 2.073 GB, free: 58.48 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004725/5.181, allocations: 2.297 MB / 2.075 GB, free: 56.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.651e-05/5.181, allocations: 15.94 kB / 2.075 GB, free: 56.02 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/5.182, allocations: 256.9 kB / 2.076 GB, free: 55.77 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002784/5.185, allocations: 267.5 kB / 2.076 GB, free: 55.51 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/5.187, allocations: 1.584 MB / 2.077 GB, free: 53.88 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004899/5.192, allocations: 151.7 kB / 2.077 GB, free: 53.73 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004901/5.192, allocations: 63.91 kB / 2.078 GB, free: 53.67 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/5.192, allocations: 7.953 kB / 2.078 GB, free: 53.66 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004492/5.197, allocations: 1.609 MB / 2.079 GB, free: 52.05 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.508e-05/5.197, allocations: 8 kB / 2.079 GB, free: 52.04 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009867/5.198, allocations: 248.7 kB / 2.079 GB, free: 51.79 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00254/5.201, allocations: 255.6 kB / 2.08 GB, free: 51.54 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/5.202, allocations: 1.005 MB / 2.081 GB, free: 50.51 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0048/5.207, allocations: 147.6 kB / 2.081 GB, free: 50.37 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004214/5.207, allocations: 59.94 kB / 2.081 GB, free: 50.31 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.001443/5.209, allocations: 0.4929 MB / 2.081 GB, free: 49.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005016/5.209, allocations: 154.1 kB / 2.081 GB, free: 49.65 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002948/5.212, allocations: 1.058 MB / 2.082 GB, free: 48.56 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/5.212, allocations: 15.89 kB / 2.082 GB, free: 48.55 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/5.212, allocations: 8 kB / 2.082 GB, free: 48.54 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002115/5.215, allocations: 0.9404 MB / 2.083 GB, free: 47.56 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.007009/5.222, allocations: 2.844 MB / 2.086 GB, free: 44.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/5.222, allocations: 0 / 2.086 GB, free: 44.62 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/5.223, allocations: 139.8 kB / 2.086 GB, free: 44.48 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004806/5.224, allocations: 122.6 kB / 2.086 GB, free: 44.36 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/5.224, allocations: 27.98 kB / 2.086 GB, free: 44.33 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004391/5.228, allocations: 5.297 MB / 2.092 GB, free: 38.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/5.228, allocations: 4.031 kB / 2.092 GB, free: 38.59 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003751/5.232, allocations: 1.642 MB / 2.093 GB, free: 36.88 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/5.233, allocations: 378.9 kB / 2.094 GB, free: 36.49 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004126/5.234, allocations: 23.19 kB / 2.094 GB, free: 36.47 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002878/5.237, allocations: 99.69 kB / 2.094 GB, free: 36.38 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/5.237, allocations: 60.52 kB / 2.094 GB, free: 36.32 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/5.237, allocations: 35.97 kB / 2.094 GB, free: 36.28 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002139/5.239, allocations: 0.9388 MB / 2.095 GB, free: 35.34 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.21e-07/5.239, allocations: 0 / 2.095 GB, free: 35.34 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006161/5.245, allocations: 1.14 MB / 2.096 GB, free: 34.2 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.002397/5.248, allocations: 0.8122 MB / 2.097 GB, free: 33.42 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006872/5.255, allocations: 2.096 MB / 2.099 GB, free: 31.32 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/5.255, allocations: 0 / 2.099 GB, free: 31.32 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/5.256, allocations: 0.7933 MB / 2.099 GB, free: 30.48 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006669/5.263, allocations: 0.7743 MB / 2.1 GB, free: 29.73 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008978/5.272, allocations: 4.178 MB / 2.104 GB, free: 25.52 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009775/5.273, allocations: 1.301 MB / 2.106 GB, free: 24.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003094/5.276, allocations: 460.3 kB / 2.106 GB, free: 23.74 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007772/5.277, allocations: 127.3 kB / 2.106 GB, free: 23.62 MB / 0.9323 GB Notification: Performance of SimCode: time 1.092e-06/5.277, allocations: 0 / 2.106 GB, free: 23.62 MB / 0.9323 GB Notification: Performance of Templates: time 0.09913/5.376, allocations: 39.38 MB / 2.145 GB, free: 0.543 MB / 0.948 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)