Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001104, allocations: 111 kB / 16.42 MB, free: 6.469 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.001048/0.001048, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002104/0.002104, allocations: 297.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.938/0.938, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 95.86 kB / 0.6822 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.405, allocations: 86.97 MB / 0.7671 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube): time 0.06555/0.4705, allocations: 70.25 MB / 0.8357 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02361/0.4942, allocations: 17.71 MB / 0.853 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/0.4965, allocations: 79.5 kB / 0.8531 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003397/0.4999, allocations: 1.212 MB / 0.8543 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006127/0.5061, allocations: 2.484 MB / 0.8567 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006837/0.5129, allocations: 2.921 MB / 0.8595 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.04155/0.5545, allocations: 38.57 MB / 0.8972 GB, free: 14.37 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0214/0.5759, allocations: 17.25 MB / 0.914 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01998/0.5959, allocations: 12.58 MB / 0.9263 GB, free: 440 kB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01686/0.6128, allocations: 11.14 MB / 0.9372 GB, free: 5.238 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.006551/0.6194, allocations: 1.941 MB / 0.9391 GB, free: 3.297 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01259/0.632, allocations: 4.559 MB / 0.9436 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.006436/0.6385, allocations: 4.44 MB / 0.9479 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01616/0.6547, allocations: 9.458 MB / 0.9571 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.7327/1.387, allocations: 33.52 MB / 0.9899 GB, free: 62.66 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.387, allocations: 0.5 kB / 0.9899 GB, free: 62.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.954e-06/1.387, allocations: 0 / 0.9899 GB, free: 62.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0008142/1.388, allocations: 0.5312 kB / 0.9899 GB, free: 62.66 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: 2147 * Number of variables: 2147 Notification: Performance of Generate backend data structure: time 0.04791/1.436, allocations: 16.92 MB / 1.006 GB, free: 54.51 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/1.436, allocations: 9.938 kB / 1.006 GB, free: 54.51 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009023/1.445, allocations: 1.634 MB / 1.008 GB, free: 53.7 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0421/1.487, allocations: 16.31 MB / 1.024 GB, free: 48.62 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007446/1.488, allocations: 0.6351 MB / 1.025 GB, free: 48.61 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004118/1.492, allocations: 0.8697 MB / 1.025 GB, free: 48.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03866/1.531, allocations: 12.86 MB / 1.038 GB, free: 42.29 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000672/1.532, allocations: 25.12 kB / 1.038 GB, free: 42.28 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003564/1.535, allocations: 356.7 kB / 1.038 GB, free: 42.01 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001409/1.536, allocations: 207.8 kB / 1.039 GB, free: 42.01 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02573/1.561, allocations: 11.18 MB / 1.049 GB, free: 36.21 MB / 0.7169 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.09954/1.661, allocations: 53.34 MB / 1.102 GB, free: 15.47 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0121/1.673, allocations: 5.925 MB / 1.107 GB, free: 9.547 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007667/1.681, allocations: 3.944 MB / 1.111 GB, free: 5.59 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002615/1.683, allocations: 2.188 MB / 1.113 GB, free: 2.957 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/1.684, allocations: 102.4 kB / 1.113 GB, free: 2.848 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=484): time 1.422e-05/1.684, allocations: 0 / 1.113 GB, free: 2.848 MB / 0.7482 GB Notification: Performance of matching and sorting (n=484): time 0.03005/1.714, allocations: 12.63 MB / 1.126 GB, free: 5.816 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001784/1.714, allocations: 366.9 kB / 1.126 GB, free: 5.387 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04295/1.757, allocations: 16.02 MB / 1.142 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001961/1.759, allocations: 129.7 kB / 1.142 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.01051/1.769, allocations: 5.908 MB / 1.148 GB, free: 15.39 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003785/1.773, allocations: 1.72 MB / 1.149 GB, free: 13.68 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006475/1.78, allocations: 1.515 MB / 1.151 GB, free: 12.16 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001005/1.78, allocations: 305.1 kB / 1.151 GB, free: 11.86 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007378/1.787, allocations: 3.821 MB / 1.155 GB, free: 8.027 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009923/1.797, allocations: 5.886 MB / 1.161 GB, free: 1.414 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01659/1.814, allocations: 9.03 MB / 1.169 GB, free: 7.93 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.858e-05/1.814, allocations: 8 kB / 1.169 GB, free: 7.922 MB / 0.8107 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.03309/1.847, allocations: 11.64 MB / 1.181 GB, free: 12.43 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.153e-05/1.847, allocations: 22.81 kB / 1.181 GB, free: 12.41 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002492/1.847, allocations: 67.98 kB / 1.181 GB, free: 12.34 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002373/1.85, allocations: 1.022 MB / 1.182 GB, free: 11.26 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006637/1.856, allocations: 1.566 MB / 1.183 GB, free: 9.785 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02764/1.884, allocations: 36.62 MB / 1.219 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01241/1.896, allocations: 1.089 MB / 1.22 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001836/1.898, allocations: 288 kB / 1.22 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01872/1.917, allocations: 8.863 MB / 1.229 GB, free: 8.375 MB / 0.8732 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009795/1.927, allocations: 5.877 MB / 1.235 GB, free: 1.777 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01551/1.942, allocations: 9.021 MB / 1.244 GB, free: 8.305 MB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.559e-05/1.942, allocations: 12 kB / 1.244 GB, free: 8.293 MB / 0.8888 GB Notification: Performance of matching and sorting (n=927) (initialization_lambda0): time 0.02781/1.97, allocations: 11.64 MB / 1.255 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/1.97, allocations: 26.09 kB / 1.255 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002227/1.971, allocations: 72.11 kB / 1.255 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002195/1.973, allocations: 1.019 MB / 1.256 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006525/1.979, allocations: 1.564 MB / 1.258 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02728/2.007, allocations: 36.62 MB / 1.293 GB, free: 2.984 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01303/2.02, allocations: 1.042 MB / 1.294 GB, free: 1.938 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00182/2.021, allocations: 292 kB / 1.295 GB, free: 1.652 MB / 0.9357 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * 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 (837): * Single equations (assignments): 807 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003096/2.025, allocations: 0.577 MB / 1.295 GB, free: 1.16 MB / 0.9357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.4269/2.452, allocations: 1.161 MB / 1.296 GB, free: 336.8 MB / 0.9357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02152/2.473, allocations: 8.634 MB / 1.305 GB, free: 336.4 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009251/2.482, allocations: 6.565 MB / 1.311 GB, free: 335.8 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/2.482, allocations: 0 / 1.311 GB, free: 335.8 MB / 0.9357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008933/2.491, allocations: 2.639 MB / 1.314 GB, free: 334.9 MB / 0.9357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005399/2.497, allocations: 119.8 kB / 1.314 GB, free: 334.8 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008667/2.506, allocations: 320 kB / 1.314 GB, free: 334.8 MB / 0.9357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001096/2.507, allocations: 327.1 kB / 1.315 GB, free: 334.7 MB / 0.9357 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01599/2.523, allocations: 8.757 MB / 1.323 GB, free: 332 MB / 0.9357 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01715/2.54, allocations: 11.82 MB / 1.335 GB, free: 327.9 MB / 0.9357 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004026/2.544, allocations: 3.254 MB / 1.338 GB, free: 326.7 MB / 0.9357 GB Notification: Performance of sorting global known variables: time 0.0236/2.568, allocations: 11.35 MB / 1.349 GB, free: 320.2 MB / 0.9357 GB Notification: Performance of Backend: time 1.223e-06/2.568, allocations: 0 / 1.349 GB, free: 320.2 MB / 0.9357 GB Notification: Performance of simCode: created initialization part: time 0.03757/2.605, allocations: 17.4 MB / 1.366 GB, free: 304.7 MB / 0.9357 GB Notification: Performance of SimCode: time 0.06949/2.675, allocations: 33.84 MB / 1.399 GB, free: 271.4 MB / 0.9357 GB Notification: Performance of Templates: time 0.7721/3.447, allocations: 289.3 MB / 1.681 GB, free: 321.2 MB / 0.9357 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1)