Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001276/0.001276, allocations: 111.9 kB / 16.42 MB, free: 6.441 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.001099/0.0011, allocations: 190.7 kB / 17.35 MB, free: 5.703 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.316/1.316, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7684/0.7684, allocations: 132.2 MB / 423.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 61.66 kB / 0.582 GB, free: 23.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1483, allocations: 80.22 MB / 0.6604 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube): time 0.07198/0.2203, allocations: 70.24 MB / 0.729 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02409/0.2444, allocations: 17.67 MB / 0.7462 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002696/0.2472, allocations: 67.62 kB / 0.7463 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003958/0.2512, allocations: 1.227 MB / 0.7475 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3999/0.6511, allocations: 2.46 MB / 0.7499 GB, free: 20.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008996/0.6601, allocations: 2.918 MB / 0.7527 GB, free: 20.3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0576/0.7177, allocations: 38.5 MB / 0.7904 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02692/0.7447, allocations: 17.28 MB / 0.8072 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02794/0.7727, allocations: 12.59 MB / 0.8195 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02037/0.793, allocations: 11.17 MB / 0.8304 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.006008/0.7991, allocations: 1.945 MB / 0.8323 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01925/0.8184, allocations: 4.544 MB / 0.8368 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.008778/0.8272, allocations: 4.447 MB / 0.8411 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.02205/0.8493, allocations: 9.456 MB / 0.8503 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0455/0.8948, allocations: 33.51 MB / 0.8831 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.8948, allocations: 3.75 kB / 0.8831 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8949, allocations: 4 kB / 0.8831 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0009875/0.8959, allocations: 0 / 0.8831 GB, free: 7.312 MB / 0.6544 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.05459/0.9505, allocations: 16.92 MB / 0.8996 GB, free: 6.41 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.254e-05/0.9505, allocations: 8.031 kB / 0.8996 GB, free: 6.402 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009639/0.9602, allocations: 1.635 MB / 0.9012 GB, free: 4.75 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04/1, allocations: 16.3 MB / 0.9171 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000792/1.001, allocations: 0.6414 MB / 0.9178 GB, free: 4.023 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003987/1.005, allocations: 0.8708 MB / 0.9186 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03975/1.045, allocations: 12.86 MB / 0.9312 GB, free: 6.004 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005913/1.045, allocations: 23.84 kB / 0.9312 GB, free: 5.98 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003613/1.049, allocations: 356 kB / 0.9315 GB, free: 5.633 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002043/1.049, allocations: 204 kB / 0.9317 GB, free: 5.434 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02672/1.076, allocations: 11.19 MB / 0.9426 GB, free: 10.22 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.1055/1.182, allocations: 53.32 MB / 0.9947 GB, free: 3.191 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/1.192, allocations: 5.94 MB / 1.001 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006738/1.199, allocations: 3.94 MB / 1.004 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002328/1.202, allocations: 2.189 MB / 1.007 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/1.202, allocations: 102.3 kB / 1.007 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=484): time 1.423e-05/1.202, allocations: 0 / 1.007 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of matching and sorting (n=484): time 0.0271/1.229, allocations: 12.62 MB / 1.019 GB, free: 9.492 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001784/1.229, allocations: 368.2 kB / 1.019 GB, free: 9.059 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03855/1.268, allocations: 16.02 MB / 1.035 GB, free: 9.109 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.001517/1.269, allocations: 133.7 kB / 1.035 GB, free: 8.973 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.009246/1.279, allocations: 5.908 MB / 1.041 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.003263/1.282, allocations: 1.72 MB / 1.042 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00582/1.288, allocations: 1.508 MB / 1.044 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.288, allocations: 313 kB / 1.044 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006841/1.295, allocations: 3.821 MB / 1.048 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008631/1.303, allocations: 5.882 MB / 1.054 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6925/1.996, allocations: 9.024 MB / 1.063 GB, free: 278.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-05/1.996, allocations: 12.69 kB / 1.063 GB, free: 278.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.02628/2.022, allocations: 11.64 MB / 1.074 GB, free: 276.9 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/2.022, allocations: 22.84 kB / 1.074 GB, free: 276.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001809/2.022, allocations: 67.52 kB / 1.074 GB, free: 276.9 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002085/2.025, allocations: 1.019 MB / 1.075 GB, free: 276.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005884/2.03, allocations: 1.569 MB / 1.077 GB, free: 276.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02346/2.054, allocations: 36.62 MB / 1.112 GB, free: 243 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01159/2.066, allocations: 1.093 MB / 1.113 GB, free: 242.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001512/2.067, allocations: 288.8 kB / 1.114 GB, free: 242.9 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01554/2.083, allocations: 8.864 MB / 1.122 GB, free: 239.6 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007961/2.091, allocations: 5.879 MB / 1.128 GB, free: 236 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01325/2.104, allocations: 9.015 MB / 1.137 GB, free: 231.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.243e-05/2.104, allocations: 12.38 kB / 1.137 GB, free: 231.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=927) (initialization_lambda0): time 0.02581/2.13, allocations: 11.64 MB / 1.148 GB, free: 225.7 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.598e-05/2.13, allocations: 24.06 kB / 1.148 GB, free: 225.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002418/2.13, allocations: 74.12 kB / 1.148 GB, free: 225.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001942/2.132, allocations: 1.019 MB / 1.149 GB, free: 225.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005593/2.138, allocations: 1.576 MB / 1.151 GB, free: 223.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01921/2.157, allocations: 36.62 MB / 1.187 GB, free: 184.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01683/2.174, allocations: 1.035 MB / 1.188 GB, free: 183.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001957/2.176, allocations: 288 kB / 1.188 GB, free: 182.9 MB / 0.8263 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.003528/2.179, allocations: 0.583 MB / 1.188 GB, free: 182.4 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005121/2.185, allocations: 1.165 MB / 1.19 GB, free: 181.2 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01759/2.202, allocations: 8.608 MB / 1.198 GB, free: 172.5 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009436/2.212, allocations: 6.574 MB / 1.204 GB, free: 165.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/2.212, allocations: 4 kB / 1.204 GB, free: 165.9 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009153/2.221, allocations: 2.643 MB / 1.207 GB, free: 163.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004857/2.226, allocations: 116 kB / 1.207 GB, free: 163.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008706/2.235, allocations: 311.6 kB / 1.207 GB, free: 162.9 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001247/2.236, allocations: 331.3 kB / 1.208 GB, free: 162.5 MB / 0.8263 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01746/2.253, allocations: 8.755 MB / 1.216 GB, free: 153.8 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01874/2.272, allocations: 11.81 MB / 1.228 GB, free: 141.9 MB / 0.8263 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004235/2.276, allocations: 3.261 MB / 1.231 GB, free: 138.7 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.02291/2.299, allocations: 11.35 MB / 1.242 GB, free: 127.4 MB / 0.8263 GB Notification: Performance of Backend: time 1.573e-06/2.299, allocations: 0 / 1.242 GB, free: 127.4 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.03791/2.337, allocations: 17.39 MB / 1.259 GB, free: 109.6 MB / 0.8263 GB Notification: Performance of SimCode: time 0.0777/2.415, allocations: 33.84 MB / 1.292 GB, free: 76.03 MB / 0.8263 GB Notification: Performance of Templates: time 0.7479/3.163, allocations: 289.1 MB / 1.575 GB, free: 88.64 MB / 0.8263 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1)