Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.122/2.122, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001358/0.001358, allocations: 180 kB / 326.3 MB, free: 2.867 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.591/2.591, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.0009288/0.0009287, allocations: 80.58 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006282/0.0006284, allocations: 15.88 kB / 0.7958 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1917, allocations: 106.3 MB / 0.8995 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.06932/0.2611, allocations: 60.32 MB / 0.9584 GB, free: 5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03012/0.2913, allocations: 15.49 MB / 0.9736 GB, free: 5.477 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002696/0.294, allocations: 55.62 kB / 0.9736 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004357/0.2984, allocations: 0.8935 MB / 0.9745 GB, free: 4.523 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00815/0.3066, allocations: 1.902 MB / 0.9764 GB, free: 2.613 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.009961/0.3166, allocations: 2.258 MB / 0.9786 GB, free: 396 kB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.009106/0.3258, allocations: 4.904 MB / 0.9833 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002844/0.3287, allocations: 1.135 MB / 0.9845 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004122/0.3328, allocations: 1.307 MB / 0.9857 GB, free: 8.996 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003046/0.3359, allocations: 1.186 MB / 0.9869 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005215/0.3365, allocations: 84 kB / 0.987 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006881/0.3434, allocations: 2.044 MB / 0.989 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0009199/0.3444, allocations: 354.6 kB / 0.9893 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009782/0.3454, allocations: 404.7 kB / 0.9897 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006919/0.3523, allocations: 3.265 MB / 0.9929 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.3524, allocations: 0 / 0.9929 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.619e-06/0.3524, allocations: 0 / 0.9929 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.609e-05/0.3525, allocations: 11.94 kB / 0.9929 GB, free: 1.641 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.005962/0.3585, allocations: 2.057 MB / 0.9949 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.3585, allocations: 12.02 kB / 0.9949 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008808/0.3594, allocations: 210.3 kB / 0.9951 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004401/0.3639, allocations: 1.455 MB / 0.9965 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.364, allocations: 86.08 kB / 0.9966 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003122/0.3643, allocations: 108 kB / 0.9967 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00322/0.3676, allocations: 1.1 MB / 0.9978 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.913e-05/0.3677, allocations: 0 / 0.9978 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.3678, allocations: 48 kB / 0.9978 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.471e-05/0.3679, allocations: 24 kB / 0.9979 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002542/0.3704, allocations: 0.8238 MB / 0.9987 GB, free: 11.54 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 preOpt removeSimpleEquations (simulation): time 0.01407/0.3845, allocations: 6.819 MB / 1.005 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.3863, allocations: 0.7324 MB / 1.006 GB, free: 3.254 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009107/0.3872, allocations: 366.7 kB / 1.006 GB, free: 2.891 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001807/0.3891, allocations: 1.271 MB / 1.008 GB, free: 1.344 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.02e-05/0.3892, allocations: 47.16 kB / 1.008 GB, free: 1.289 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=72): time 4.449e-06/0.3892, allocations: 0 / 1.008 GB, free: 1.289 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72): time 0.003967/0.3932, allocations: 1.171 MB / 1.009 GB, free: 68 kB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.341e-05/0.3933, allocations: 89.81 kB / 1.009 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003601/0.3969, allocations: 1.476 MB / 1.01 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002063/0.3972, allocations: 49.7 kB / 1.01 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009825/0.3982, allocations: 0.7053 MB / 1.011 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004287/0.3986, allocations: 260.2 kB / 1.011 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/0.3987, allocations: 16 kB / 1.011 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3989, allocations: 345.9 kB / 1.012 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008146/0.3997, allocations: 281.9 kB / 1.012 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.4008, allocations: 492.9 kB / 1.012 GB, free: 12.26 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.4018, allocations: 366.9 kB / 1.013 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.4019, allocations: 0 / 1.013 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003029/0.4049, allocations: 1.009 MB / 1.014 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001692/0.4051, allocations: 197.3 kB / 1.014 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.368e-05/0.4052, allocations: 7.984 kB / 1.014 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004255/0.4056, allocations: 69.69 kB / 1.014 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.407, allocations: 195.7 kB / 1.014 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003503/0.4105, allocations: 2.974 MB / 1.017 GB, free: 7.117 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/0.4126, allocations: 150.9 kB / 1.017 GB, free: 6.969 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/0.4128, allocations: 47.98 kB / 1.017 GB, free: 6.922 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.4128, allocations: 4 kB / 1.017 GB, free: 6.918 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002477/0.4153, allocations: 0.8373 MB / 1.018 GB, free: 6.078 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.623e-05/0.4154, allocations: 8.031 kB / 1.018 GB, free: 6.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002555/0.4156, allocations: 61.69 kB / 1.018 GB, free: 6.004 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.417, allocations: 191.7 kB / 1.018 GB, free: 5.816 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003196/0.4202, allocations: 2.957 MB / 1.021 GB, free: 2.594 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.4221, allocations: 139.1 kB / 1.021 GB, free: 2.457 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.4223, allocations: 32 kB / 1.021 GB, free: 2.426 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001085/0.4234, allocations: 468 kB / 1.022 GB, free: 1.961 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004328/0.4238, allocations: 158 kB / 1.022 GB, free: 1.805 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002962/0.4268, allocations: 1.053 MB / 1.023 GB, free: 0.7461 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001852/0.4287, allocations: 0.7771 MB / 1.024 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.4287, allocations: 4 kB / 1.024 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/0.4298, allocations: 370.8 kB / 1.024 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003656/0.4302, allocations: 16 kB / 1.024 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.4314, allocations: 55.8 kB / 1.024 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.4316, allocations: 56.58 kB / 1.024 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003226/0.4348, allocations: 0.9423 MB / 1.025 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003172/0.438, allocations: 1.39 MB / 1.027 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007621/0.4388, allocations: 333.4 kB / 1.027 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002448/0.4413, allocations: 1.024 MB / 1.028 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of Backend: time 1.032e-06/0.4413, allocations: 0 / 1.028 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00739/0.4487, allocations: 2.375 MB / 1.03 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of SimCode: time 0.01172/0.4605, allocations: 4.328 MB / 1.034 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of Templates: time 0.7175/1.178, allocations: 39.91 MB / 1.073 GB, free: 139.8 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)