Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.191/2.191, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001483/0.001482, allocations: 183.5 kB / 326.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.477/2.477, allocations: 205.4 MB / 0.5772 GB, free: 20.82 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.0008914/0.0008914, allocations: 99.52 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004629/0.000463, allocations: 16.12 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2333, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment): time 0.05554/0.2889, allocations: 45.34 MB / 0.9438 GB, free: 20.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02226/0.3113, allocations: 12.96 MB / 0.9565 GB, free: 7.082 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002645/0.314, allocations: 55.62 kB / 0.9565 GB, free: 7.027 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002935/0.3169, allocations: 0.6095 MB / 0.9571 GB, free: 6.414 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007531/0.3245, allocations: 1.894 MB / 0.959 GB, free: 4.512 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005339/0.3299, allocations: 1.173 MB / 0.9601 GB, free: 3.355 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.009446/0.3393, allocations: 5.362 MB / 0.9653 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003262/0.3427, allocations: 1.291 MB / 0.9666 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004718/0.3474, allocations: 1.431 MB / 0.968 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003528/0.351, allocations: 1.311 MB / 0.9693 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000681/0.3518, allocations: 92 kB / 0.9694 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005287/0.3571, allocations: 1.373 MB / 0.9707 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.3583, allocations: 454.3 kB / 0.9711 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001156/0.3595, allocations: 436.8 kB / 0.9716 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.006615/0.3661, allocations: 3.215 MB / 0.9747 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3662, allocations: 0 / 0.9747 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.876e-06/0.3662, allocations: 0 / 0.9747 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.316e-05/0.3663, allocations: 0 / 0.9747 GB, free: 4.336 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.008736/0.375, allocations: 2.19 MB / 0.9768 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.3751, allocations: 8.031 kB / 0.9768 GB, free: 2.086 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.3762, allocations: 214.6 kB / 0.977 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005116/0.3813, allocations: 1.671 MB / 0.9787 GB, free: 156 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.3815, allocations: 106.1 kB / 0.9788 GB, free: 48 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004704/0.382, allocations: 136 kB / 0.9789 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003477/0.3855, allocations: 1.224 MB / 0.9801 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.347e-05/0.3856, allocations: 7.938 kB / 0.9801 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.3858, allocations: 40 kB / 0.9801 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.399e-05/0.3858, allocations: 28 kB / 0.9802 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002893/0.3887, allocations: 0.949 MB / 0.9811 GB, free: 13.6 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.01926/0.408, allocations: 7.233 MB / 0.9882 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004559/0.4126, allocations: 1.096 MB / 0.9892 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.4138, allocations: 462.4 kB / 0.9897 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009371/0.4148, allocations: 0.6019 MB / 0.9903 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/0.4159, allocations: 436.3 kB / 0.9907 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 3.757e-06/0.416, allocations: 4 kB / 0.9907 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.009413/0.4254, allocations: 2.942 MB / 0.9936 GB, free: 112 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.4255, allocations: 64.06 kB / 0.9936 GB, free: 36 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002813/0.4283, allocations: 1.373 MB / 0.995 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002486/0.4286, allocations: 57.69 kB / 0.995 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009178/0.4295, allocations: 0.6808 MB / 0.9957 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000484/0.43, allocations: 299.7 kB / 0.996 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.4302, allocations: 28 kB / 0.996 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.4304, allocations: 353.9 kB / 0.9963 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/0.4321, allocations: 0.5857 MB / 0.9969 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002006/0.4341, allocations: 0.8818 MB / 0.9978 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/0.4361, allocations: 0.6936 MB / 0.9984 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.4361, allocations: 4 kB / 0.9984 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.005181/0.4413, allocations: 1.84 MB / 1 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002315/0.4416, allocations: 269.1 kB / 1 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.235e-05/0.4416, allocations: 11.94 kB / 1.001 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.4428, allocations: 258.8 kB / 1.001 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002676/0.4455, allocations: 287.6 kB / 1.001 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.4476, allocations: 1.581 MB / 1.003 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005375/0.453, allocations: 179.6 kB / 1.003 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/0.4532, allocations: 51.98 kB / 1.003 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.4533, allocations: 5.719 kB / 1.003 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004708/0.458, allocations: 1.679 MB / 1.004 GB, free: 4.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.89e-05/0.458, allocations: 11.94 kB / 1.004 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.4591, allocations: 265.4 kB / 1.005 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002352/0.4615, allocations: 267.6 kB / 1.005 GB, free: 4.125 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/0.4632, allocations: 0.9934 MB / 1.006 GB, free: 3.105 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005221/0.4684, allocations: 168.7 kB / 1.006 GB, free: 2.941 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/0.4686, allocations: 59.98 kB / 1.006 GB, free: 2.883 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 {3 25} Notification: Performance of prepare postOptimizeDAE: time 0.001222/0.4698, allocations: 0.4968 MB / 1.007 GB, free: 2.375 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003476/0.4702, allocations: 146.1 kB / 1.007 GB, free: 2.23 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003062/0.4733, allocations: 1.066 MB / 1.008 GB, free: 1.145 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00234/0.4756, allocations: 0.9556 MB / 1.009 GB, free: 152 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.4757, allocations: 0 / 1.009 GB, free: 152 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.4767, allocations: 371 kB / 1.009 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003184/0.4771, allocations: 27.94 kB / 1.009 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002683/0.4798, allocations: 92.73 kB / 1.009 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.4799, allocations: 56.91 kB / 1.009 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004677/0.4846, allocations: 1.282 MB / 1.011 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003754/0.4884, allocations: 1.651 MB / 1.012 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009507/0.4894, allocations: 411.8 kB / 1.013 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002203/0.4916, allocations: 0.9193 MB / 1.013 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of Backend: time 1.362e-06/0.4917, allocations: 0 / 1.013 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00952/0.5012, allocations: 2.502 MB / 1.016 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of SimCode: time 0.01411/0.5154, allocations: 4.994 MB / 1.021 GB, free: 3.754 MB / 0.6667 GB Notification: Performance of Templates: time 0.6827/1.198, allocations: 43.89 MB / 1.064 GB, free: 145.4 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe 2>&1)