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.00134/0.00134, allocations: 111.4 kB / 16.37 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.001266/0.001266, allocations: 196.6 kB / 17.31 MB, free: 5.824 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8015/0.8015, allocations: 135.1 MB / 426.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.91 kB / 0.5068 GB, free: 7.645 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.4253, allocations: 80.91 MB / 0.5858 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002636/0.428, allocations: 1.419 MB / 0.5872 GB, free: 24.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003905/0.4319, allocations: 2.838 MB / 0.59 GB, free: 22.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.088e-05/0.432, allocations: 0 / 0.59 GB, free: 22.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.586e-05/0.4321, allocations: 4.844 kB / 0.59 GB, free: 22.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.728e-05/0.4322, allocations: 15.86 kB / 0.59 GB, free: 22.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003405/0.4356, allocations: 1.551 MB / 0.5915 GB, free: 20.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.079e-05/0.4357, allocations: 43.67 kB / 0.5916 GB, free: 20.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.4358, allocations: 4.562 kB / 0.5916 GB, free: 20.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.645e-05/0.4358, allocations: 11.94 kB / 0.5916 GB, free: 20.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.618e-05/0.4358, allocations: 20.55 kB / 0.5916 GB, free: 20.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.4358, allocations: 0 / 0.5916 GB, free: 20.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.4376, allocations: 1.486 MB / 0.593 GB, free: 19.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.4376, allocations: 3.938 kB / 0.5931 GB, free: 19.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.4376, allocations: 19.88 kB / 0.5931 GB, free: 19.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.4387, allocations: 1.067 MB / 0.5941 GB, free: 18.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4388, allocations: 0 / 0.5941 GB, free: 18.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4388, allocations: 0.6562 kB / 0.5941 GB, free: 18.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.4388, allocations: 0.5625 kB / 0.5941 GB, free: 18.06 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.0004481/0.4392, allocations: 0.5116 MB / 0.5946 GB, free: 17.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.4393, allocations: 12.03 kB / 0.5946 GB, free: 17.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.4393, allocations: 82.25 kB / 0.5947 GB, free: 17.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.514e-05/0.4394, allocations: 255.5 kB / 0.5949 GB, free: 17.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.4395, allocations: 150.9 kB / 0.5951 GB, free: 16.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.4395, allocations: 163.3 kB / 0.5952 GB, free: 16.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.459e-05/0.4395, allocations: 102 kB / 0.5953 GB, free: 16.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.4396, allocations: 75.28 kB / 0.5954 GB, free: 16.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.4396, allocations: 156.1 kB / 0.5956 GB, free: 16.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.4396, allocations: 150.6 kB / 0.5957 GB, free: 16.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.327e-05/0.4396, allocations: 152.3 kB / 0.5959 GB, free: 16.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/0.4398, allocations: 465.9 kB / 0.5963 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.104e-05/0.4399, allocations: 176.4 kB / 0.5965 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.014e-05/0.4399, allocations: 84.14 kB / 0.5965 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.4399, allocations: 79.28 kB / 0.5966 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.44, allocations: 115.2 kB / 0.5967 GB, free: 15.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.44, allocations: 0 / 0.5967 GB, free: 15.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.019e-05/0.4401, allocations: 37.55 kB / 0.5968 GB, free: 15.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.4401, allocations: 127.3 kB / 0.5969 GB, free: 15.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.4402, allocations: 129.5 kB / 0.597 GB, free: 14.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.305e-06/0.4402, allocations: 29.7 kB / 0.597 GB, free: 14.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.4403, allocations: 85.14 kB / 0.5971 GB, free: 14.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.4403, allocations: 4 kB / 0.5971 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.4403, allocations: 21.7 kB / 0.5971 GB, free: 14.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.309e-05/0.4404, allocations: 313.4 kB / 0.5974 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.292e-05/0.4404, allocations: 4 kB / 0.5974 GB, free: 14.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.407e-05/0.4404, allocations: 11.94 kB / 0.5975 GB, free: 14.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.589e-05/0.4405, allocations: 12.84 kB / 0.5975 GB, free: 14.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.4405, allocations: 3.938 kB / 0.5975 GB, free: 14.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001073/0.4406, allocations: 50.23 kB / 0.5975 GB, free: 14.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.4406, allocations: 9.281 kB / 0.5975 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.4406, allocations: 0 / 0.5975 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.4406, allocations: 0 / 0.5975 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.4406, allocations: 4 kB / 0.5975 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4407, allocations: 5.484 kB / 0.5975 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.4407, allocations: 0 / 0.5975 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.4407, allocations: 0 / 0.5975 GB, free: 14.34 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.33e-05/0.4408, allocations: 191 kB / 0.5977 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.4408, allocations: 104.9 kB / 0.5978 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.4409, allocations: 116.8 kB / 0.5979 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-05/0.4409, allocations: 181.4 kB / 0.5981 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.071e-05/0.4409, allocations: 185.8 kB / 0.5983 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.797e-05/0.441, allocations: 188.3 kB / 0.5985 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.4411, allocations: 414.6 kB / 0.5989 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/0.4411, allocations: 104.9 kB / 0.599 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.652e-05/0.4411, allocations: 109.6 kB / 0.5991 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.469e-05/0.4412, allocations: 182.3 kB / 0.5992 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.4412, allocations: 176.3 kB / 0.5994 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.362e-05/0.4412, allocations: 176.3 kB / 0.5996 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-05/0.4413, allocations: 188.9 kB / 0.5998 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.29e-05/0.4413, allocations: 313.7 kB / 0.6001 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.542e-05/0.4414, allocations: 186 kB / 0.6002 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.4414, allocations: 181 kB / 0.6004 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.442e-05/0.4415, allocations: 107.8 kB / 0.6005 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.4415, allocations: 180.2 kB / 0.6007 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.4415, allocations: 108.9 kB / 0.6008 GB, free: 10.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.39e-05/0.4416, allocations: 95.27 kB / 0.6009 GB, free: 10.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4416, allocations: 1.406 kB / 0.6009 GB, free: 10.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006062/0.4422, allocations: 275.8 kB / 0.6011 GB, free: 10.45 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.0008403/0.443, allocations: 0.5164 MB / 0.6016 GB, free: 9.922 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.986e-05/0.4431, allocations: 39.33 kB / 0.6017 GB, free: 9.879 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4431, allocations: 0 / 0.6017 GB, free: 9.879 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.754e-06/0.4432, allocations: 0 / 0.6017 GB, free: 9.879 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.4435, allocations: 461.3 kB / 0.6021 GB, free: 9.426 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002759/0.4437, allocations: 244.8 kB / 0.6024 GB, free: 9.164 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.4439, allocations: 0.6807 MB / 0.603 GB, free: 8.457 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.333e-05/0.4439, allocations: 1.281 kB / 0.603 GB, free: 8.457 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.476e-06/0.4439, allocations: 7.438 kB / 0.603 GB, free: 8.449 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4439, allocations: 0 / 0.603 GB, free: 8.449 MB / 446.1 MB Notification: Performance of Templates: time 0.00756/0.4515, allocations: 5.441 MB / 0.6083 GB, free: 3.086 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)