Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.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.BoreholeTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001135/0.001136, allocations: 183.9 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002082/0.002082, allocations: 304.6 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.9188/0.9188, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 99.84 kB / 0.6822 GB, free: 6.891 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4256, allocations: 86.97 MB / 0.7671 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube): time 0.07971/0.5053, allocations: 84.99 MB / 0.8501 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03513/0.5405, allocations: 25.77 MB / 0.8753 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006252/0.5468, allocations: 123.4 kB / 0.8754 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005737/0.5525, allocations: 1.782 MB / 0.8771 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0107/0.5632, allocations: 4.038 MB / 0.8811 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.009555/0.5728, allocations: 3.997 MB / 0.885 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.9262/1.499, allocations: 75.19 MB / 0.9584 GB, free: 9.703 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04867/1.548, allocations: 34.76 MB / 0.9923 GB, free: 20.89 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03896/1.587, allocations: 24.4 MB / 1.016 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03346/1.62, allocations: 21.27 MB / 1.037 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.01065/1.631, allocations: 3.846 MB / 1.041 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02854/1.66, allocations: 7.056 MB / 1.048 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.01417/1.674, allocations: 8.335 MB / 1.056 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.03386/1.708, allocations: 17.95 MB / 1.073 GB, free: 0 / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.1135/1.821, allocations: 62.88 MB / 1.135 GB, free: 2.5 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/1.821, allocations: 0 / 1.135 GB, free: 2.5 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.775e-06/1.821, allocations: 0 / 1.135 GB, free: 2.5 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.001486/1.823, allocations: 0 / 1.135 GB, free: 2.5 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4407 * Number of variables: 4407 Notification: Performance of Generate backend data structure: time 0.1272/1.95, allocations: 31.28 MB / 1.165 GB, free: 3.363 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/1.95, allocations: 8.031 kB / 1.165 GB, free: 3.355 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02151/1.972, allocations: 3.042 MB / 1.168 GB, free: 288 kB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07383/2.045, allocations: 30.01 MB / 1.197 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001433/2.047, allocations: 1.307 MB / 1.199 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006686/2.054, allocations: 1.754 MB / 1.2 GB, free: 144 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07145/2.125, allocations: 26.67 MB / 1.227 GB, free: 5.074 MB / 0.8888 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001074/2.126, allocations: 57.45 kB / 1.227 GB, free: 5.027 MB / 0.8888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006265/2.132, allocations: 0.7109 MB / 1.227 GB, free: 4.316 MB / 0.8888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003633/2.133, allocations: 423.9 kB / 1.228 GB, free: 3.902 MB / 0.8888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05649/2.189, allocations: 23.7 MB / 1.251 GB, free: 12.28 MB / 0.92 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.5789/2.768, allocations: 105.8 MB / 1.354 GB, free: 316.8 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02026/2.789, allocations: 13.48 MB / 1.367 GB, free: 311.3 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01286/2.801, allocations: 9.746 MB / 1.377 GB, free: 306.3 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002437/2.804, allocations: 2.635 MB / 1.379 GB, free: 303.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/2.804, allocations: 160.3 kB / 1.38 GB, free: 303.4 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01048/2.815, allocations: 1.084 MB / 1.381 GB, free: 303.2 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1034): time 3.648e-05/2.815, allocations: 0 / 1.381 GB, free: 303.2 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1034): time 0.05095/2.866, allocations: 27.14 MB / 1.407 GB, free: 287.9 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/2.866, allocations: 158.8 kB / 1.407 GB, free: 287.8 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05009/2.916, allocations: 27.05 MB / 1.434 GB, free: 261.3 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.002387/2.918, allocations: 241.7 kB / 1.434 GB, free: 261 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0116/2.93, allocations: 10.93 MB / 1.445 GB, free: 250.8 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.005191/2.935, allocations: 3.678 MB / 1.448 GB, free: 247.1 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01055/2.946, allocations: 3.216 MB / 1.451 GB, free: 243.9 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 4.127e-05/2.946, allocations: 301.1 kB / 1.452 GB, free: 243.6 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01274/2.958, allocations: 8.246 MB / 1.46 GB, free: 235.3 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01491/2.973, allocations: 11.92 MB / 1.471 GB, free: 222.2 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02707/3.001, allocations: 19.44 MB / 1.49 GB, free: 201.9 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.733e-05/3.001, allocations: 24 kB / 1.49 GB, free: 201.9 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1984) (initialization): time 0.04636/3.047, allocations: 24.47 MB / 1.514 GB, free: 177.4 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/3.047, allocations: 38.5 kB / 1.514 GB, free: 177.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003087/3.047, allocations: 123 kB / 1.514 GB, free: 177.2 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004108/3.052, allocations: 2.123 MB / 1.516 GB, free: 175 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01382/3.065, allocations: 3.522 MB / 1.52 GB, free: 171.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03789/3.103, allocations: 73.7 MB / 1.592 GB, free: 92.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02123/3.125, allocations: 1.081 MB / 1.593 GB, free: 91.13 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003424/3.128, allocations: 0.5937 MB / 1.593 GB, free: 90.54 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03317/3.161, allocations: 17.51 MB / 1.611 GB, free: 73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01617/3.177, allocations: 11.91 MB / 1.622 GB, free: 59.8 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02807/3.206, allocations: 19.42 MB / 1.641 GB, free: 39.2 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.66e-05/3.206, allocations: 27.94 kB / 1.641 GB, free: 39.17 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1984) (initialization_lambda0): time 0.05423/3.26, allocations: 24.44 MB / 1.665 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-05/3.26, allocations: 43.98 kB / 1.665 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002751/3.26, allocations: 108 kB / 1.665 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003667/3.264, allocations: 2.091 MB / 1.667 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01254/3.277, allocations: 3.519 MB / 1.671 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4636/3.74, allocations: 75 MB / 1.744 GB, free: 257.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02119/3.761, allocations: 1.271 MB / 1.745 GB, free: 257.9 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003497/3.765, allocations: 0.6042 MB / 1.746 GB, free: 257.9 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (1820): * Single equations (assignments): 1769 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 41 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 40 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%), (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): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.004555/3.77, allocations: 1.02 MB / 1.747 GB, free: 257.3 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006835/3.776, allocations: 2.065 MB / 1.749 GB, free: 257.3 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03605/3.812, allocations: 18 MB / 1.766 GB, free: 250.2 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02719/3.84, allocations: 14.48 MB / 1.78 GB, free: 244.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.421e-05/3.84, allocations: 0 / 1.78 GB, free: 244.7 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01395/3.854, allocations: 4.687 MB / 1.785 GB, free: 243.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008208/3.862, allocations: 241.6 kB / 1.785 GB, free: 242.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0149/3.877, allocations: 0.6448 MB / 1.786 GB, free: 242.8 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002593/3.88, allocations: 0.6735 MB / 1.787 GB, free: 242.7 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03768/3.917, allocations: 18.98 MB / 1.805 GB, free: 236.4 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04088/3.958, allocations: 25.37 MB / 1.83 GB, free: 211.8 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009986/3.968, allocations: 7.212 MB / 1.837 GB, free: 204.6 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.03649/4.005, allocations: 19.18 MB / 1.856 GB, free: 185.5 MB / 0.9669 GB Notification: Performance of Backend: time 7.52e-07/4.005, allocations: 0 / 1.856 GB, free: 185.5 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.06839/4.073, allocations: 35.39 MB / 1.89 GB, free: 149.5 MB / 0.9669 GB Notification: Performance of SimCode: time 0.1311/4.204, allocations: 62.54 MB / 1.951 GB, free: 87.41 MB / 0.9669 GB Notification: Performance of Templates: time 1.491/5.695, allocations: 0.5293 GB / 2.481 GB, free: 286.4 MB / 0.9825 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe 2>&1)