Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008838/0.0008835, allocations: 98.03 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.00582/0.00582, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.4/1.4, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8252/0.8252, allocations: 132.4 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003232, allocations: 8 kB / 0.5041 GB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4538/0.4541, allocations: 81.58 MB / 0.5837 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001395/0.4556, allocations: 1.148 MB / 0.5849 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003883/0.4595, allocations: 2.881 MB / 0.5877 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.13e-05/0.4595, allocations: 0 / 0.5877 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.4596, allocations: 5.484 kB / 0.5877 GB, free: 1.262 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.4596, allocations: 11.3 kB / 0.5877 GB, free: 1.254 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003634/0.4633, allocations: 1.353 MB / 0.589 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.159e-05/0.4634, allocations: 40.8 kB / 0.589 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.369e-05/0.4634, allocations: 6.188 kB / 0.589 GB, free: 0.543 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.091e-05/0.4635, allocations: 17.19 kB / 0.5891 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.07e-05/0.4635, allocations: 16.64 kB / 0.5891 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.4635, allocations: 0.875 kB / 0.5891 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002746/0.4663, allocations: 1.429 MB / 0.5905 GB, free: 76 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.4663, allocations: 10.19 kB / 0.5905 GB, free: 68 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.4664, allocations: 40.88 kB / 0.5905 GB, free: 28 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.4685, allocations: 1.081 MB / 0.5916 GB, free: 15.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.4685, allocations: 0 / 0.5916 GB, free: 15.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4685, allocations: 4.453 kB / 0.5916 GB, free: 15.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.4685, allocations: 4 kB / 0.5916 GB, free: 15.75 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.0007398/0.4693, allocations: 0.4986 MB / 0.5921 GB, free: 15.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.4693, allocations: 9.812 kB / 0.5921 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.249e-05/0.4694, allocations: 82.88 kB / 0.5922 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.4696, allocations: 255.3 kB / 0.5924 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.555e-05/0.4696, allocations: 151.8 kB / 0.5926 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.186e-05/0.4697, allocations: 159.2 kB / 0.5927 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.956e-05/0.4698, allocations: 103.2 kB / 0.5928 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.4698, allocations: 75.28 kB / 0.5929 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.177e-05/0.4699, allocations: 155.2 kB / 0.593 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.398e-05/0.4699, allocations: 150.6 kB / 0.5932 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.99e-05/0.47, allocations: 156.5 kB / 0.5933 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/0.4703, allocations: 463.6 kB / 0.5938 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.29e-05/0.4704, allocations: 170.6 kB / 0.5939 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.253e-05/0.4704, allocations: 81.05 kB / 0.594 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.4705, allocations: 80.06 kB / 0.5941 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.4705, allocations: 114.8 kB / 0.5942 GB, free: 13.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.4705, allocations: 0.75 kB / 0.5942 GB, free: 13.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 8.095e-05/0.4706, allocations: 33.62 kB / 0.5942 GB, free: 13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.4707, allocations: 131.3 kB / 0.5943 GB, free: 12.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.4709, allocations: 130.5 kB / 0.5945 GB, free: 12.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.4709, allocations: 25.7 kB / 0.5945 GB, free: 12.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.4709, allocations: 95.81 kB / 0.5946 GB, free: 12.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.471, allocations: 0 / 0.5946 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.471, allocations: 17.42 kB / 0.5946 GB, free: 12.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.4711, allocations: 318.5 kB / 0.5949 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.256e-05/0.4711, allocations: 2.531 kB / 0.5949 GB, free: 12.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.902e-05/0.4712, allocations: 4.516 kB / 0.5949 GB, free: 12.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.005e-05/0.4712, allocations: 19.09 kB / 0.5949 GB, free: 12.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.4712, allocations: 3.938 kB / 0.5949 GB, free: 12.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001296/0.4713, allocations: 41.22 kB / 0.595 GB, free: 12.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.4714, allocations: 7.578 kB / 0.595 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.405e-05/0.4714, allocations: 10.73 kB / 0.595 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.4714, allocations: 6.141 kB / 0.595 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.4714, allocations: 0 / 0.595 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.4714, allocations: 0 / 0.595 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.313e-05/0.4715, allocations: 10.2 kB / 0.595 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.4715, allocations: 1.375 kB / 0.595 GB, free: 12.21 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 9.613e-05/0.4716, allocations: 191.1 kB / 0.5952 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.94e-05/0.4717, allocations: 109.2 kB / 0.5953 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.4717, allocations: 116.5 kB / 0.5954 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.771e-05/0.4718, allocations: 177.5 kB / 0.5956 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.759e-05/0.4719, allocations: 185.7 kB / 0.5957 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.703e-05/0.472, allocations: 177.8 kB / 0.5959 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.4722, allocations: 417.2 kB / 0.5963 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.214e-05/0.4722, allocations: 102.2 kB / 0.5964 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-05/0.4723, allocations: 115 kB / 0.5965 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.655e-05/0.4723, allocations: 181.8 kB / 0.5967 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.629e-05/0.4724, allocations: 179.2 kB / 0.5969 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.552e-05/0.4725, allocations: 186.4 kB / 0.597 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.396e-05/0.4725, allocations: 176.8 kB / 0.5972 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.4727, allocations: 318.5 kB / 0.5975 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-05/0.4728, allocations: 185.3 kB / 0.5977 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-05/0.4728, allocations: 182.7 kB / 0.5979 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.4729, allocations: 102.6 kB / 0.598 GB, free: 9.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.473, allocations: 186.5 kB / 0.5981 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.473, allocations: 102 kB / 0.5982 GB, free: 8.727 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.049e-05/0.4731, allocations: 100.9 kB / 0.5983 GB, free: 8.645 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4731, allocations: 0 / 0.5983 GB, free: 8.645 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001119/0.4742, allocations: 279.5 kB / 0.5986 GB, free: 8.582 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.001197/0.4754, allocations: 0.5072 MB / 0.5991 GB, free: 8.324 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.574e-05/0.4755, allocations: 38.45 kB / 0.5991 GB, free: 8.289 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4755, allocations: 0.7188 kB / 0.5991 GB, free: 8.289 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.607e-06/0.4755, allocations: 3.938 kB / 0.5991 GB, free: 8.285 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.476, allocations: 0.5317 MB / 0.5997 GB, free: 7.758 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.4763, allocations: 256.2 kB / 0.5999 GB, free: 7.547 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.4766, allocations: 0.6863 MB / 0.6006 GB, free: 6.848 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.685e-05/0.4766, allocations: 1.094 kB / 0.6006 GB, free: 6.848 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.141e-05/0.4766, allocations: 8.438 kB / 0.6006 GB, free: 6.84 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4766, allocations: 4.781 kB / 0.6006 GB, free: 6.836 MB / 446.1 MB Notification: Performance of Templates: time 0.01064/0.4872, allocations: 5.442 MB / 0.6059 GB, free: 4.48 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)