Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005859/0.005859, allocations: 103.1 kB / 15.73 MB, free: 6.484 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.001266/0.001267, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.068/1.068, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 63.91 kB / 0.5857 GB, free: 3.285 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5252/0.5276, allocations: 80.91 MB / 0.6647 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002094/0.5297, allocations: 1.426 MB / 0.6661 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003375/0.5331, allocations: 2.832 MB / 0.6689 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.84e-05/0.5332, allocations: 0 / 0.6689 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.951e-05/0.5332, allocations: 9.109 kB / 0.6689 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.142e-05/0.5333, allocations: 13.48 kB / 0.6689 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003379/0.5367, allocations: 1.56 MB / 0.6704 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.581e-05/0.5368, allocations: 37.19 kB / 0.6705 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.5368, allocations: 7.078 kB / 0.6705 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.591e-05/0.5368, allocations: 14.56 kB / 0.6705 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.759e-05/0.5369, allocations: 15.78 kB / 0.6705 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.5369, allocations: 5.031 kB / 0.6705 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.5388, allocations: 1.486 MB / 0.6719 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.5388, allocations: 2.469 kB / 0.6719 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.5389, allocations: 18.22 kB / 0.672 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.5402, allocations: 1.064 MB / 0.673 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5402, allocations: 0 / 0.673 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5402, allocations: 1.062 kB / 0.673 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.5402, allocations: 0 / 0.673 GB, free: 1.914 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005139/0.5408, allocations: 0.5154 MB / 0.6735 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5408, allocations: 10.22 kB / 0.6735 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.5409, allocations: 82.22 kB / 0.6736 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.541, allocations: 255.1 kB / 0.6738 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.541, allocations: 156 kB / 0.674 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.541, allocations: 150.6 kB / 0.6741 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.317e-05/0.5411, allocations: 106.2 kB / 0.6742 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.5411, allocations: 75.28 kB / 0.6743 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.5411, allocations: 151.6 kB / 0.6744 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.5411, allocations: 150.6 kB / 0.6746 GB, free: 272 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.532e-05/0.5412, allocations: 156.1 kB / 0.6747 GB, free: 116 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.5415, allocations: 468.3 kB / 0.6752 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.351e-05/0.5416, allocations: 174.4 kB / 0.6754 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.314e-05/0.5416, allocations: 84.12 kB / 0.6754 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.5416, allocations: 76.34 kB / 0.6755 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.583e-05/0.5417, allocations: 110.9 kB / 0.6756 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.5417, allocations: 3.938 kB / 0.6756 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.469e-05/0.5418, allocations: 40.28 kB / 0.6757 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.5419, allocations: 126.7 kB / 0.6758 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.542, allocations: 132.7 kB / 0.6759 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.542, allocations: 31.55 kB / 0.6759 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.5421, allocations: 85.86 kB / 0.676 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.5421, allocations: 0 / 0.676 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.5421, allocations: 22.81 kB / 0.676 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5423, allocations: 316 kB / 0.6763 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.5423, allocations: 7.656 kB / 0.6763 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.436e-05/0.5423, allocations: 2.844 kB / 0.6763 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.117e-05/0.5424, allocations: 17.23 kB / 0.6764 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.5424, allocations: 1.531 kB / 0.6764 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001362/0.5425, allocations: 53.56 kB / 0.6764 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.5425, allocations: 5.25 kB / 0.6764 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.5426, allocations: 3.031 kB / 0.6764 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.5426, allocations: 4.062 kB / 0.6764 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.5426, allocations: 1.188 kB / 0.6764 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.5426, allocations: 0 / 0.6764 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.155e-05/0.5426, allocations: 1.156 kB / 0.6764 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.5426, allocations: 1.156 kB / 0.6764 GB, free: 14.32 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.5427, allocations: 196.6 kB / 0.6766 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/0.5428, allocations: 115.9 kB / 0.6767 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/0.5429, allocations: 110.3 kB / 0.6768 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.63e-05/0.5429, allocations: 178.1 kB / 0.677 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-05/0.543, allocations: 188.2 kB / 0.6772 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-05/0.5431, allocations: 181.5 kB / 0.6774 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.5433, allocations: 415 kB / 0.6778 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.555e-05/0.5434, allocations: 102 kB / 0.6778 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.5434, allocations: 106.1 kB / 0.678 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.955e-05/0.5435, allocations: 185.4 kB / 0.6781 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.509e-05/0.5436, allocations: 177.2 kB / 0.6783 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.892e-05/0.5436, allocations: 185.4 kB / 0.6785 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-05/0.5437, allocations: 177.8 kB / 0.6786 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.5439, allocations: 320.1 kB / 0.6789 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.286e-05/0.5439, allocations: 179.4 kB / 0.6791 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.559e-05/0.544, allocations: 185.7 kB / 0.6793 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/0.5441, allocations: 102.3 kB / 0.6794 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/0.5442, allocations: 182.2 kB / 0.6796 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.5442, allocations: 108.9 kB / 0.6797 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.902e-05/0.5443, allocations: 104.6 kB / 0.6798 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5443, allocations: 0 / 0.6798 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000777/0.5451, allocations: 276.9 kB / 0.68 GB, free: 10.64 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001059/0.5461, allocations: 0.5057 MB / 0.6805 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.5463, allocations: 52.94 kB / 0.6806 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5463, allocations: 3.938 kB / 0.6806 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.596e-06/0.5463, allocations: 1 kB / 0.6806 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.5467, allocations: 471.1 kB / 0.681 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003209/0.547, allocations: 232.9 kB / 0.6813 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.5473, allocations: 0.6812 MB / 0.6819 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.355e-05/0.5473, allocations: 0 / 0.6819 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.446e-05/0.5474, allocations: 9.969 kB / 0.6819 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.5474, allocations: 0 / 0.6819 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of Templates: time 0.009397/0.5568, allocations: 5.427 MB / 0.6872 GB, free: 6.141 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)