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.001265/0.001265, allocations: 106.3 kB / 16.36 MB, free: 5.879 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.001412/0.001412, allocations: 199.3 kB / 17.3 MB, free: 5.52 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8101/0.8101, allocations: 132.2 MB / 423.3 MB, free: 6.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001657, allocations: 55.91 kB / 0.5032 GB, free: 10.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4701/0.4718, allocations: 80.19 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003167/0.475, allocations: 1.424 MB / 0.5829 GB, free: 26.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004769/0.4798, allocations: 2.845 MB / 0.5857 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.827e-05/0.4799, allocations: 0.9688 kB / 0.5857 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.48, allocations: 3.938 kB / 0.5857 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.845e-05/0.4801, allocations: 20.44 kB / 0.5857 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004168/0.4842, allocations: 1.54 MB / 0.5872 GB, free: 23.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.4844, allocations: 41.14 kB / 0.5873 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.611e-05/0.4844, allocations: 7.609 kB / 0.5873 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.482e-05/0.4845, allocations: 15.73 kB / 0.5873 GB, free: 23.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.399e-05/0.4845, allocations: 20.47 kB / 0.5873 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.4845, allocations: 1.594 kB / 0.5873 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.4867, allocations: 1.476 MB / 0.5888 GB, free: 22.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.4867, allocations: 1.5 kB / 0.5888 GB, free: 22.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.4867, allocations: 27.84 kB / 0.5888 GB, free: 22.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.4882, allocations: 1.073 MB / 0.5898 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.4882, allocations: 0 / 0.5898 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.4883, allocations: 0.625 kB / 0.5898 GB, free: 21.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.4883, allocations: 0 / 0.5898 GB, free: 21.67 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.0005837/0.4889, allocations: 0.5123 MB / 0.5903 GB, free: 21.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.4889, allocations: 8.031 kB / 0.5903 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.446e-05/0.489, allocations: 88.69 kB / 0.5904 GB, free: 21.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.4891, allocations: 249 kB / 0.5907 GB, free: 20.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.783e-05/0.4892, allocations: 150.9 kB / 0.5908 GB, free: 20.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.439e-05/0.4892, allocations: 155.5 kB / 0.591 GB, free: 20.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.533e-05/0.4893, allocations: 108.9 kB / 0.5911 GB, free: 20.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.4893, allocations: 80.64 kB / 0.5911 GB, free: 20.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/0.4894, allocations: 150.6 kB / 0.5913 GB, free: 20.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.658e-05/0.4894, allocations: 152.3 kB / 0.5914 GB, free: 19.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.152e-05/0.4894, allocations: 158.6 kB / 0.5916 GB, free: 19.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/0.4897, allocations: 463.1 kB / 0.592 GB, free: 19.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.428e-05/0.4898, allocations: 178.3 kB / 0.5922 GB, free: 19.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.395e-05/0.4898, allocations: 80.95 kB / 0.5923 GB, free: 19.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.4898, allocations: 77.84 kB / 0.5923 GB, free: 18.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.4898, allocations: 105.8 kB / 0.5924 GB, free: 18.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.4898, allocations: 0 / 0.5924 GB, free: 18.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.367e-05/0.4899, allocations: 33.61 kB / 0.5925 GB, free: 18.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.49, allocations: 133.2 kB / 0.5926 GB, free: 18.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.4901, allocations: 132.3 kB / 0.5927 GB, free: 18.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.4901, allocations: 29.64 kB / 0.5928 GB, free: 18.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.4901, allocations: 96.11 kB / 0.5929 GB, free: 18.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.4902, allocations: 0 / 0.5929 GB, free: 18.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.4902, allocations: 17.72 kB / 0.5929 GB, free: 18.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.782e-05/0.4903, allocations: 320.9 kB / 0.5932 GB, free: 18.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.485e-05/0.4903, allocations: 4 kB / 0.5932 GB, free: 18.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.472e-05/0.4903, allocations: 4 kB / 0.5932 GB, free: 18.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.643e-05/0.4904, allocations: 13.45 kB / 0.5932 GB, free: 18.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4904, allocations: 3.938 kB / 0.5932 GB, free: 18.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001343/0.4905, allocations: 50.09 kB / 0.5932 GB, free: 17.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.4905, allocations: 4.594 kB / 0.5933 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.4906, allocations: 7.938 kB / 0.5933 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.4906, allocations: 2.531 kB / 0.5933 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.4906, allocations: 0 / 0.5933 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4906, allocations: 0 / 0.5933 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.183e-05/0.4906, allocations: 0 / 0.5933 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.4906, allocations: 4 kB / 0.5933 GB, free: 17.95 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 8.517e-05/0.4907, allocations: 192.1 kB / 0.5934 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.4908, allocations: 112.8 kB / 0.5936 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.4908, allocations: 112.8 kB / 0.5937 GB, free: 17.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.15e-05/0.4908, allocations: 176.9 kB / 0.5938 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.115e-05/0.4909, allocations: 189.2 kB / 0.594 GB, free: 17.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.688e-05/0.4909, allocations: 186 kB / 0.5942 GB, free: 16.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.4911, allocations: 417.1 kB / 0.5946 GB, free: 16.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/0.4911, allocations: 104.9 kB / 0.5947 GB, free: 16.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.997e-05/0.4912, allocations: 102.2 kB / 0.5948 GB, free: 16.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.565e-05/0.4912, allocations: 176.3 kB / 0.595 GB, free: 16.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/0.4912, allocations: 189 kB / 0.5951 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.948e-05/0.4913, allocations: 181.5 kB / 0.5953 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.294e-05/0.4913, allocations: 181 kB / 0.5955 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.483e-05/0.4914, allocations: 314.3 kB / 0.5958 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.4915, allocations: 190 kB / 0.596 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.4915, allocations: 176.3 kB / 0.5961 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.024e-05/0.4916, allocations: 106.5 kB / 0.5962 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.4916, allocations: 180.3 kB / 0.5964 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.4916, allocations: 103.5 kB / 0.5965 GB, free: 14.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.248e-05/0.4917, allocations: 106.2 kB / 0.5966 GB, free: 14.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4917, allocations: 3.938 kB / 0.5966 GB, free: 14.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006525/0.4923, allocations: 271.8 kB / 0.5969 GB, free: 14.05 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.000868/0.4932, allocations: 0.5188 MB / 0.5974 GB, free: 13.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.994e-05/0.4933, allocations: 38.17 kB / 0.5974 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4933, allocations: 0.9062 kB / 0.5974 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.4933, allocations: 4 kB / 0.5974 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.4937, allocations: 470.8 kB / 0.5979 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.494, allocations: 232.6 kB / 0.5981 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.4941, allocations: 0.6856 MB / 0.5988 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.641e-05/0.4941, allocations: 0.5312 kB / 0.5988 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.083e-05/0.4941, allocations: 7.438 kB / 0.5988 GB, free: 12.05 MB / 446.1 MB Notification: Performance of SimCode: time 1.91e-07/0.4941, allocations: 5.562 kB / 0.5988 GB, free: 12.04 MB / 446.1 MB Notification: Performance of Templates: time 0.007792/0.5019, allocations: 5.424 MB / 0.6041 GB, free: 6.703 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)