Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.001664, allocations: 108.8 kB / 16.38 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 184 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.1 MB / 223.2 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.814/1.814, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.91 kB / 0.673 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1966, allocations: 114.6 MB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.4092/0.6058, allocations: 86.28 MB / 0.8691 GB, free: 6.938 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03856/0.6445, allocations: 25.12 MB / 0.8936 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005632/0.6501, allocations: 119.4 kB / 0.8937 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.005422/0.6556, allocations: 1.775 MB / 0.8955 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01108/0.6667, allocations: 4.012 MB / 0.8994 GB, free: 15.05 MB / 0.7012 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.01023/0.6769, allocations: 4.132 MB / 0.9034 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01103/0.688, allocations: 8.313 MB / 0.9116 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003736/0.6917, allocations: 2.886 MB / 0.9144 GB, free: 5.219 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005912/0.6976, allocations: 2.939 MB / 0.9172 GB, free: 2.883 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003762/0.7014, allocations: 2.423 MB / 0.9196 GB, free: 460 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0005467/0.702, allocations: 360 kB / 0.9199 GB, free: 100 kB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007375/0.7094, allocations: 3.452 MB / 0.9233 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008583/0.7102, allocations: 0.8487 MB / 0.9241 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002322/0.7126, allocations: 1.906 MB / 0.926 GB, free: 9.875 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.7232, allocations: 7.305 MB / 0.9331 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.7232, allocations: 0 / 0.9331 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7232, allocations: 0 / 0.9331 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001213/0.7233, allocations: 0 / 0.9331 GB, free: 2.551 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.007173/0.7305, allocations: 3.907 MB / 0.937 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.7306, allocations: 11.98 kB / 0.937 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008999/0.7315, allocations: 373.2 kB / 0.9373 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004357/0.7359, allocations: 2.597 MB / 0.9399 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.736, allocations: 164.1 kB / 0.94 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002768/0.7363, allocations: 216 kB / 0.9402 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003376/0.7397, allocations: 2.202 MB / 0.9424 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.813e-05/0.7397, allocations: 7.906 kB / 0.9424 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/0.7399, allocations: 84 kB / 0.9425 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-05/0.74, allocations: 52 kB / 0.9425 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002661/0.7426, allocations: 1.675 MB / 0.9441 GB, free: 6.996 MB / 0.7325 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.01125/0.7539, allocations: 9.299 MB / 0.9532 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.7556, allocations: 1.186 MB / 0.9544 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.7566, allocations: 0.8218 MB / 0.9552 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002292/0.7589, allocations: 2.918 MB / 0.958 GB, free: 7.695 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.759, allocations: 47.88 kB / 0.9581 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=148): time 3.507e-06/0.759, allocations: 7.938 kB / 0.9581 GB, free: 7.633 MB / 0.7481 GB Notification: Performance of matching and sorting (n=148): time 0.005233/0.7642, allocations: 2.706 MB / 0.9607 GB, free: 4.797 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.7643, allocations: 94.42 kB / 0.9608 GB, free: 4.688 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002927/0.7672, allocations: 2.274 MB / 0.963 GB, free: 2.398 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.7674, allocations: 57.7 kB / 0.9631 GB, free: 2.336 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009407/0.7683, allocations: 1.181 MB / 0.9643 GB, free: 1.141 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004376/0.7688, allocations: 0.516 MB / 0.9648 GB, free: 0.6172 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004741/0.7693, allocations: 371.3 kB / 0.9651 GB, free: 252 kB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.7694, allocations: 301.1 kB / 0.9654 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009225/0.7703, allocations: 0.5826 MB / 0.966 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.7716, allocations: 0.9413 MB / 0.9669 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/0.7737, allocations: 1.484 MB / 0.9683 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-06/0.7737, allocations: 4 kB / 0.9683 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.003785/0.7775, allocations: 2.127 MB / 0.9704 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.7775, allocations: 12.09 kB / 0.9704 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/0.7776, allocations: 12 kB / 0.9704 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009458/0.7785, allocations: 277.7 kB / 0.9707 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.7798, allocations: 387.4 kB / 0.9711 GB, free: 9.891 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005057/0.7849, allocations: 7.712 MB / 0.9786 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/0.7867, allocations: 198.2 kB / 0.9788 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/0.7869, allocations: 77.23 kB / 0.9789 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001758/0.7886, allocations: 1.047 MB / 0.9799 GB, free: 268 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001238/0.7899, allocations: 0.9413 MB / 0.9808 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002069/0.792, allocations: 1.476 MB / 0.9822 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.468e-06/0.792, allocations: 0 / 0.9822 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.003576/0.7956, allocations: 2.069 MB / 0.9843 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.7956, allocations: 8.625 kB / 0.9843 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/0.7956, allocations: 11.98 kB / 0.9843 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005318/0.7962, allocations: 221.7 kB / 0.9845 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.7974, allocations: 387.4 kB / 0.9849 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006792/0.8042, allocations: 10.1 MB / 0.9947 GB, free: 15.96 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/0.8061, allocations: 166.8 kB / 0.9949 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.8062, allocations: 75.98 kB / 0.995 GB, free: 15.72 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (215): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003834/0.8066, allocations: 285.9 kB / 0.9952 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004548/0.8071, allocations: 268.7 kB / 0.9955 GB, free: 15.17 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003502/0.8106, allocations: 2.013 MB / 0.9975 GB, free: 13.18 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002353/0.8129, allocations: 1.65 MB / 0.9991 GB, free: 11.47 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.8129, allocations: 3.938 kB / 0.9991 GB, free: 11.46 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008294/0.8138, allocations: 0.5443 MB / 0.9996 GB, free: 10.9 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002917/0.8141, allocations: 31.98 kB / 0.9996 GB, free: 10.87 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.8151, allocations: 47.97 kB / 0.9997 GB, free: 10.82 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.8152, allocations: 113.1 kB / 0.9998 GB, free: 10.71 MB / 0.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003806/0.8191, allocations: 1.908 MB / 1.002 GB, free: 8.777 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003528/0.8226, allocations: 2.608 MB / 1.004 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008975/0.8235, allocations: 0.6785 MB / 1.005 GB, free: 5.473 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002081/0.8256, allocations: 1.527 MB / 1.006 GB, free: 3.938 MB / 0.795 GB Notification: Performance of Backend: time 7.11e-07/0.8256, allocations: 0 / 1.006 GB, free: 3.938 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.007816/0.8334, allocations: 4.504 MB / 1.011 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of SimCode: time 0.01001/0.8435, allocations: 6.34 MB / 1.017 GB, free: 8.988 MB / 0.8106 GB Notification: Performance of Templates: time 0.09722/0.9407, allocations: 67.88 MB / 1.083 GB, free: 5.867 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)