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.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-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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.002155/0.002155, allocations: 106.3 kB / 16.27 MB, free: 6.414 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.002522/0.002522, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.409/1.409, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8626/0.8626, allocations: 135.1 MB / 426.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001585, allocations: 63.91 kB / 0.5061 GB, free: 8.363 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4298, allocations: 80.91 MB / 0.5851 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002989/0.4329, allocations: 1.429 MB / 0.5865 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004786/0.4377, allocations: 2.881 MB / 0.5893 GB, free: 21.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.4378, allocations: 1.406 kB / 0.5893 GB, free: 21.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.4379, allocations: 3.938 kB / 0.5893 GB, free: 21.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.935e-05/0.438, allocations: 17.28 kB / 0.5893 GB, free: 21.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004361/0.4423, allocations: 1.57 MB / 0.5908 GB, free: 20.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.383e-05/0.4424, allocations: 43.67 kB / 0.5909 GB, free: 20.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.834e-05/0.4425, allocations: 9.953 kB / 0.5909 GB, free: 20.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.268e-05/0.4425, allocations: 13.22 kB / 0.5909 GB, free: 20.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.172e-05/0.4426, allocations: 23.86 kB / 0.5909 GB, free: 20.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.4426, allocations: 0 / 0.5909 GB, free: 20.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.4445, allocations: 1.449 MB / 0.5923 GB, free: 19.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.4445, allocations: 11.92 kB / 0.5923 GB, free: 19.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.4446, allocations: 23.86 kB / 0.5924 GB, free: 19.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.4458, allocations: 1.088 MB / 0.5934 GB, free: 18.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4458, allocations: 0.9375 kB / 0.5934 GB, free: 18.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4458, allocations: 0 / 0.5934 GB, free: 18.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.4458, allocations: 0 / 0.5934 GB, free: 18.02 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.0005144/0.4464, allocations: 0.5248 MB / 0.5939 GB, free: 17.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.4464, allocations: 12.02 kB / 0.594 GB, free: 17.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.314e-05/0.4465, allocations: 84.12 kB / 0.594 GB, free: 17.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.4466, allocations: 251.5 kB / 0.5943 GB, free: 17.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.4466, allocations: 157.6 kB / 0.5944 GB, free: 16.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.4466, allocations: 154.5 kB / 0.5946 GB, free: 16.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.798e-05/0.4467, allocations: 105 kB / 0.5947 GB, free: 16.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.4467, allocations: 79.22 kB / 0.5947 GB, free: 16.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.4468, allocations: 151.7 kB / 0.5949 GB, free: 16.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.4468, allocations: 156.9 kB / 0.595 GB, free: 16.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.592e-05/0.4468, allocations: 150.6 kB / 0.5952 GB, free: 16.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.447, allocations: 461.9 kB / 0.5956 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.499e-05/0.4471, allocations: 175.8 kB / 0.5958 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/0.4471, allocations: 84.08 kB / 0.5959 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.4471, allocations: 79.28 kB / 0.596 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.4472, allocations: 106.9 kB / 0.5961 GB, free: 15.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/0.4472, allocations: 1.844 kB / 0.5961 GB, free: 15.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.205e-05/0.4473, allocations: 37.55 kB / 0.5961 GB, free: 15.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.4473, allocations: 126.7 kB / 0.5962 GB, free: 15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.4474, allocations: 132 kB / 0.5963 GB, free: 14.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.293e-06/0.4474, allocations: 27.3 kB / 0.5964 GB, free: 14.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.4475, allocations: 96.12 kB / 0.5965 GB, free: 14.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.4475, allocations: 0 / 0.5965 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.4475, allocations: 14.84 kB / 0.5965 GB, free: 14.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.952e-05/0.4476, allocations: 322.8 kB / 0.5968 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/0.4476, allocations: 4.906 kB / 0.5968 GB, free: 14.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.598e-05/0.4476, allocations: 8 kB / 0.5968 GB, free: 14.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.4476, allocations: 13.42 kB / 0.5968 GB, free: 14.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4477, allocations: 4.844 kB / 0.5968 GB, free: 14.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001186/0.4478, allocations: 49.61 kB / 0.5969 GB, free: 14.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.4478, allocations: 11.98 kB / 0.5969 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.4478, allocations: 9.734 kB / 0.5969 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.4478, allocations: 0 / 0.5969 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.4479, allocations: 0 / 0.5969 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.4479, allocations: 0 / 0.5969 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.296e-05/0.4479, allocations: 5.25 kB / 0.5969 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.4479, allocations: 4.062 kB / 0.5969 GB, free: 14.27 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.517e-05/0.448, allocations: 193.7 kB / 0.5971 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.448, allocations: 111.2 kB / 0.5972 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.448, allocations: 108.8 kB / 0.5973 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.672e-05/0.4481, allocations: 184.3 kB / 0.5975 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.693e-05/0.4481, allocations: 184.3 kB / 0.5976 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.92e-05/0.4481, allocations: 186.9 kB / 0.5978 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.4483, allocations: 417.1 kB / 0.5982 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/0.4483, allocations: 105 kB / 0.5983 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.637e-05/0.4483, allocations: 106.5 kB / 0.5984 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.697e-05/0.4484, allocations: 180.2 kB / 0.5986 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/0.4484, allocations: 184.2 kB / 0.5988 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.619e-05/0.4484, allocations: 178.1 kB / 0.5989 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.517e-05/0.4485, allocations: 180.2 kB / 0.5991 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.909e-05/0.4485, allocations: 313.7 kB / 0.5994 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.992e-05/0.4486, allocations: 186 kB / 0.5996 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/0.4486, allocations: 182.6 kB / 0.5997 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.085e-05/0.4487, allocations: 104.9 kB / 0.5998 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.4488, allocations: 188.2 kB / 0.6 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.4488, allocations: 101.5 kB / 0.6001 GB, free: 10.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.894e-05/0.4488, allocations: 104.8 kB / 0.6002 GB, free: 10.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4488, allocations: 0 / 0.6002 GB, free: 10.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006396/0.4495, allocations: 279.8 kB / 0.6005 GB, free: 10.38 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.0009447/0.4504, allocations: 0.5284 MB / 0.601 GB, free: 9.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.294e-05/0.4505, allocations: 41.64 kB / 0.601 GB, free: 9.793 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.4505, allocations: 0.625 kB / 0.601 GB, free: 9.793 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.4505, allocations: 7.938 kB / 0.6011 GB, free: 9.785 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.4509, allocations: 465.8 kB / 0.6015 GB, free: 9.328 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.4512, allocations: 261.6 kB / 0.6017 GB, free: 9.043 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.4513, allocations: 0.6807 MB / 0.6024 GB, free: 8.336 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.139e-05/0.4513, allocations: 11.44 kB / 0.6024 GB, free: 8.324 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.4513, allocations: 1.062 kB / 0.6024 GB, free: 8.324 MB / 446.1 MB Notification: Performance of Templates: time 0.006507/0.4578, allocations: 4.756 MB / 0.6071 GB, free: 3.602 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)