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.001081/0.001081, allocations: 110.7 kB / 16.42 MB, free: 6.492 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.001125/0.001125, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002121/0.002121, allocations: 299.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9551/0.9551, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 95.86 kB / 0.6822 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4526/0.4544, allocations: 86.98 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube): time 0.06699/0.5215, allocations: 70.25 MB / 0.8357 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02372/0.5452, allocations: 17.72 MB / 0.853 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00247/0.5477, allocations: 67.62 kB / 0.8531 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003417/0.5512, allocations: 1.208 MB / 0.8543 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005953/0.5571, allocations: 2.412 MB / 0.8566 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006731/0.5639, allocations: 2.932 MB / 0.8595 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.04327/0.6071, allocations: 38.51 MB / 0.8971 GB, free: 14.45 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02334/0.6305, allocations: 17.24 MB / 0.9139 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02179/0.6523, allocations: 12.59 MB / 0.9262 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01918/0.6716, allocations: 11.15 MB / 0.9371 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.005671/0.6773, allocations: 1.941 MB / 0.939 GB, free: 3.375 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01361/0.6909, allocations: 4.555 MB / 0.9434 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.007149/0.6981, allocations: 4.448 MB / 0.9478 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01887/0.717, allocations: 9.454 MB / 0.957 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.7239/1.441, allocations: 33.51 MB / 0.9897 GB, free: 62.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/1.441, allocations: 3.812 kB / 0.9897 GB, free: 62.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/1.441, allocations: 2.625 kB / 0.9897 GB, free: 62.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0008284/1.442, allocations: 0 / 0.9897 GB, free: 62.59 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.05026/1.492, allocations: 16.92 MB / 1.006 GB, free: 54.44 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.492, allocations: 11.47 kB / 1.006 GB, free: 54.44 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008621/1.501, allocations: 1.634 MB / 1.008 GB, free: 53.62 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02976/1.531, allocations: 16.31 MB / 1.024 GB, free: 48.55 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005503/1.531, allocations: 0.6369 MB / 1.024 GB, free: 48.54 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003805/1.535, allocations: 0.8684 MB / 1.025 GB, free: 48.52 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03226/1.567, allocations: 12.86 MB / 1.038 GB, free: 42.17 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005266/1.568, allocations: 30.72 kB / 1.038 GB, free: 42.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003366/1.571, allocations: 357.7 kB / 1.038 GB, free: 41.89 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001228/1.571, allocations: 203.9 kB / 1.038 GB, free: 41.89 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02369/1.595, allocations: 11.18 MB / 1.049 GB, free: 36.11 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.08441/1.68, allocations: 53.35 MB / 1.101 GB, free: 15.38 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009947/1.69, allocations: 5.932 MB / 1.107 GB, free: 9.453 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005786/1.695, allocations: 3.948 MB / 1.111 GB, free: 5.496 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002138/1.697, allocations: 2.183 MB / 1.113 GB, free: 2.867 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.713e-05/1.698, allocations: 98.36 kB / 1.113 GB, free: 2.762 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=484): time 7.845e-06/1.698, allocations: 0 / 1.113 GB, free: 2.762 MB / 0.7482 GB Notification: Performance of matching and sorting (n=484): time 0.02625/1.724, allocations: 12.63 MB / 1.126 GB, free: 5.73 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001742/1.724, allocations: 364.2 kB / 1.126 GB, free: 5.301 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03275/1.757, allocations: 16.02 MB / 1.142 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001562/1.758, allocations: 137.7 kB / 1.142 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.008808/1.767, allocations: 5.894 MB / 1.147 GB, free: 15.3 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003444/1.771, allocations: 1.733 MB / 1.149 GB, free: 13.59 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003633/1.774, allocations: 1.515 MB / 1.151 GB, free: 12.06 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.775, allocations: 305.1 kB / 1.151 GB, free: 11.76 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006179/1.781, allocations: 3.821 MB / 1.155 GB, free: 7.934 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009142/1.79, allocations: 5.882 MB / 1.16 GB, free: 1.328 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0141/1.804, allocations: 9.027 MB / 1.169 GB, free: 7.844 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.906e-05/1.804, allocations: 12 kB / 1.169 GB, free: 7.832 MB / 0.8107 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.02606/1.83, allocations: 11.64 MB / 1.181 GB, free: 12.34 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.044e-05/1.83, allocations: 24 kB / 1.181 GB, free: 12.31 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002498/1.831, allocations: 67.98 kB / 1.181 GB, free: 12.25 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002254/1.833, allocations: 1.019 MB / 1.182 GB, free: 11.17 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006455/1.839, allocations: 1.571 MB / 1.183 GB, free: 9.691 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02676/1.866, allocations: 36.61 MB / 1.219 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01184/1.878, allocations: 1.097 MB / 1.22 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001725/1.88, allocations: 292 kB / 1.22 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02/1.9, allocations: 8.859 MB / 1.229 GB, free: 8.285 MB / 0.8732 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01067/1.91, allocations: 5.883 MB / 1.235 GB, free: 1.684 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01677/1.927, allocations: 9.02 MB / 1.244 GB, free: 8.211 MB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.994e-05/1.927, allocations: 12 kB / 1.244 GB, free: 8.199 MB / 0.8888 GB Notification: Performance of matching and sorting (n=927) (initialization_lambda0): time 0.02849/1.956, allocations: 11.64 MB / 1.255 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.655e-05/1.956, allocations: 28.06 kB / 1.255 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002455/1.956, allocations: 63.98 kB / 1.255 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0022/1.958, allocations: 1.029 MB / 1.256 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006558/1.965, allocations: 1.563 MB / 1.258 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02741/1.992, allocations: 36.62 MB / 1.293 GB, free: 2.887 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01382/2.006, allocations: 1.034 MB / 1.294 GB, free: 1.848 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001922/2.008, allocations: 288 kB / 1.295 GB, free: 1.566 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.003126/2.011, allocations: 0.584 MB / 1.295 GB, free: 1.07 MB / 0.9357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.4164/2.428, allocations: 1.161 MB / 1.296 GB, free: 336.8 MB / 0.9357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01821/2.446, allocations: 8.626 MB / 1.305 GB, free: 336.3 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00904/2.455, allocations: 6.567 MB / 1.311 GB, free: 335.8 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.7e-05/2.455, allocations: 2.734 kB / 1.311 GB, free: 335.8 MB / 0.9357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009081/2.464, allocations: 2.634 MB / 1.314 GB, free: 334.9 MB / 0.9357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005983/2.47, allocations: 121.9 kB / 1.314 GB, free: 334.8 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01079/2.481, allocations: 322.2 kB / 1.314 GB, free: 334.8 MB / 0.9357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001172/2.482, allocations: 327.2 kB / 1.314 GB, free: 334.7 MB / 0.9357 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0169/2.499, allocations: 8.757 MB / 1.323 GB, free: 331.9 MB / 0.9357 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01748/2.517, allocations: 11.82 MB / 1.335 GB, free: 327.8 MB / 0.9357 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003778/2.521, allocations: 3.258 MB / 1.338 GB, free: 326.6 MB / 0.9357 GB Notification: Performance of sorting global known variables: time 0.0247/2.545, allocations: 11.36 MB / 1.349 GB, free: 320.1 MB / 0.9357 GB Notification: Performance of Backend: time 1.784e-06/2.545, allocations: 0 / 1.349 GB, free: 320.1 MB / 0.9357 GB Notification: Performance of simCode: created initialization part: time 0.04079/2.586, allocations: 17.4 MB / 1.366 GB, free: 304.6 MB / 0.9357 GB Notification: Performance of SimCode: time 0.07505/2.661, allocations: 33.83 MB / 1.399 GB, free: 271.3 MB / 0.9357 GB Notification: Performance of Templates: time 0.8949/3.556, allocations: 289.3 MB / 1.681 GB, free: 321.1 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)