Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001016, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.006242/0.006242, allocations: 168.6 kB / 16.26 MB, free: 6.648 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.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7792/0.7792, allocations: 132.4 MB / 423.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003362, allocations: 8 kB / 0.504 GB, free: 3.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4132, allocations: 81.57 MB / 0.5837 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003735/0.4169, allocations: 3.764 MB / 0.5874 GB, free: 1.281 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002943/0.4199, allocations: 2.338 MB / 0.5897 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.4202, allocations: 9.812 kB / 0.5897 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.4217, allocations: 0.5075 MB / 0.5902 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005056/0.4222, allocations: 215.9 kB / 0.5904 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.4225, allocations: 121.7 kB / 0.5905 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009548/0.4234, allocations: 0.8078 MB / 0.5913 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004578/0.4239, allocations: 276.6 kB / 0.5915 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003838/0.4243, allocations: 235.5 kB / 0.5918 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003898/0.4247, allocations: 288.5 kB / 0.592 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.5e-05/0.4248, allocations: 34.75 kB / 0.5921 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.4249, allocations: 35.34 kB / 0.5921 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.4251, allocations: 135.1 kB / 0.5922 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000388/0.4255, allocations: 357.6 kB / 0.5926 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.4265, allocations: 0.9365 MB / 0.5935 GB, free: 13.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4266, allocations: 5.531 kB / 0.5935 GB, free: 13.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4266, allocations: 0 / 0.5935 GB, free: 13.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.4266, allocations: 0 / 0.5935 GB, free: 13.79 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001378/0.428, allocations: 0.8443 MB / 0.5943 GB, free: 13.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.428, allocations: 10.45 kB / 0.5943 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.4281, allocations: 76.12 kB / 0.5944 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006704/0.4288, allocations: 461.6 kB / 0.5948 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.4289, allocations: 36.59 kB / 0.5949 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.893e-05/0.429, allocations: 51.66 kB / 0.5949 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008608/0.4298, allocations: 430.5 kB / 0.5953 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.4299, allocations: 4.75 kB / 0.5953 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/0.4299, allocations: 19.84 kB / 0.5954 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.4299, allocations: 17.03 kB / 0.5954 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007963/0.4307, allocations: 373.8 kB / 0.5957 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002359/0.4331, allocations: 1.544 MB / 0.5972 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000535/0.4336, allocations: 343.8 kB / 0.5976 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000503/0.4342, allocations: 333.4 kB / 0.5979 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.4342, allocations: 3.219 kB / 0.5979 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.4342, allocations: 41.34 kB / 0.5979 GB, free: 11.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.674e-06/0.4342, allocations: 0 / 0.5979 GB, free: 11.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.001001/0.4352, allocations: 0.5013 MB / 0.5984 GB, free: 10.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.4353, allocations: 59.08 kB / 0.5985 GB, free: 10.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005981/0.4359, allocations: 486.5 kB / 0.5989 GB, free: 10.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.4359, allocations: 32.08 kB / 0.599 GB, free: 10.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.4362, allocations: 278.4 kB / 0.5992 GB, free: 10.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.4363, allocations: 146.5 kB / 0.5994 GB, free: 10.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.4364, allocations: 41.02 kB / 0.5994 GB, free: 10.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.4365, allocations: 358.3 kB / 0.5998 GB, free: 9.715 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.4368, allocations: 130.4 kB / 0.5999 GB, free: 9.648 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.4371, allocations: 135 kB / 0.6 GB, free: 9.586 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005497/0.4376, allocations: 298.4 kB / 0.6003 GB, free: 9.441 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4376, allocations: 0 / 0.6003 GB, free: 9.441 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007144/0.4384, allocations: 406.1 kB / 0.6007 GB, free: 9.234 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.4384, allocations: 9.797 kB / 0.6007 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4384, allocations: 0 / 0.6007 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.4384, allocations: 2.172 kB / 0.6007 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005094/0.4389, allocations: 131 kB / 0.6008 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.439, allocations: 5.062 kB / 0.6008 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/0.4393, allocations: 48.8 kB / 0.6009 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.4393, allocations: 10.62 kB / 0.6009 GB, free: 9.164 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0002452/0.4395, allocations: 206.7 kB / 0.6011 GB, free: 8.988 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.939e-05/0.4396, allocations: 47.5 kB / 0.6011 GB, free: 8.965 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.4398, allocations: 70.62 kB / 0.6012 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.4398, allocations: 4.188 kB / 0.6012 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.4398, allocations: 1 kB / 0.6012 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.4398, allocations: 0 / 0.6012 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007596/0.4406, allocations: 0.5785 MB / 0.6018 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4406, allocations: 1.344 kB / 0.6018 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005446/0.4411, allocations: 129.1 kB / 0.6019 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.4411, allocations: 2.625 kB / 0.6019 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.4412, allocations: 10.14 kB / 0.6019 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.4412, allocations: 1.031 kB / 0.6019 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4412, allocations: 1.062 kB / 0.6019 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.4423, allocations: 0.6696 MB / 0.6026 GB, free: 7.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.4424, allocations: 139.8 kB / 0.6027 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.479e-05/0.4425, allocations: 11.06 kB / 0.6027 GB, free: 7.832 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.4428, allocations: 27.27 kB / 0.6027 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.4428, allocations: 26.97 kB / 0.6028 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.4429, allocations: 7.625 kB / 0.6028 GB, free: 7.801 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004491/0.4433, allocations: 354.9 kB / 0.6031 GB, free: 7.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4433, allocations: 1.312 kB / 0.6031 GB, free: 7.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004635/0.4438, allocations: 140.2 kB / 0.6032 GB, free: 7.562 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0001597/0.444, allocations: 113.7 kB / 0.6033 GB, free: 7.469 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006456/0.4446, allocations: 329.5 kB / 0.6037 GB, free: 7.332 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4446, allocations: 0 / 0.6037 GB, free: 7.332 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.4449, allocations: 181.8 kB / 0.6038 GB, free: 7.258 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007277/0.4457, allocations: 135.3 kB / 0.604 GB, free: 7.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.4478, allocations: 1.503 MB / 0.6054 GB, free: 6.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.4482, allocations: 0.8711 MB / 0.6063 GB, free: 5.309 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002296/0.4484, allocations: 54.16 kB / 0.6063 GB, free: 5.285 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.4485, allocations: 34.59 kB / 0.6064 GB, free: 5.277 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4486, allocations: 4 kB / 0.6064 GB, free: 5.273 MB / 446.1 MB Notification: Performance of Templates: time 0.01183/0.4604, allocations: 5.555 MB / 0.6118 GB, free: 2.672 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)