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.001584/0.001584, allocations: 117.7 kB / 16.37 MB, free: 6 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.001854/0.001854, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8401/0.8401, allocations: 132.2 MB / 423.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001225, allocations: 67.89 kB / 0.5033 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.4288, allocations: 80.18 MB / 0.5816 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002561/0.4314, allocations: 1.439 MB / 0.583 GB, free: 26.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003679/0.4351, allocations: 2.88 MB / 0.5858 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.678e-05/0.4351, allocations: 0 / 0.5858 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.401e-05/0.4352, allocations: 7.922 kB / 0.5858 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.975e-05/0.4352, allocations: 16.52 kB / 0.5858 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003303/0.4385, allocations: 1.579 MB / 0.5873 GB, free: 23.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.286e-05/0.4386, allocations: 38.66 kB / 0.5874 GB, free: 23.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.4387, allocations: 10.27 kB / 0.5874 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.017e-05/0.4387, allocations: 15.95 kB / 0.5874 GB, free: 23.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.929e-05/0.4387, allocations: 15.78 kB / 0.5874 GB, free: 23.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.4388, allocations: 2.656 kB / 0.5874 GB, free: 23.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.4407, allocations: 1.527 MB / 0.5889 GB, free: 22.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.4407, allocations: 10.77 kB / 0.5889 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.4408, allocations: 15.62 kB / 0.5889 GB, free: 22.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.442, allocations: 1.094 MB / 0.59 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.442, allocations: 4 kB / 0.59 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.442, allocations: 0.5 kB / 0.59 GB, free: 21.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.442, allocations: 0.75 kB / 0.59 GB, free: 21.57 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.0004446/0.4425, allocations: 0.5116 MB / 0.5905 GB, free: 21.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.4425, allocations: 12.03 kB / 0.5905 GB, free: 21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.4426, allocations: 80.62 kB / 0.5906 GB, free: 20.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.622e-05/0.4427, allocations: 261.7 kB / 0.5908 GB, free: 20.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.4427, allocations: 158.9 kB / 0.591 GB, free: 20.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.4427, allocations: 158.5 kB / 0.5911 GB, free: 20.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.932e-05/0.4428, allocations: 101.5 kB / 0.5912 GB, free: 20.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.4428, allocations: 77.31 kB / 0.5913 GB, free: 20.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.4429, allocations: 154.6 kB / 0.5915 GB, free: 19.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.4429, allocations: 150.6 kB / 0.5916 GB, free: 19.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.678e-05/0.4429, allocations: 151.2 kB / 0.5917 GB, free: 19.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.4431, allocations: 467.7 kB / 0.5922 GB, free: 19.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.571e-05/0.4432, allocations: 174 kB / 0.5924 GB, free: 19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.924e-05/0.4432, allocations: 81.23 kB / 0.5924 GB, free: 18.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.4432, allocations: 76.09 kB / 0.5925 GB, free: 18.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.4432, allocations: 110.9 kB / 0.5926 GB, free: 18.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.4432, allocations: 3.938 kB / 0.5926 GB, free: 18.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.955e-05/0.4433, allocations: 37.55 kB / 0.5927 GB, free: 18.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.4434, allocations: 132.3 kB / 0.5928 GB, free: 18.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.72e-05/0.4435, allocations: 128.2 kB / 0.5929 GB, free: 18.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.213e-06/0.4435, allocations: 26.61 kB / 0.5929 GB, free: 18.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.4435, allocations: 96.12 kB / 0.593 GB, free: 18.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.4435, allocations: 1.312 kB / 0.593 GB, free: 18.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.4436, allocations: 13.72 kB / 0.593 GB, free: 18.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.955e-05/0.4436, allocations: 318.8 kB / 0.5933 GB, free: 17.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.151e-05/0.4436, allocations: 8.547 kB / 0.5933 GB, free: 17.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.475e-05/0.4437, allocations: 9.344 kB / 0.5934 GB, free: 17.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.266e-05/0.4437, allocations: 12.86 kB / 0.5934 GB, free: 17.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4437, allocations: 3.938 kB / 0.5934 GB, free: 17.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001072/0.4438, allocations: 54.77 kB / 0.5934 GB, free: 17.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.4438, allocations: 4 kB / 0.5934 GB, free: 17.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.4439, allocations: 4 kB / 0.5934 GB, free: 17.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.4439, allocations: 7.609 kB / 0.5934 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.4439, allocations: 0 / 0.5934 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.4439, allocations: 0 / 0.5934 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.4439, allocations: 3.938 kB / 0.5934 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.4439, allocations: 4 kB / 0.5934 GB, free: 17.82 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 5.43e-05/0.444, allocations: 185.1 kB / 0.5936 GB, free: 17.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.444, allocations: 108.9 kB / 0.5937 GB, free: 17.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.4441, allocations: 121.2 kB / 0.5938 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.31e-05/0.4441, allocations: 184.9 kB / 0.594 GB, free: 17.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.582e-05/0.4441, allocations: 186.8 kB / 0.5942 GB, free: 17.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.542e-05/0.4442, allocations: 184.2 kB / 0.5944 GB, free: 16.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.4443, allocations: 417.2 kB / 0.5948 GB, free: 16.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/0.4443, allocations: 113.9 kB / 0.5949 GB, free: 16.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.351e-05/0.4443, allocations: 101 kB / 0.595 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.581e-05/0.4444, allocations: 186.8 kB / 0.5952 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.4444, allocations: 176.3 kB / 0.5953 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-05/0.4444, allocations: 180.2 kB / 0.5955 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-05/0.4445, allocations: 177.5 kB / 0.5957 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.969e-05/0.4445, allocations: 321.1 kB / 0.596 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.4446, allocations: 182 kB / 0.5961 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.4446, allocations: 186 kB / 0.5963 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.568e-05/0.4447, allocations: 109 kB / 0.5964 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.4447, allocations: 177.5 kB / 0.5966 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.4447, allocations: 104.9 kB / 0.5967 GB, free: 14.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.652e-05/0.4448, allocations: 100.8 kB / 0.5968 GB, free: 14.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4448, allocations: 0 / 0.5968 GB, free: 14.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005525/0.4453, allocations: 279.8 kB / 0.5971 GB, free: 13.91 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.0008275/0.4462, allocations: 0.53 MB / 0.5976 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.738e-05/0.4463, allocations: 42.22 kB / 0.5976 GB, free: 13.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.4463, allocations: 5.594 kB / 0.5976 GB, free: 13.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.512e-06/0.4463, allocations: 0 / 0.5976 GB, free: 13.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.4466, allocations: 473.6 kB / 0.5981 GB, free: 12.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.4469, allocations: 236.2 kB / 0.5983 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.447, allocations: 0.6823 MB / 0.599 GB, free: 11.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.183e-05/0.447, allocations: 0 / 0.599 GB, free: 11.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.11e-05/0.447, allocations: 12.75 kB / 0.599 GB, free: 11.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.447, allocations: 0 / 0.599 GB, free: 11.89 MB / 446.1 MB Notification: Performance of Templates: time 0.007498/0.4545, allocations: 5.598 MB / 0.6044 GB, free: 6.375 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)