Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 104.9 kB / 15.98 MB, free: 6.352 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.001369/0.001369, allocations: 193.5 kB / 16.91 MB, free: 6.195 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.3/1.3, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002143/0.002143, allocations: 282.5 kB / 291 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9088/0.9088, allocations: 169.2 MB / 0.4985 GB, free: 4.688 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 90.67 kB / 0.5954 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2037, allocations: 86.98 MB / 0.6803 GB, free: 8.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002386/0.2062, allocations: 1.479 MB / 0.6818 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003718/0.2099, allocations: 2.85 MB / 0.6846 GB, free: 4.168 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.125e-05/0.21, allocations: 0 / 0.6846 GB, free: 4.168 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.525e-05/0.21, allocations: 3.938 kB / 0.6846 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.421e-05/0.2101, allocations: 19.91 kB / 0.6846 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003268/0.2133, allocations: 1.423 MB / 0.686 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.354e-05/0.2134, allocations: 35.75 kB / 0.686 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.2135, allocations: 4 kB / 0.686 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.965e-05/0.2135, allocations: 15.92 kB / 0.686 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.824e-05/0.2135, allocations: 23.92 kB / 0.686 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.357e-06/0.2135, allocations: 3.938 kB / 0.6861 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/0.2153, allocations: 1.423 MB / 0.6874 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.2153, allocations: 7.938 kB / 0.6874 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.357e-05/0.2153, allocations: 15.88 kB / 0.6875 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008508/0.2162, allocations: 0.7409 MB / 0.6882 GB, free: 488 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2162, allocations: 0 / 0.6882 GB, free: 488 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2162, allocations: 4 kB / 0.6882 GB, free: 484 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.2162, allocations: 0 / 0.6882 GB, free: 484 kB / 494.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.3494/0.5657, allocations: 0.5101 MB / 0.6887 GB, free: 18.06 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.5657, allocations: 9.469 kB / 0.6887 GB, free: 18.06 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.5658, allocations: 78.62 kB / 0.6888 GB, free: 17.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.5659, allocations: 251.1 kB / 0.689 GB, free: 17.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.572e-05/0.566, allocations: 153.5 kB / 0.6892 GB, free: 17.56 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.566, allocations: 156.4 kB / 0.6893 GB, free: 17.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.335e-05/0.5661, allocations: 103.9 kB / 0.6894 GB, free: 17.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.5661, allocations: 76.61 kB / 0.6895 GB, free: 17.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.5661, allocations: 155.6 kB / 0.6896 GB, free: 17.08 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.5661, allocations: 154.4 kB / 0.6898 GB, free: 16.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.55e-05/0.5662, allocations: 152.3 kB / 0.6899 GB, free: 16.78 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/0.5664, allocations: 461.7 kB / 0.6904 GB, free: 16.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.211e-05/0.5665, allocations: 174.4 kB / 0.6905 GB, free: 16.13 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.5665, allocations: 81.7 kB / 0.6906 GB, free: 16.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.5665, allocations: 75.81 kB / 0.6907 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.5665, allocations: 109.2 kB / 0.6908 GB, free: 15.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.984e-06/0.5665, allocations: 1.766 kB / 0.6908 GB, free: 15.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.157e-05/0.5666, allocations: 33.78 kB / 0.6908 GB, free: 15.83 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.5667, allocations: 129.3 kB / 0.6909 GB, free: 15.69 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.5668, allocations: 133.3 kB / 0.6911 GB, free: 15.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.163e-06/0.5668, allocations: 25.7 kB / 0.6911 GB, free: 15.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.5668, allocations: 95.56 kB / 0.6912 GB, free: 15.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.5669, allocations: 2.156 kB / 0.6912 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.5669, allocations: 18.72 kB / 0.6912 GB, free: 15.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.777e-05/0.567, allocations: 318.3 kB / 0.6915 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.234e-05/0.567, allocations: 2.969 kB / 0.6915 GB, free: 15.15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.747e-05/0.567, allocations: 3.438 kB / 0.6915 GB, free: 15.15 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.88e-05/0.567, allocations: 14.3 kB / 0.6915 GB, free: 15.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5671, allocations: 4.625 kB / 0.6915 GB, free: 15.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001316/0.5672, allocations: 54.53 kB / 0.6916 GB, free: 15.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.5672, allocations: 11.16 kB / 0.6916 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.5672, allocations: 7.062 kB / 0.6916 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.5673, allocations: 0.5625 kB / 0.6916 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.743e-06/0.5673, allocations: 1.828 kB / 0.6916 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.5673, allocations: 0 / 0.6916 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/0.5673, allocations: 6.047 kB / 0.6916 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.5673, allocations: 4.047 kB / 0.6916 GB, free: 15.1 MB / 494.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.26e-05/0.5674, allocations: 188.3 kB / 0.6918 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.5674, allocations: 116.2 kB / 0.6919 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.5675, allocations: 114.8 kB / 0.692 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/0.5675, allocations: 178 kB / 0.6922 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.628e-05/0.5675, allocations: 186 kB / 0.6924 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-05/0.5676, allocations: 179.7 kB / 0.6925 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.5677, allocations: 418.8 kB / 0.6929 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/0.5677, allocations: 102.7 kB / 0.693 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.649e-05/0.5677, allocations: 103.1 kB / 0.6931 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.538e-05/0.5678, allocations: 187.8 kB / 0.6933 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.5678, allocations: 178.1 kB / 0.6935 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.571e-05/0.5678, allocations: 182 kB / 0.6936 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.62e-05/0.5679, allocations: 183.6 kB / 0.6938 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.493e-05/0.5679, allocations: 303.6 kB / 0.6941 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.568, allocations: 188.3 kB / 0.6943 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.568, allocations: 190.6 kB / 0.6945 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.392e-05/0.5681, allocations: 104.1 kB / 0.6946 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.5681, allocations: 178 kB / 0.6947 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.5682, allocations: 107.3 kB / 0.6948 GB, free: 11.65 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.022e-05/0.5682, allocations: 98.91 kB / 0.6949 GB, free: 11.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5682, allocations: 0 / 0.6949 GB, free: 11.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009888/0.5692, allocations: 278.1 kB / 0.6952 GB, free: 11.56 MB / 494.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.001064/0.5703, allocations: 0.5203 MB / 0.6957 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.295e-05/0.5704, allocations: 37.84 kB / 0.6957 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5704, allocations: 0 / 0.6957 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.043e-06/0.5704, allocations: 1.094 kB / 0.6958 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.5707, allocations: 470.1 kB / 0.6962 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003128/0.571, allocations: 259.3 kB / 0.6964 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.5712, allocations: 0.6863 MB / 0.6971 GB, free: 9.965 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.828e-06/0.5712, allocations: 9.25 kB / 0.6971 GB, free: 9.957 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5712, allocations: 1.469 kB / 0.6971 GB, free: 9.957 MB / 494.1 MB Notification: Performance of Templates: time 0.009308/0.5805, allocations: 4.646 MB / 0.7017 GB, free: 9.523 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)