Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 114.6 kB / 16.42 MB, free: 6.469 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.001114/0.001114, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7432/0.7432, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001204, allocations: 71.42 kB / 0.5821 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1358, allocations: 80.2 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.05802/0.1938, allocations: 65.56 MB / 0.7244 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02107/0.2149, allocations: 16.66 MB / 0.7407 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002151/0.2171, allocations: 67.62 kB / 0.7407 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003292/0.2204, allocations: 1.192 MB / 0.7419 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005836/0.2263, allocations: 2.405 MB / 0.7443 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006602/0.2329, allocations: 2.869 MB / 0.7471 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3334/0.5663, allocations: 4.43 MB / 0.7514 GB, free: 22.29 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00242/0.5687, allocations: 1.476 MB / 0.7528 GB, free: 22.15 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004041/0.5728, allocations: 1.652 MB / 0.7544 GB, free: 22.15 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002335/0.5751, allocations: 1.295 MB / 0.7557 GB, free: 21.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004167/0.5756, allocations: 182.6 kB / 0.7559 GB, free: 21.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006082/0.5817, allocations: 2.698 MB / 0.7585 GB, free: 21.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006261/0.5823, allocations: 482.5 kB / 0.759 GB, free: 21.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001597/0.5839, allocations: 1.029 MB / 0.76 GB, free: 21.64 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007685/0.5916, allocations: 4.49 MB / 0.7644 GB, free: 21.3 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5916, allocations: 0 / 0.7644 GB, free: 21.3 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5917, allocations: 0 / 0.7644 GB, free: 21.3 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.356e-05/0.5917, allocations: 0 / 0.7644 GB, free: 21.3 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004724/0.5964, allocations: 2.401 MB / 0.7667 GB, free: 20.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.5965, allocations: 7.969 kB / 0.7667 GB, free: 20.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000539/0.597, allocations: 212.3 kB / 0.7669 GB, free: 19.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002422/0.5995, allocations: 1.566 MB / 0.7685 GB, free: 19.51 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.109e-05/0.5995, allocations: 85.52 kB / 0.7685 GB, free: 19.51 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.5997, allocations: 110 kB / 0.7686 GB, free: 19.51 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.6015, allocations: 1.107 MB / 0.7697 GB, free: 19.35 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.6015, allocations: 12.16 kB / 0.7697 GB, free: 19.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.471e-05/0.6016, allocations: 41.44 kB / 0.7698 GB, free: 19.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/0.6016, allocations: 25.41 kB / 0.7698 GB, free: 19.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.603, allocations: 0.8322 MB / 0.7706 GB, free: 19.33 MB / 0.5762 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.007666/0.6106, allocations: 6.802 MB / 0.7772 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009181/0.6116, allocations: 0.7433 MB / 0.778 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004531/0.6121, allocations: 357.2 kB / 0.7783 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000829/0.6129, allocations: 1.259 MB / 0.7795 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.6129, allocations: 54.28 kB / 0.7796 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=72): time 3.687e-06/0.6129, allocations: 0 / 0.7796 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.002259/0.6152, allocations: 1.171 MB / 0.7807 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.6153, allocations: 88.33 kB / 0.7808 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.6173, allocations: 1.517 MB / 0.7823 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.422e-05/0.6174, allocations: 39.48 kB / 0.7823 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004683/0.6179, allocations: 0.7097 MB / 0.783 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/0.6181, allocations: 253.7 kB / 0.7833 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.6184, allocations: 193.7 kB / 0.7835 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.543e-05/0.6184, allocations: 343.7 kB / 0.7838 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/0.6189, allocations: 289.1 kB / 0.7841 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005487/0.6194, allocations: 487.2 kB / 0.7845 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008747/0.6203, allocations: 0.7214 MB / 0.7852 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.6203, allocations: 0 / 0.7852 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.001632/0.622, allocations: 1.02 MB / 0.7862 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.622, allocations: 7.031 kB / 0.7862 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/0.622, allocations: 5.75 kB / 0.7862 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002839/0.6223, allocations: 80.16 kB / 0.7863 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006504/0.623, allocations: 190.5 kB / 0.7865 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/0.6247, allocations: 3.312 MB / 0.7897 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.6259, allocations: 109.4 kB / 0.7898 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.037e-05/0.626, allocations: 38.09 kB / 0.7899 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001041/0.627, allocations: 0.58 MB / 0.7904 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000529/0.6276, allocations: 494.1 kB / 0.7909 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008333/0.6284, allocations: 0.7079 MB / 0.7916 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.996e-06/0.6284, allocations: 4 kB / 0.7916 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=116) (initialization_lambda0): time 0.001511/0.6299, allocations: 1.012 MB / 0.7926 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.63, allocations: 10.11 kB / 0.7926 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.63, allocations: 11.88 kB / 0.7926 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002174/0.6302, allocations: 70.5 kB / 0.7927 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006468/0.6309, allocations: 190 kB / 0.7929 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.6328, allocations: 3.314 MB / 0.7961 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.6341, allocations: 97.45 kB / 0.7962 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-05/0.6342, allocations: 42 kB / 0.7962 GB, free: 4.477 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0003123/0.6345, allocations: 229.5 kB / 0.7965 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002964/0.6348, allocations: 158.4 kB / 0.7966 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00196/0.6367, allocations: 1.046 MB / 0.7976 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009593/0.6377, allocations: 0.7922 MB / 0.7984 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6377, allocations: 0 / 0.7984 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006135/0.6384, allocations: 345.8 kB / 0.7987 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.6385, allocations: 16.97 kB / 0.7987 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005374/0.6391, allocations: 19.47 kB / 0.7988 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.296e-05/0.6392, allocations: 52.83 kB / 0.7988 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001511/0.6407, allocations: 0.9436 MB / 0.7997 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001528/0.6422, allocations: 1.399 MB / 0.8011 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004024/0.6427, allocations: 334.8 kB / 0.8014 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001374/0.644, allocations: 1.049 MB / 0.8024 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of Backend: time 5.61e-07/0.644, allocations: 0 / 0.8024 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005079/0.6491, allocations: 2.394 MB / 0.8048 GB, free: 268 kB / 0.5762 GB Notification: Performance of SimCode: time 0.006095/0.6552, allocations: 3.814 MB / 0.8085 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of Templates: time 0.0649/0.7202, allocations: 42.69 MB / 0.8502 GB, free: 5.859 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)