Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001262, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.001314/0.001314, allocations: 193.8 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.421/1.421, 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/package.mo): time 0.7636/0.7636, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.91 kB / 0.5032 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4674/0.4687, allocations: 80.18 MB / 0.5816 GB, free: 27.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003451/0.4722, allocations: 1.44 MB / 0.583 GB, free: 26.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004316/0.4766, allocations: 2.88 MB / 0.5858 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.422e-05/0.4767, allocations: 1.438 kB / 0.5858 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.148e-05/0.4768, allocations: 9.703 kB / 0.5858 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.516e-05/0.4768, allocations: 16.8 kB / 0.5858 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004491/0.4813, allocations: 1.57 MB / 0.5873 GB, free: 23.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.4815, allocations: 46.45 kB / 0.5874 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.083e-05/0.4815, allocations: 3.031 kB / 0.5874 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.984e-05/0.4816, allocations: 12.59 kB / 0.5874 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.215e-05/0.4816, allocations: 23.89 kB / 0.5874 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.4816, allocations: 1.094 kB / 0.5874 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.4839, allocations: 1.527 MB / 0.5889 GB, free: 22.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.484, allocations: 9.047 kB / 0.5889 GB, free: 22.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.107e-05/0.484, allocations: 19.59 kB / 0.5889 GB, free: 22.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.4854, allocations: 1.088 MB / 0.59 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4854, allocations: 3.938 kB / 0.59 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4854, allocations: 0 / 0.59 GB, free: 21.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.4855, allocations: 5.219 kB / 0.59 GB, free: 21.55 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.0005393/0.486, allocations: 0.5146 MB / 0.5905 GB, free: 20.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.4861, allocations: 9 kB / 0.5905 GB, free: 20.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.4861, allocations: 84.12 kB / 0.5906 GB, free: 20.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.4862, allocations: 251.3 kB / 0.5908 GB, free: 20.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.375e-05/0.4863, allocations: 154.9 kB / 0.591 GB, free: 20.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.593e-05/0.4863, allocations: 167 kB / 0.5911 GB, free: 20.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.551e-05/0.4864, allocations: 101.8 kB / 0.5912 GB, free: 20.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.4864, allocations: 75.91 kB / 0.5913 GB, free: 20.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.4864, allocations: 155.1 kB / 0.5915 GB, free: 19.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.4864, allocations: 152.4 kB / 0.5916 GB, free: 19.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.451e-05/0.4865, allocations: 150.6 kB / 0.5917 GB, free: 19.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.4867, allocations: 463.3 kB / 0.5922 GB, free: 19.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.78e-05/0.4867, allocations: 174.2 kB / 0.5924 GB, free: 18.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.237e-05/0.4868, allocations: 92.75 kB / 0.5924 GB, free: 18.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.4868, allocations: 76.44 kB / 0.5925 GB, free: 18.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.4868, allocations: 106.6 kB / 0.5926 GB, free: 18.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.4868, allocations: 0 / 0.5926 GB, free: 18.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.906e-05/0.4869, allocations: 40.08 kB / 0.5927 GB, free: 18.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.4869, allocations: 126.7 kB / 0.5928 GB, free: 18.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.4871, allocations: 133.8 kB / 0.5929 GB, free: 18.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.4871, allocations: 25.7 kB / 0.5929 GB, free: 18.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.4871, allocations: 92.12 kB / 0.593 GB, free: 18.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.4871, allocations: 0.5 kB / 0.593 GB, free: 18.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.4872, allocations: 18.59 kB / 0.593 GB, free: 18.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.282e-05/0.4872, allocations: 323.4 kB / 0.5933 GB, free: 17.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.4872, allocations: 4.562 kB / 0.5933 GB, free: 17.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.369e-05/0.4873, allocations: 0 / 0.5933 GB, free: 17.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.579e-05/0.4873, allocations: 17.52 kB / 0.5934 GB, free: 17.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4873, allocations: 6.406 kB / 0.5934 GB, free: 17.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001165/0.4874, allocations: 57.53 kB / 0.5934 GB, free: 17.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4875, allocations: 4 kB / 0.5934 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.4875, allocations: 4 kB / 0.5934 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.4875, allocations: 0 / 0.5934 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.4875, allocations: 0 / 0.5934 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.4875, allocations: 5.703 kB / 0.5934 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.133e-05/0.4875, allocations: 3.938 kB / 0.5934 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.4876, allocations: 8.062 kB / 0.5935 GB, free: 17.8 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.805e-05/0.4876, allocations: 191.4 kB / 0.5936 GB, free: 17.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/0.4877, allocations: 108.9 kB / 0.5937 GB, free: 17.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.4877, allocations: 117.1 kB / 0.5938 GB, free: 17.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.85e-05/0.4877, allocations: 181.6 kB / 0.594 GB, free: 17.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.038e-05/0.4878, allocations: 184.3 kB / 0.5942 GB, free: 17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.97e-05/0.4878, allocations: 185.1 kB / 0.5944 GB, free: 16.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.488, allocations: 422.3 kB / 0.5948 GB, free: 16.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/0.488, allocations: 106.5 kB / 0.5949 GB, free: 16.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.496e-05/0.488, allocations: 101 kB / 0.595 GB, free: 16.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.5e-05/0.488, allocations: 176.3 kB / 0.5951 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/0.4881, allocations: 189.8 kB / 0.5953 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-05/0.4881, allocations: 180.2 kB / 0.5955 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.734e-05/0.4881, allocations: 183.2 kB / 0.5957 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.807e-05/0.4882, allocations: 311.6 kB / 0.596 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-05/0.4883, allocations: 190 kB / 0.5961 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.4883, allocations: 178 kB / 0.5963 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.603e-05/0.4884, allocations: 108.9 kB / 0.5964 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.4884, allocations: 176.8 kB / 0.5966 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.4884, allocations: 107.2 kB / 0.5967 GB, free: 14.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.841e-05/0.4885, allocations: 105.8 kB / 0.5968 GB, free: 14.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4885, allocations: 0 / 0.5968 GB, free: 14.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006586/0.4891, allocations: 279.8 kB / 0.5971 GB, free: 13.9 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.0008657/0.49, allocations: 0.5343 MB / 0.5976 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.846e-05/0.4901, allocations: 41.7 kB / 0.5976 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4901, allocations: 0 / 0.5976 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.4901, allocations: 1.094 kB / 0.5976 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.4905, allocations: 469.3 kB / 0.5981 GB, free: 12.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.4908, allocations: 240 kB / 0.5983 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.4909, allocations: 0.682 MB / 0.599 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.467e-05/0.4909, allocations: 0 / 0.599 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.01e-05/0.4909, allocations: 11.44 kB / 0.599 GB, free: 11.88 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4909, allocations: 0 / 0.599 GB, free: 11.88 MB / 446.1 MB Notification: Performance of Templates: time 0.007984/0.4989, allocations: 5.592 MB / 0.6044 GB, free: 6.367 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)