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.001217/0.001217, allocations: 114.7 kB / 16.42 MB, free: 6.031 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.001239/0.001239, allocations: 190 kB / 17.35 MB, free: 5.633 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.327/1.327, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002107/0.002107, allocations: 286.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.945/0.945, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 95.86 kB / 0.6822 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4452/0.447, allocations: 86.96 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube): time 0.07966/0.5267, allocations: 84.99 MB / 0.8501 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0357/0.5624, allocations: 25.78 MB / 0.8753 GB, free: 4.785 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004566/0.567, allocations: 119.4 kB / 0.8754 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005552/0.5726, allocations: 1.789 MB / 0.8771 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01123/0.5839, allocations: 4.165 MB / 0.8812 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.009734/0.5936, allocations: 3.997 MB / 0.8851 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.8851/1.479, allocations: 75.28 MB / 0.9586 GB, free: 9.773 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04523/1.524, allocations: 34.76 MB / 0.9926 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0442/1.568, allocations: 24.4 MB / 1.016 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03346/1.602, allocations: 21.26 MB / 1.037 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0117/1.613, allocations: 3.85 MB / 1.041 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02435/1.638, allocations: 7.059 MB / 1.048 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.01559/1.653, allocations: 8.344 MB / 1.056 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.04036/1.694, allocations: 17.95 MB / 1.073 GB, free: 68 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.08383/1.778, allocations: 62.87 MB / 1.135 GB, free: 2.484 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/1.778, allocations: 3.984 kB / 1.135 GB, free: 2.48 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.854e-06/1.778, allocations: 0 / 1.135 GB, free: 2.48 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.001666/1.779, allocations: 0 / 1.135 GB, free: 2.48 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.09344/1.873, allocations: 31.28 MB / 1.165 GB, free: 3.344 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/1.873, allocations: 12.03 kB / 1.165 GB, free: 3.332 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0159/1.889, allocations: 3.038 MB / 1.168 GB, free: 268 kB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07088/1.96, allocations: 30.01 MB / 1.198 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00148/1.961, allocations: 1.303 MB / 1.199 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007102/1.968, allocations: 1.757 MB / 1.201 GB, free: 128 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07297/2.041, allocations: 26.66 MB / 1.227 GB, free: 5.055 MB / 0.8888 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001161/2.043, allocations: 66.39 kB / 1.227 GB, free: 5 MB / 0.8888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006013/2.049, allocations: 0.707 MB / 1.227 GB, free: 4.293 MB / 0.8888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000346/2.049, allocations: 423.5 kB / 1.228 GB, free: 3.883 MB / 0.8888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05352/2.103, allocations: 23.7 MB / 1.251 GB, free: 12.25 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.5746/2.677, allocations: 105.8 MB / 1.354 GB, free: 316.8 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02023/2.698, allocations: 13.48 MB / 1.367 GB, free: 311.4 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01256/2.71, allocations: 9.744 MB / 1.377 GB, free: 306.3 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002414/2.713, allocations: 2.628 MB / 1.38 GB, free: 303.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/2.713, allocations: 160.3 kB / 1.38 GB, free: 303.4 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009594/2.722, allocations: 1.085 MB / 1.381 GB, free: 303.2 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1034): time 2.441e-05/2.722, allocations: 0 / 1.381 GB, free: 303.2 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1034): time 0.04996/2.772, allocations: 27.14 MB / 1.407 GB, free: 287.9 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.429e-05/2.772, allocations: 156.4 kB / 1.407 GB, free: 287.8 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05278/2.825, allocations: 27.05 MB / 1.434 GB, free: 261.2 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.002368/2.828, allocations: 239.3 kB / 1.434 GB, free: 261 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.01113/2.839, allocations: 10.94 MB / 1.445 GB, free: 250.6 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.004596/2.843, allocations: 3.676 MB / 1.448 GB, free: 247 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00897/2.852, allocations: 3.212 MB / 1.451 GB, free: 243.8 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 4.675e-05/2.853, allocations: 301.1 kB / 1.452 GB, free: 243.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01321/2.866, allocations: 8.242 MB / 1.46 GB, free: 235.2 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01609/2.882, allocations: 11.93 MB / 1.471 GB, free: 222.1 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02682/2.909, allocations: 19.44 MB / 1.49 GB, free: 201.8 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001189/2.909, allocations: 20 kB / 1.49 GB, free: 201.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1984) (initialization): time 0.0502/2.959, allocations: 24.47 MB / 1.514 GB, free: 177.4 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/2.959, allocations: 42.5 kB / 1.514 GB, free: 177.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002653/2.959, allocations: 116 kB / 1.515 GB, free: 177.2 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003868/2.963, allocations: 2.124 MB / 1.517 GB, free: 175 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01304/2.976, allocations: 3.534 MB / 1.52 GB, free: 171.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03784/3.014, allocations: 73.71 MB / 1.592 GB, free: 92.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02333/3.038, allocations: 1.085 MB / 1.593 GB, free: 91.11 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003697/3.041, allocations: 0.5898 MB / 1.594 GB, free: 90.52 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02897/3.07, allocations: 17.52 MB / 1.611 GB, free: 72.99 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01537/3.086, allocations: 11.92 MB / 1.622 GB, free: 59.79 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02763/3.113, allocations: 19.41 MB / 1.641 GB, free: 39.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.632e-05/3.114, allocations: 24 kB / 1.641 GB, free: 39.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1984) (initialization_lambda0): time 0.04563/3.159, allocations: 24.44 MB / 1.665 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.842e-05/3.159, allocations: 40 kB / 1.665 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002461/3.16, allocations: 104 kB / 1.665 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003481/3.163, allocations: 2.088 MB / 1.667 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01254/3.176, allocations: 3.53 MB / 1.671 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4676/3.643, allocations: 75 MB / 1.744 GB, free: 258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02018/3.663, allocations: 1.28 MB / 1.745 GB, free: 258 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003035/3.666, allocations: 0.5901 MB / 1.746 GB, free: 258 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.004997/3.672, allocations: 1.02 MB / 1.747 GB, free: 257.4 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007704/3.679, allocations: 2.065 MB / 1.749 GB, free: 257.4 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04006/3.719, allocations: 18 MB / 1.767 GB, free: 250.4 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02689/3.746, allocations: 14.47 MB / 1.781 GB, free: 244.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.913e-05/3.746, allocations: 0 / 1.781 GB, free: 244.8 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01492/3.761, allocations: 4.695 MB / 1.785 GB, free: 243.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008543/3.77, allocations: 243 kB / 1.785 GB, free: 243.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01466/3.785, allocations: 0.6353 MB / 1.786 GB, free: 242.9 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002869/3.787, allocations: 0.6787 MB / 1.787 GB, free: 242.9 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03969/3.827, allocations: 18.98 MB / 1.805 GB, free: 236.4 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04378/3.871, allocations: 25.37 MB / 1.83 GB, free: 211.8 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00935/3.88, allocations: 7.223 MB / 1.837 GB, free: 204.6 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.03734/3.918, allocations: 19.18 MB / 1.856 GB, free: 185.5 MB / 0.9669 GB Notification: Performance of Backend: time 5.01e-07/3.918, allocations: 0 / 1.856 GB, free: 185.5 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0628/3.981, allocations: 35.4 MB / 1.89 GB, free: 149.4 MB / 0.9669 GB Notification: Performance of SimCode: time 0.1261/4.107, allocations: 62.54 MB / 1.952 GB, free: 87.41 MB / 0.9669 GB Notification: Performance of Templates: time 1.465/5.571, allocations: 0.5293 GB / 2.481 GB, free: 286.6 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)