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.00121/0.00121, allocations: 104.4 kB / 16.27 MB, free: 6.414 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.001143/0.001143, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.488/1.488, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.838/0.838, allocations: 132.2 MB / 423.2 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 56.05 kB / 0.5025 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.4425, allocations: 80.19 MB / 0.5808 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002595/0.4452, allocations: 1.425 MB / 0.5822 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003844/0.449, allocations: 2.889 MB / 0.585 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.4491, allocations: 0 / 0.585 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.767e-05/0.4492, allocations: 4.969 kB / 0.585 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.267e-05/0.4492, allocations: 18.53 kB / 0.585 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003659/0.4529, allocations: 1.571 MB / 0.5866 GB, free: 23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.917e-05/0.453, allocations: 46.86 kB / 0.5866 GB, free: 22.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.113e-05/0.4531, allocations: 5.188 kB / 0.5866 GB, free: 22.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.162e-05/0.4531, allocations: 17.06 kB / 0.5866 GB, free: 22.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.114e-05/0.4531, allocations: 16.73 kB / 0.5867 GB, free: 22.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.4532, allocations: 1.562 kB / 0.5867 GB, free: 22.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.4554, allocations: 1.454 MB / 0.5881 GB, free: 22.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.4554, allocations: 7.031 kB / 0.5881 GB, free: 22.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.4555, allocations: 20.78 kB / 0.5881 GB, free: 22.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.4571, allocations: 1.092 MB / 0.5892 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.4571, allocations: 1.062 kB / 0.5892 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4571, allocations: 0 / 0.5892 GB, free: 21.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.4571, allocations: 1.188 kB / 0.5892 GB, free: 21.5 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.0005637/0.4577, allocations: 0.5183 MB / 0.5897 GB, free: 21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.4577, allocations: 12.83 kB / 0.5897 GB, free: 21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.576e-05/0.4578, allocations: 83.25 kB / 0.5898 GB, free: 20.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.4579, allocations: 248.8 kB / 0.59 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.458, allocations: 156 kB / 0.5902 GB, free: 20.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.458, allocations: 158 kB / 0.5903 GB, free: 20.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.812e-05/0.458, allocations: 108.9 kB / 0.5904 GB, free: 20.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.4581, allocations: 76.38 kB / 0.5905 GB, free: 20.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.4581, allocations: 151.3 kB / 0.5906 GB, free: 20 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.4581, allocations: 151.2 kB / 0.5908 GB, free: 19.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.053e-05/0.4582, allocations: 154.5 kB / 0.5909 GB, free: 19.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002385/0.4584, allocations: 462.2 kB / 0.5914 GB, free: 19.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.044e-05/0.4585, allocations: 179.4 kB / 0.5915 GB, free: 19.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.4585, allocations: 84.14 kB / 0.5916 GB, free: 18.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.4585, allocations: 76.62 kB / 0.5917 GB, free: 18.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.4585, allocations: 111.7 kB / 0.5918 GB, free: 18.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.4585, allocations: 0 / 0.5918 GB, free: 18.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.987e-05/0.4586, allocations: 33.8 kB / 0.5918 GB, free: 18.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.4587, allocations: 128.1 kB / 0.5919 GB, free: 18.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.4588, allocations: 133.4 kB / 0.5921 GB, free: 18.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.4588, allocations: 26.48 kB / 0.5921 GB, free: 18.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.575e-05/0.4588, allocations: 97.12 kB / 0.5922 GB, free: 18.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.4588, allocations: 0 / 0.5922 GB, free: 18.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.4589, allocations: 18.44 kB / 0.5922 GB, free: 18.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.252e-05/0.4589, allocations: 320.4 kB / 0.5925 GB, free: 18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.368e-05/0.459, allocations: 4.625 kB / 0.5925 GB, free: 18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.567e-05/0.459, allocations: 3.094 kB / 0.5925 GB, free: 18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.6e-05/0.459, allocations: 18.23 kB / 0.5925 GB, free: 17.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.459, allocations: 4 kB / 0.5925 GB, free: 17.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001226/0.4592, allocations: 56.67 kB / 0.5926 GB, free: 17.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4592, allocations: 8.891 kB / 0.5926 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.4592, allocations: 7.672 kB / 0.5926 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4592, allocations: 0 / 0.5926 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.246e-06/0.4592, allocations: 1.469 kB / 0.5926 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.4592, allocations: 3.938 kB / 0.5926 GB, free: 17.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.197e-05/0.4593, allocations: 6.031 kB / 0.5926 GB, free: 17.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.4593, allocations: 1.156 kB / 0.5926 GB, free: 17.92 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.93e-05/0.4594, allocations: 188.4 kB / 0.5928 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.4594, allocations: 112.1 kB / 0.5929 GB, free: 17.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.4594, allocations: 113.2 kB / 0.593 GB, free: 17.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.173e-05/0.4595, allocations: 180.3 kB / 0.5932 GB, free: 17.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.304e-05/0.4595, allocations: 183.3 kB / 0.5934 GB, free: 17.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.439e-05/0.4596, allocations: 185.5 kB / 0.5935 GB, free: 16.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.4598, allocations: 420.7 kB / 0.5939 GB, free: 16.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.739e-05/0.4598, allocations: 104 kB / 0.594 GB, free: 16.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.495e-05/0.4598, allocations: 104.9 kB / 0.5941 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.57e-05/0.4598, allocations: 178 kB / 0.5943 GB, free: 16.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.4599, allocations: 186.6 kB / 0.5945 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.812e-05/0.4599, allocations: 178.1 kB / 0.5947 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-05/0.4599, allocations: 185.1 kB / 0.5948 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.95e-05/0.46, allocations: 310.9 kB / 0.5951 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/0.4601, allocations: 192.5 kB / 0.5953 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.095e-05/0.4601, allocations: 182.5 kB / 0.5955 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.784e-05/0.4602, allocations: 105.4 kB / 0.5956 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.4602, allocations: 178.5 kB / 0.5958 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.4603, allocations: 103.3 kB / 0.5959 GB, free: 14.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.76e-05/0.4603, allocations: 101.2 kB / 0.596 GB, free: 14.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4603, allocations: 1.281 kB / 0.596 GB, free: 14.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007174/0.461, allocations: 280.4 kB / 0.5962 GB, free: 14.1 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.0009671/0.462, allocations: 0.5296 MB / 0.5967 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.261e-05/0.4621, allocations: 41.64 kB / 0.5968 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4621, allocations: 0.6562 kB / 0.5968 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.4621, allocations: 0 / 0.5968 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.4625, allocations: 485.2 kB / 0.5972 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/0.4628, allocations: 264.1 kB / 0.5975 GB, free: 12.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.4629, allocations: 0.6812 MB / 0.5982 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.06e-05/0.4629, allocations: 12.84 kB / 0.5982 GB, free: 12.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.463, allocations: 0 / 0.5982 GB, free: 12.04 MB / 446.1 MB Notification: Performance of Templates: time 0.006398/0.4694, allocations: 4.749 MB / 0.6028 GB, free: 7.332 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)