Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.BoreholeTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.00134/0.00134, 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.001381/0.001381, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.347/1.347, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8009/0.8009, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.64 kB / 0.5821 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1458, allocations: 80.21 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube): time 0.09028/0.2361, allocations: 84.97 MB / 0.7434 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3939/0.63, allocations: 25.7 MB / 0.7685 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005364/0.6354, allocations: 119.8 kB / 0.7686 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006014/0.6415, allocations: 1.8 MB / 0.7703 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01193/0.6534, allocations: 4.142 MB / 0.7744 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01025/0.6637, allocations: 3.994 MB / 0.7783 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.1014/0.7651, allocations: 75.17 MB / 0.8517 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04636/0.8115, allocations: 34.83 MB / 0.8857 GB, free: 13.29 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04449/0.856, allocations: 24.43 MB / 0.9096 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03474/0.8908, allocations: 21.3 MB / 0.9304 GB, free: 1.871 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.009383/0.9002, allocations: 3.848 MB / 0.9341 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02324/0.9235, allocations: 7.046 MB / 0.941 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.01471/0.9382, allocations: 8.336 MB / 0.9491 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.04098/0.9792, allocations: 17.96 MB / 0.9667 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.07177/1.051, allocations: 62.96 MB / 1.028 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.051, allocations: 0 / 1.028 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.174e-06/1.051, allocations: 3.938 kB / 1.028 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.00154/1.053, allocations: 0 / 1.028 GB, free: 14.95 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.7078/1.76, allocations: 32.09 MB / 1.06 GB, free: 271.1 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/1.761, allocations: 10.12 kB / 1.06 GB, free: 271.1 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0149/1.775, allocations: 3.175 MB / 1.063 GB, free: 270.3 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0703/1.846, allocations: 30.19 MB / 1.092 GB, free: 256.2 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001441/1.847, allocations: 1.302 MB / 1.093 GB, free: 255.6 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006359/1.854, allocations: 1.766 MB / 1.095 GB, free: 255 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06399/1.918, allocations: 26.65 MB / 1.121 GB, free: 232.7 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008887/1.919, allocations: 63.55 kB / 1.121 GB, free: 232.6 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005039/1.924, allocations: 0.7109 MB / 1.122 GB, free: 231.9 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002423/1.924, allocations: 420 kB / 1.122 GB, free: 231.5 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04499/1.969, allocations: 23.7 MB / 1.145 GB, free: 207.8 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.158/2.127, allocations: 106 MB / 1.249 GB, free: 99.12 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01993/2.147, allocations: 13.49 MB / 1.262 GB, free: 85.59 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01276/2.16, allocations: 9.732 MB / 1.272 GB, free: 75.8 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002451/2.162, allocations: 2.63 MB / 1.274 GB, free: 72.66 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/2.162, allocations: 163.3 kB / 1.274 GB, free: 72.49 MB / 0.8263 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008721/2.171, allocations: 1.116 MB / 1.275 GB, free: 71.37 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=1034): time 2.128e-05/2.171, allocations: 4 kB / 1.275 GB, free: 71.36 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1034): time 0.0474/2.219, allocations: 27.25 MB / 1.302 GB, free: 43.14 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/2.219, allocations: 155.5 kB / 1.302 GB, free: 42.97 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05051/2.269, allocations: 27.06 MB / 1.329 GB, free: 16.04 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002532/2.272, allocations: 241.7 kB / 1.329 GB, free: 15.79 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.01276/2.284, allocations: 11.11 MB / 1.34 GB, free: 4.691 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.00501/2.29, allocations: 3.855 MB / 1.343 GB, free: 0.8633 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01011/2.3, allocations: 3.237 MB / 1.347 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/2.3, allocations: 310.2 kB / 1.347 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01514/2.315, allocations: 8.236 MB / 1.355 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01925/2.334, allocations: 11.92 MB / 1.367 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.035/2.369, allocations: 19.44 MB / 1.386 GB, free: 3.219 MB / 0.8732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.044e-05/2.369, allocations: 24 kB / 1.386 GB, free: 3.195 MB / 0.8732 GB Notification: Performance of matching and sorting (n=1984) (initialization): time 0.3973/2.767, allocations: 24.57 MB / 1.41 GB, free: 285.7 MB / 0.8732 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/2.767, allocations: 39.84 kB / 1.41 GB, free: 285.7 MB / 0.8732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003359/2.767, allocations: 110.7 kB / 1.41 GB, free: 285.7 MB / 0.8732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004613/2.772, allocations: 2.13 MB / 1.412 GB, free: 284.9 MB / 0.8732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01341/2.785, allocations: 3.53 MB / 1.415 GB, free: 284.6 MB / 0.8732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03824/2.823, allocations: 73.75 MB / 1.487 GB, free: 217.3 MB / 0.8732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01906/2.843, allocations: 1.085 MB / 1.488 GB, free: 217 MB / 0.8732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003422/2.846, allocations: 0.597 MB / 1.489 GB, free: 216.9 MB / 0.8732 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0301/2.876, allocations: 17.51 MB / 1.506 GB, free: 210.4 MB / 0.8732 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01675/2.893, allocations: 11.91 MB / 1.518 GB, free: 202.1 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02876/2.922, allocations: 19.42 MB / 1.537 GB, free: 181.4 MB / 0.8732 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.209e-05/2.922, allocations: 20 kB / 1.537 GB, free: 181.4 MB / 0.8732 GB Notification: Performance of matching and sorting (n=1984) (initialization_lambda0): time 0.04678/2.969, allocations: 24.54 MB / 1.561 GB, free: 157.8 MB / 0.8732 GB Notification: Performance of prepare postOptimizeDAE: time 9.787e-05/2.969, allocations: 40 kB / 1.561 GB, free: 157.8 MB / 0.8732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003069/2.969, allocations: 112 kB / 1.561 GB, free: 157.7 MB / 0.8732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003719/2.973, allocations: 2.088 MB / 1.563 GB, free: 155.5 MB / 0.8732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01297/2.986, allocations: 3.529 MB / 1.566 GB, free: 151.9 MB / 0.8732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03857/3.024, allocations: 75.03 MB / 1.639 GB, free: 71.46 MB / 0.8732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0199/3.044, allocations: 1.274 MB / 1.641 GB, free: 70.2 MB / 0.8732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002814/3.047, allocations: 0.5976 MB / 1.641 GB, free: 69.6 MB / 0.8732 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.005039/3.052, allocations: 1.01 MB / 1.642 GB, free: 68.63 MB / 0.8732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007598/3.06, allocations: 2.174 MB / 1.644 GB, free: 66.45 MB / 0.8732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03695/3.097, allocations: 18 MB / 1.662 GB, free: 48.32 MB / 0.8732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02452/3.121, allocations: 14.47 MB / 1.676 GB, free: 33.63 MB / 0.8732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.739e-05/3.121, allocations: 4 kB / 1.676 GB, free: 33.62 MB / 0.8732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01264/3.134, allocations: 4.786 MB / 1.681 GB, free: 28.81 MB / 0.8732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007122/3.141, allocations: 239.9 kB / 1.681 GB, free: 28.57 MB / 0.8732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01395/3.155, allocations: 0.6425 MB / 1.682 GB, free: 27.94 MB / 0.8732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002427/3.158, allocations: 0.6788 MB / 1.682 GB, free: 27.25 MB / 0.8732 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04003/3.198, allocations: 19 MB / 1.701 GB, free: 8.234 MB / 0.8732 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.4261/3.624, allocations: 25.47 MB / 1.726 GB, free: 266.8 MB / 0.8888 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01346/3.637, allocations: 7.216 MB / 1.733 GB, free: 266.8 MB / 0.8888 GB Notification: Performance of sorting global known variables: time 0.04542/3.683, allocations: 19.18 MB / 1.752 GB, free: 263.9 MB / 0.8888 GB Notification: Performance of Backend: time 1.603e-06/3.683, allocations: 0 / 1.752 GB, free: 263.9 MB / 0.8888 GB Notification: Performance of simCode: created initialization part: time 0.06935/3.752, allocations: 35.44 MB / 1.786 GB, free: 245.8 MB / 0.8888 GB Notification: Performance of SimCode: time 0.1568/3.909, allocations: 63.33 MB / 1.848 GB, free: 204.3 MB / 0.8888 GB Notification: Performance of Templates: time 1.023/4.933, allocations: 0.529 GB / 2.377 GB, free: 44.04 MB / 0.92 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe 2>&1)