Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0009677/0.0009677, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.001057/0.001057, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.286/1.286, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7678/0.7678, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 66.67 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1447, allocations: 80.92 MB / 0.6653 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube): time 0.08071/0.2254, allocations: 84.97 MB / 0.7483 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3563/0.5818, allocations: 25.71 MB / 0.7734 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005247/0.587, allocations: 120.1 kB / 0.7736 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00568/0.5927, allocations: 1.791 MB / 0.7753 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01169/0.6045, allocations: 4.14 MB / 0.7793 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01059/0.6151, allocations: 3.993 MB / 0.7832 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.1066/0.7217, allocations: 75.17 MB / 0.8567 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05327/0.775, allocations: 34.83 MB / 0.8907 GB, free: 9.949 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04617/0.8212, allocations: 24.43 MB / 0.9145 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03515/0.8564, allocations: 21.3 MB / 0.9353 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.01057/0.867, allocations: 3.848 MB / 0.9391 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02624/0.8933, allocations: 7.055 MB / 0.946 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.01408/0.9074, allocations: 8.334 MB / 0.9541 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.03612/0.9436, allocations: 17.95 MB / 0.9716 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.07583/1.019, allocations: 62.82 MB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/1.02, allocations: 4 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.954e-06/1.02, allocations: 0 / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.001638/1.021, allocations: 0 / 1.033 GB, free: 11.76 MB / 0.8106 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.7995/1.821, allocations: 31.28 MB / 1.064 GB, free: 188.7 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/1.821, allocations: 9.156 kB / 1.064 GB, free: 188.7 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01928/1.84, allocations: 3.041 MB / 1.067 GB, free: 187.2 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06238/1.903, allocations: 30.01 MB / 1.096 GB, free: 181.7 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001225/1.904, allocations: 1.301 MB / 1.097 GB, free: 181.1 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006631/1.91, allocations: 1.762 MB / 1.099 GB, free: 180.5 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07017/1.981, allocations: 26.65 MB / 1.125 GB, free: 166 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008676/1.982, allocations: 60.73 kB / 1.125 GB, free: 165.9 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006755/1.988, allocations: 0.7109 MB / 1.126 GB, free: 165.2 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003012/1.989, allocations: 420 kB / 1.126 GB, free: 164.8 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04756/2.036, allocations: 23.7 MB / 1.149 GB, free: 141.2 MB / 0.8263 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.163/2.199, allocations: 105.8 MB / 1.252 GB, free: 33.58 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01915/2.218, allocations: 13.48 MB / 1.266 GB, free: 20.07 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01329/2.232, allocations: 9.738 MB / 1.275 GB, free: 10.28 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002612/2.234, allocations: 2.632 MB / 1.278 GB, free: 7.141 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/2.235, allocations: 163.3 kB / 1.278 GB, free: 6.969 MB / 0.8263 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01041/2.245, allocations: 1.081 MB / 1.279 GB, free: 5.879 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=1034): time 2.561e-05/2.245, allocations: 0 / 1.279 GB, free: 5.879 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1034): time 0.05412/2.299, allocations: 27.14 MB / 1.305 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/2.299, allocations: 159.5 kB / 1.306 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05618/2.356, allocations: 27.05 MB / 1.332 GB, free: 14.71 MB / 0.8888 GB Notification: Performance of collectPreVariables (initialization): time 0.003361/2.359, allocations: 237.7 kB / 1.332 GB, free: 14.48 MB / 0.8888 GB Notification: Performance of collectInitialEqns (initialization): time 0.01683/2.376, allocations: 10.94 MB / 1.343 GB, free: 3.531 MB / 0.8888 GB Notification: Performance of collectInitialBindings (initialization): time 0.006496/2.382, allocations: 3.683 MB / 1.346 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01126/2.394, allocations: 3.21 MB / 1.35 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001029/2.394, allocations: 301.1 kB / 1.35 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01554/2.409, allocations: 8.241 MB / 1.358 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02034/2.43, allocations: 11.93 MB / 1.37 GB, free: 6.949 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03451/2.464, allocations: 19.44 MB / 1.389 GB, free: 2.652 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.763e-05/2.464, allocations: 20 kB / 1.389 GB, free: 2.633 MB / 0.9357 GB Notification: Performance of matching and sorting (n=1984) (initialization): time 0.05839/2.523, allocations: 24.46 MB / 1.412 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/2.523, allocations: 42.81 kB / 1.412 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003089/2.523, allocations: 108 kB / 1.413 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00487/2.528, allocations: 2.12 MB / 1.415 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01394/2.542, allocations: 3.534 MB / 1.418 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4039/2.946, allocations: 73.7 MB / 1.49 GB, free: 313.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01844/2.964, allocations: 1.083 MB / 1.491 GB, free: 313.6 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003149/2.968, allocations: 0.6031 MB / 1.492 GB, free: 313.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02979/2.997, allocations: 17.51 MB / 1.509 GB, free: 306.9 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01536/3.013, allocations: 11.91 MB / 1.52 GB, free: 300.1 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02677/3.04, allocations: 19.42 MB / 1.539 GB, free: 290.2 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001119/3.04, allocations: 22.41 kB / 1.539 GB, free: 290.2 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1984) (initialization_lambda0): time 0.0458/3.086, allocations: 24.43 MB / 1.563 GB, free: 280.2 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.48e-05/3.086, allocations: 44.25 kB / 1.563 GB, free: 280.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002389/3.086, allocations: 112 kB / 1.563 GB, free: 280 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003401/3.089, allocations: 2.084 MB / 1.566 GB, free: 277.8 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01201/3.101, allocations: 3.537 MB / 1.569 GB, free: 274.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03809/3.139, allocations: 74.99 MB / 1.642 GB, free: 193.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01848/3.158, allocations: 1.273 MB / 1.643 GB, free: 192.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00267/3.161, allocations: 0.5975 MB / 1.644 GB, free: 192.1 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.004688/3.165, allocations: 1.018 MB / 1.645 GB, free: 191.1 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006879/3.172, allocations: 2.065 MB / 1.647 GB, free: 190.1 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0298/3.202, allocations: 17.99 MB / 1.665 GB, free: 171.9 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02233/3.224, allocations: 14.48 MB / 1.679 GB, free: 157.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.646e-05/3.225, allocations: 0 / 1.679 GB, free: 157.2 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0137/3.238, allocations: 4.678 MB / 1.683 GB, free: 152.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006984/3.245, allocations: 247.5 kB / 1.684 GB, free: 152.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01344/3.259, allocations: 0.643 MB / 1.684 GB, free: 151.6 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002132/3.261, allocations: 0.6749 MB / 1.685 GB, free: 150.9 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04169/3.303, allocations: 18.97 MB / 1.703 GB, free: 132 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0407/3.343, allocations: 25.37 MB / 1.728 GB, free: 106.4 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009759/3.353, allocations: 7.219 MB / 1.735 GB, free: 99.16 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0353/3.388, allocations: 19.18 MB / 1.754 GB, free: 80.08 MB / 0.9669 GB Notification: Performance of Backend: time 9.71e-07/3.388, allocations: 0 / 1.754 GB, free: 80.08 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0666/3.455, allocations: 35.39 MB / 1.788 GB, free: 43.84 MB / 0.9669 GB Notification: Performance of SimCode: time 0.4949/3.95, allocations: 62.54 MB / 1.85 GB, free: 333.3 MB / 0.9669 GB Notification: Performance of Templates: time 1.006/4.956, allocations: 0.5291 GB / 2.379 GB, free: 189.6 MB / 0.9669 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe 2>&1)