Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.395/2.395, allocations: 251.1 MB / 266.1 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001464/0.001464, allocations: 186.9 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.338/2.338, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 90.48 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006543/0.0006544, allocations: 19.97 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2226, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment): time 0.0521/0.2748, allocations: 41.11 MB / 0.939 GB, free: 24.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02161/0.2964, allocations: 12 MB / 0.9508 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002532/0.299, allocations: 51.62 kB / 0.9508 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003578/0.3026, allocations: 0.7773 MB / 0.9516 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.008943/0.3116, allocations: 2.21 MB / 0.9537 GB, free: 9.203 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00668/0.3183, allocations: 1.562 MB / 0.9553 GB, free: 7.668 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006196/0.3246, allocations: 2.864 MB / 0.9581 GB, free: 4.797 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002505/0.3271, allocations: 1.225 MB / 0.9592 GB, free: 3.547 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003694/0.3309, allocations: 1.312 MB / 0.9605 GB, free: 2.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.3334, allocations: 0.9961 MB / 0.9615 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0005424/0.334, allocations: 88 kB / 0.9616 GB, free: 1.145 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004743/0.3387, allocations: 1.272 MB / 0.9628 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.3398, allocations: 430.5 kB / 0.9632 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001246/0.3411, allocations: 432.8 kB / 0.9637 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.007345/0.3485, allocations: 3.148 MB / 0.9667 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3485, allocations: 0 / 0.9667 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.396e-06/0.3486, allocations: 0 / 0.9667 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.353e-05/0.3487, allocations: 0 / 0.9667 GB, free: 11.86 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.008544/0.3572, allocations: 2.172 MB / 0.9688 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3573, allocations: 8.031 kB / 0.9689 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009664/0.3583, allocations: 213.6 kB / 0.9691 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005227/0.3635, allocations: 1.641 MB / 0.9707 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.3637, allocations: 106.1 kB / 0.9708 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003935/0.3641, allocations: 139.8 kB / 0.9709 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003302/0.3674, allocations: 1.22 MB / 0.9721 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.824e-05/0.3675, allocations: 0 / 0.9721 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.3677, allocations: 48 kB / 0.9721 GB, free: 6.148 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.389e-05/0.3677, allocations: 32 kB / 0.9722 GB, free: 6.117 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002681/0.3704, allocations: 0.9334 MB / 0.9731 GB, free: 5.176 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.01946/0.3899, allocations: 7.229 MB / 0.9801 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004822/0.3948, allocations: 1.108 MB / 0.9812 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.3958, allocations: 0.598 MB / 0.9818 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001245/0.3971, allocations: 436.3 kB / 0.9822 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 3.848e-06/0.3971, allocations: 0 / 0.9822 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.009741/0.4069, allocations: 2.934 MB / 0.9851 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.407, allocations: 60.06 kB / 0.9851 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002961/0.41, allocations: 1.42 MB / 0.9865 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003183/0.4103, allocations: 53.7 kB / 0.9866 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009542/0.4113, allocations: 0.6731 MB / 0.9872 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005094/0.4118, allocations: 307.7 kB / 0.9875 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.412, allocations: 32 kB / 0.9876 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.4122, allocations: 357.9 kB / 0.9879 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/0.4143, allocations: 0.5739 MB / 0.9885 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002651/0.417, allocations: 0.874 MB / 0.9893 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00256/0.4196, allocations: 0.6974 MB / 0.99 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.4196, allocations: 0 / 0.99 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.007442/0.4271, allocations: 1.824 MB / 0.9918 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001432/0.4286, allocations: 2.302 MB / 0.994 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.915e-05/0.4286, allocations: 8 kB / 0.994 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/0.4303, allocations: 262 kB / 0.9943 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003788/0.4341, allocations: 283.6 kB / 0.9946 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/0.4369, allocations: 1.582 MB / 0.9961 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007643/0.4446, allocations: 175.7 kB / 0.9963 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002906/0.4449, allocations: 59.94 kB / 0.9963 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.445, allocations: 4 kB / 0.9963 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006439/0.4514, allocations: 1.668 MB / 0.998 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.698e-05/0.4515, allocations: 8 kB / 0.998 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.4529, allocations: 252.9 kB / 0.9982 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003341/0.4563, allocations: 275.5 kB / 0.9985 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002309/0.4586, allocations: 0.9934 MB / 0.9994 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00724/0.4659, allocations: 171.7 kB / 0.9996 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002695/0.4662, allocations: 55.98 kB / 0.9997 GB, free: 8.832 MB / 0.6511 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 (148): * Single equations (assignments): 145 * 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.001656/0.4679, allocations: 0.4948 MB / 1 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005061/0.4684, allocations: 154.1 kB / 1 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004112/0.4725, allocations: 1.062 MB / 1.001 GB, free: 7.098 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.547e-05/0.4726, allocations: 8 kB / 1.001 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/0.4726, allocations: 4 kB / 1.001 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003384/0.476, allocations: 0.9638 MB / 1.002 GB, free: 6.082 MB / 0.6511 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.00897/0.485, allocations: 2.848 MB / 1.005 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.485, allocations: 0 / 1.005 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001921/0.487, allocations: 143.8 kB / 1.005 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006721/0.4877, allocations: 122.6 kB / 1.005 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/0.4878, allocations: 31.98 kB / 1.005 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007518/0.4954, allocations: 5.29 MB / 1.011 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.4954, allocations: 0 / 1.011 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004189/0.4996, allocations: 1.657 MB / 1.012 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/0.5008, allocations: 379 kB / 1.012 GB, free: 11 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003176/0.5011, allocations: 24 kB / 1.013 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002905/0.504, allocations: 95.72 kB / 1.013 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/0.5043, allocations: 60.53 kB / 1.013 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.5044, allocations: 39.97 kB / 1.013 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002154/0.5065, allocations: 0.9427 MB / 1.014 GB, free: 9.848 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5066, allocations: 0 / 1.014 GB, free: 9.848 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004799/0.5114, allocations: 1.078 MB / 1.015 GB, free: 8.77 MB / 0.6667 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.00169/0.5131, allocations: 0.5501 MB / 1.015 GB, free: 8.227 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006668/0.5198, allocations: 2.163 MB / 1.017 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.5198, allocations: 0 / 1.017 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001839/0.5217, allocations: 0.8046 MB / 1.018 GB, free: 5.207 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006238/0.5279, allocations: 0.7526 MB / 1.019 GB, free: 4.465 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009074/0.5371, allocations: 4.084 MB / 1.023 GB, free: 352 kB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.5384, allocations: 1.305 MB / 1.024 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002909/0.5413, allocations: 443.5 kB / 1.025 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006407/0.542, allocations: 119.4 kB / 1.025 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of SimCode: time 1.363e-06/0.542, allocations: 0 / 1.025 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of Templates: time 0.8444/1.386, allocations: 37.12 MB / 1.061 GB, free: 141.7 MB / 0.698 GB