Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") 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: 101.2 kB / 15.99 MB, free: 6.367 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.001088/0.001088, allocations: 195.6 kB / 16.91 MB, free: 6.195 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.293/1.293, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7755/0.7755, allocations: 132.2 MB / 422.9 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 67.91 kB / 0.502 GB, free: 11.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4584, allocations: 80.19 MB / 0.5803 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00262/0.4611, allocations: 1.492 MB / 0.5817 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003829/0.465, allocations: 2.878 MB / 0.5845 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.465, allocations: 1 kB / 0.5845 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.859e-05/0.4651, allocations: 0 / 0.5845 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.353e-05/0.4652, allocations: 18.66 kB / 0.5846 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003653/0.4688, allocations: 1.453 MB / 0.586 GB, free: 23.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.392e-05/0.4689, allocations: 51.5 kB / 0.586 GB, free: 23.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.043e-05/0.469, allocations: 4.25 kB / 0.586 GB, free: 23.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.168e-05/0.469, allocations: 16.3 kB / 0.586 GB, free: 23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.841e-05/0.4691, allocations: 19.59 kB / 0.5861 GB, free: 22.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.4691, allocations: 2 kB / 0.5861 GB, free: 22.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.471, allocations: 1.456 MB / 0.5875 GB, free: 22.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.471, allocations: 13.89 kB / 0.5875 GB, free: 22.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.4711, allocations: 15.78 kB / 0.5875 GB, free: 22.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009993/0.4721, allocations: 0.7472 MB / 0.5882 GB, free: 21.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4721, allocations: 0 / 0.5882 GB, free: 21.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4721, allocations: 0.5 kB / 0.5882 GB, free: 21.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.4721, allocations: 0 / 0.5882 GB, free: 21.78 MB / 446.1 MB 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.0005132/0.4726, allocations: 0.5108 MB / 0.5887 GB, free: 21.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.4727, allocations: 9.875 kB / 0.5888 GB, free: 21.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.4727, allocations: 87.66 kB / 0.5888 GB, free: 21.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.4729, allocations: 257.3 kB / 0.5891 GB, free: 20.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.4729, allocations: 150.9 kB / 0.5892 GB, free: 20.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.4729, allocations: 156.7 kB / 0.5894 GB, free: 20.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.598e-05/0.473, allocations: 106 kB / 0.5895 GB, free: 20.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.473, allocations: 76.84 kB / 0.5896 GB, free: 20.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.473, allocations: 151.1 kB / 0.5897 GB, free: 20.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.4731, allocations: 152.2 kB / 0.5898 GB, free: 20.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.257e-05/0.4731, allocations: 151.6 kB / 0.59 GB, free: 19.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.4733, allocations: 465.1 kB / 0.5904 GB, free: 19.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.988e-05/0.4734, allocations: 177 kB / 0.5906 GB, free: 19.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/0.4734, allocations: 83.27 kB / 0.5907 GB, free: 19.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.4734, allocations: 75.28 kB / 0.5908 GB, free: 19.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.4734, allocations: 111.2 kB / 0.5909 GB, free: 19.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.4734, allocations: 0 / 0.5909 GB, free: 19.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.873e-05/0.4735, allocations: 38.84 kB / 0.5909 GB, free: 19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.4736, allocations: 130.6 kB / 0.591 GB, free: 18.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.4737, allocations: 134.3 kB / 0.5911 GB, free: 18.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.196e-06/0.4737, allocations: 26.2 kB / 0.5912 GB, free: 18.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.4737, allocations: 91.39 kB / 0.5913 GB, free: 18.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-06/0.4737, allocations: 0 / 0.5913 GB, free: 18.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.4738, allocations: 20.14 kB / 0.5913 GB, free: 18.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.228e-05/0.4738, allocations: 317.8 kB / 0.5916 GB, free: 18.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.159e-05/0.4739, allocations: 3.938 kB / 0.5916 GB, free: 18.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.677e-05/0.4739, allocations: 6.938 kB / 0.5916 GB, free: 18.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.839e-05/0.4739, allocations: 15.62 kB / 0.5916 GB, free: 18.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4739, allocations: 4.5 kB / 0.5916 GB, free: 18.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001195/0.474, allocations: 56.67 kB / 0.5917 GB, free: 18.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4741, allocations: 4.906 kB / 0.5917 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.4741, allocations: 10.12 kB / 0.5917 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.4741, allocations: 0 / 0.5917 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.4741, allocations: 3.938 kB / 0.5917 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.4741, allocations: 1.219 kB / 0.5917 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.176e-05/0.4742, allocations: 5.062 kB / 0.5917 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.4742, allocations: 5.078 kB / 0.5917 GB, free: 18.2 MB / 446.1 MB 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 6.52e-05/0.4742, allocations: 193 kB / 0.5919 GB, free: 18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.4743, allocations: 107.8 kB / 0.592 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.4743, allocations: 111.3 kB / 0.5921 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.701e-05/0.4744, allocations: 179 kB / 0.5923 GB, free: 17.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.889e-05/0.4744, allocations: 184.3 kB / 0.5924 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.948e-05/0.4744, allocations: 187.7 kB / 0.5926 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.4746, allocations: 411.5 kB / 0.593 GB, free: 16.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/0.4746, allocations: 111.8 kB / 0.5931 GB, free: 16.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.668e-05/0.4746, allocations: 106 kB / 0.5932 GB, free: 16.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-05/0.4746, allocations: 181.5 kB / 0.5934 GB, free: 16.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/0.4747, allocations: 181.6 kB / 0.5936 GB, free: 16.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-05/0.4747, allocations: 178 kB / 0.5937 GB, free: 16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.022e-05/0.4747, allocations: 182.2 kB / 0.5939 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.731e-05/0.4748, allocations: 319.7 kB / 0.5942 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.4749, allocations: 183.5 kB / 0.5944 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.4749, allocations: 177.7 kB / 0.5946 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.617e-05/0.475, allocations: 107.8 kB / 0.5947 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.475, allocations: 181.4 kB / 0.5948 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.475, allocations: 113.4 kB / 0.5949 GB, free: 14.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.405e-05/0.4751, allocations: 96.48 kB / 0.595 GB, free: 14.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4751, allocations: 0 / 0.595 GB, free: 14.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007562/0.4759, allocations: 277.8 kB / 0.5953 GB, free: 14.55 MB / 446.1 MB 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.0009793/0.4768, allocations: 0.5306 MB / 0.5958 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.375e-05/0.4769, allocations: 45.69 kB / 0.5959 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.477, allocations: 1.188 kB / 0.5959 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.477, allocations: 0 / 0.5959 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.4773, allocations: 474.5 kB / 0.5963 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.4776, allocations: 278 kB / 0.5966 GB, free: 13.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.4777, allocations: 0.6813 MB / 0.5972 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.053e-05/0.4777, allocations: 7.438 kB / 0.5972 GB, free: 12.54 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4777, allocations: 1.406 kB / 0.5972 GB, free: 12.54 MB / 446.1 MB Notification: Performance of Templates: time 0.00616/0.4839, allocations: 4.75 MB / 0.6019 GB, free: 7.82 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)