Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.332/1.332, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009263/0.0009265, allocations: 180.2 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205 MB / 0.5767 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008453/0.0008454, allocations: 97.34 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003012, allocations: 9.562 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1702, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment): time 0.03042/0.2006, allocations: 48.59 MB / 0.9442 GB, free: 19.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01405/0.2147, allocations: 13.96 MB / 0.9578 GB, free: 5.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002184/0.2169, allocations: 59.62 kB / 0.9579 GB, free: 5.352 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.2192, allocations: 0.7306 MB / 0.9586 GB, free: 4.617 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007029/0.2263, allocations: 2.254 MB / 0.9608 GB, free: 2.355 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00351/0.2298, allocations: 1.516 MB / 0.9623 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006405/0.2362, allocations: 6.171 MB / 0.9683 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002285/0.2385, allocations: 1.319 MB / 0.9696 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00318/0.2417, allocations: 1.509 MB / 0.9711 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002381/0.2441, allocations: 1.389 MB / 0.9724 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005082/0.2446, allocations: 92 kB / 0.9725 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004208/0.2488, allocations: 1.696 MB / 0.9742 GB, free: 4.617 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0007253/0.2496, allocations: 458.2 kB / 0.9746 GB, free: 4.168 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001612/0.2512, allocations: 0.9913 MB / 0.9756 GB, free: 3.172 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.005112/0.2563, allocations: 4.03 MB / 0.9795 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2564, allocations: 0 / 0.9795 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2564, allocations: 0 / 0.9795 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.804e-05/0.2564, allocations: 0 / 0.9795 GB, free: 15.13 MB / 0.6355 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.004423/0.2608, allocations: 2.172 MB / 0.9816 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.2609, allocations: 8.031 kB / 0.9817 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004822/0.2614, allocations: 218.5 kB / 0.9819 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002492/0.2639, allocations: 1.718 MB / 0.9835 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-05/0.264, allocations: 94.16 kB / 0.9836 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.2642, allocations: 151.9 kB / 0.9838 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.266, allocations: 1.227 MB / 0.985 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/0.2661, allocations: 7.984 kB / 0.985 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-05/0.2662, allocations: 44 kB / 0.985 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/0.2662, allocations: 28 kB / 0.985 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.2677, allocations: 0.9412 MB / 0.986 GB, free: 8.348 MB / 0.6355 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.01/0.2777, allocations: 7.241 MB / 0.993 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/0.2801, allocations: 1.1 MB / 0.9941 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000677/0.2808, allocations: 467.1 kB / 0.9946 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005992/0.2814, allocations: 0.6019 MB / 0.9951 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006698/0.2821, allocations: 440.2 kB / 0.9956 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=78): time 4.218e-06/0.2821, allocations: 0 / 0.9956 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=82): time 0.005403/0.2875, allocations: 2.946 MB / 0.9984 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.2876, allocations: 64 kB / 0.9985 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.2893, allocations: 1.396 MB / 0.9999 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.851e-05/0.2894, allocations: 53.7 kB / 0.9999 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005554/0.2899, allocations: 0.6808 MB / 1.001 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/0.2902, allocations: 291.8 kB / 1.001 GB, free: 8.312 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.2904, allocations: 141.6 kB / 1.001 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2905, allocations: 361.9 kB / 1.001 GB, free: 7.809 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009079/0.2915, allocations: 0.5895 MB / 1.002 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.2926, allocations: 0.8935 MB / 1.003 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.2943, allocations: 1.25 MB / 1.004 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.2943, allocations: 0 / 1.004 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.002849/0.2972, allocations: 1.844 MB / 1.006 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.00016/0.2973, allocations: 275.4 kB / 1.006 GB, free: 2.684 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.2974, allocations: 4 kB / 1.006 GB, free: 2.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000679/0.298, allocations: 264 kB / 1.006 GB, free: 2.422 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/0.2995, allocations: 295.5 kB / 1.007 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.3007, allocations: 1.579 MB / 1.008 GB, free: 0.5039 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/0.3035, allocations: 175.7 kB / 1.008 GB, free: 340 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.3036, allocations: 59.98 kB / 1.008 GB, free: 280 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.3036, allocations: 4 kB / 1.008 GB, free: 276 kB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00265/0.3063, allocations: 1.679 MB / 1.01 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.3063, allocations: 11.92 kB / 1.01 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000658/0.307, allocations: 269.3 kB / 1.01 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.3083, allocations: 267.7 kB / 1.011 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.3094, allocations: 0.9934 MB / 1.012 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003036/0.3125, allocations: 167.7 kB / 1.012 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.3126, allocations: 55.98 kB / 1.012 GB, free: 12.81 MB / 0.6667 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 (seg.TBouCon.iSam,$PRE.seg.TBouCon.iSam,seg.TBouCon.UOld,$PRE.seg.TBouCon.UOld,seg.TBouCon.QAve_flow,$PRE.seg.TBouCon.QAve_flow,$whenCondition1,seg.TBouCon.port.T,$PRE.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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0009502/0.3136, allocations: 0.5036 MB / 1.012 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/0.3138, allocations: 150.1 kB / 1.012 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/0.3157, allocations: 1.066 MB / 1.013 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001386/0.3171, allocations: 0.9595 MB / 1.014 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.3171, allocations: 3.984 kB / 1.014 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006041/0.3177, allocations: 339.2 kB / 1.015 GB, free: 9.711 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002385/0.318, allocations: 20 kB / 1.015 GB, free: 9.691 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/0.3194, allocations: 101.5 kB / 1.015 GB, free: 9.594 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.3195, allocations: 56.91 kB / 1.015 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002604/0.3221, allocations: 1.274 MB / 1.016 GB, free: 8.242 MB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002155/0.3243, allocations: 1.662 MB / 1.018 GB, free: 6.555 MB / 0.6667 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005436/0.3249, allocations: 419.8 kB / 1.018 GB, free: 6.148 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001394/0.3263, allocations: 0.9271 MB / 1.019 GB, free: 5.223 MB / 0.6667 GB Notification: Performance of Backend: time 4e-07/0.3263, allocations: 0 / 1.019 GB, free: 5.223 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00628/0.3326, allocations: 2.543 MB / 1.021 GB, free: 2.68 MB / 0.6667 GB Notification: Performance of SimCode: time 0.008673/0.3413, allocations: 4.854 MB / 1.026 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of Templates: time 0.3688/0.7101, allocations: 44.97 MB / 1.07 GB, free: 140.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe 2>&1)