Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001154/0.001154, allocations: 191 kB / 17.29 MB, free: 5.516 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002171/0.002171, allocations: 293.7 kB / 291.4 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9418/0.9418, allocations: 169.3 MB / 0.4989 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 90.17 kB / 0.5967 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1513, allocations: 86.97 MB / 0.6816 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002298/0.1537, allocations: 1.437 MB / 0.6831 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003781/0.1575, allocations: 2.892 MB / 0.6859 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.938e-05/0.1575, allocations: 0 / 0.6859 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.1576, allocations: 7.922 kB / 0.6859 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.229e-05/0.1576, allocations: 11.86 kB / 0.6859 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00333/0.161, allocations: 1.584 MB / 0.6874 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.186e-05/0.161, allocations: 43.73 kB / 0.6875 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.579e-05/0.1611, allocations: 8 kB / 0.6875 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.43e-05/0.1611, allocations: 15.94 kB / 0.6875 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.884e-05/0.1612, allocations: 19.86 kB / 0.6875 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.877e-06/0.1612, allocations: 0 / 0.6875 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2487/0.4099, allocations: 1.525 MB / 0.689 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.4099, allocations: 5.516 kB / 0.689 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.241e-05/0.41, allocations: 16.84 kB / 0.689 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.4118, allocations: 1.103 MB / 0.6901 GB, free: 14.12 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4118, allocations: 0 / 0.6901 GB, free: 14.12 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4118, allocations: 1.531 kB / 0.6901 GB, free: 14.12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.4118, allocations: 0 / 0.6901 GB, free: 14.12 MB / 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.0004595/0.4123, allocations: 0.5198 MB / 0.6906 GB, free: 13.64 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.4124, allocations: 12.94 kB / 0.6906 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.4124, allocations: 84.75 kB / 0.6907 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.156e-05/0.4125, allocations: 249 kB / 0.691 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.4125, allocations: 155 kB / 0.6911 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.4125, allocations: 154.5 kB / 0.6912 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.569e-05/0.4126, allocations: 112.6 kB / 0.6914 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4126, allocations: 76.28 kB / 0.6914 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.4126, allocations: 151.7 kB / 0.6916 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.4126, allocations: 152.9 kB / 0.6917 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.852e-05/0.4127, allocations: 155.6 kB / 0.6919 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.4128, allocations: 463.7 kB / 0.6923 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.661e-05/0.4129, allocations: 172.6 kB / 0.6925 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.298e-05/0.4129, allocations: 81.33 kB / 0.6926 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.4129, allocations: 75.28 kB / 0.6926 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.4129, allocations: 113.4 kB / 0.6927 GB, free: 11.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.413, allocations: 1.641 kB / 0.6927 GB, free: 11.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.308e-05/0.413, allocations: 40.47 kB / 0.6928 GB, free: 11.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.4131, allocations: 129.1 kB / 0.6929 GB, free: 11.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.4132, allocations: 133 kB / 0.693 GB, free: 11.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.152e-06/0.4132, allocations: 25.7 kB / 0.693 GB, free: 11.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/0.4132, allocations: 93 kB / 0.6931 GB, free: 11.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.4132, allocations: 1.031 kB / 0.6931 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.4132, allocations: 15.84 kB / 0.6932 GB, free: 11.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.966e-05/0.4133, allocations: 318.8 kB / 0.6935 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.182e-05/0.4133, allocations: 7.188 kB / 0.6935 GB, free: 10.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.646e-05/0.4133, allocations: 5.281 kB / 0.6935 GB, free: 10.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.344e-05/0.4134, allocations: 15.05 kB / 0.6935 GB, free: 10.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4134, allocations: 2.5 kB / 0.6935 GB, free: 10.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001105/0.4135, allocations: 56.5 kB / 0.6935 GB, free: 10.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.4135, allocations: 5.375 kB / 0.6935 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.4135, allocations: 7.359 kB / 0.6935 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.4136, allocations: 1.656 kB / 0.6936 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.753e-06/0.4136, allocations: 4.547 kB / 0.6936 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.4136, allocations: 0 / 0.6936 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.4136, allocations: 2.906 kB / 0.6936 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.4136, allocations: 2.344 kB / 0.6936 GB, free: 10.68 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 4.877e-05/0.4137, allocations: 189 kB / 0.6937 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.4137, allocations: 116.3 kB / 0.6939 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.286e-05/0.4137, allocations: 108.2 kB / 0.694 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.027e-05/0.4138, allocations: 179.2 kB / 0.6941 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-05/0.4138, allocations: 185.3 kB / 0.6943 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-05/0.4138, allocations: 179.1 kB / 0.6945 GB, free: 9.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.414, allocations: 421.2 kB / 0.6949 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.414, allocations: 102.2 kB / 0.695 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.394e-05/0.414, allocations: 111.1 kB / 0.6951 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.015e-05/0.414, allocations: 180.2 kB / 0.6952 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.414, allocations: 182.6 kB / 0.6954 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.137e-05/0.4141, allocations: 178.8 kB / 0.6956 GB, free: 8.535 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.277e-05/0.4141, allocations: 186.1 kB / 0.6958 GB, free: 8.355 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.573e-05/0.4142, allocations: 307.4 kB / 0.6961 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.4142, allocations: 194.2 kB / 0.6962 GB, free: 7.836 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.4142, allocations: 185.4 kB / 0.6964 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.328e-05/0.4143, allocations: 105 kB / 0.6965 GB, free: 7.551 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.4143, allocations: 180.6 kB / 0.6967 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.4143, allocations: 102.2 kB / 0.6968 GB, free: 7.266 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.4e-05/0.4144, allocations: 104.1 kB / 0.6969 GB, free: 7.191 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4144, allocations: 0.5469 kB / 0.6969 GB, free: 7.191 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006938/0.4151, allocations: 286.2 kB / 0.6972 GB, free: 7.137 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.0009466/0.416, allocations: 0.5361 MB / 0.6977 GB, free: 6.918 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.527e-05/0.4162, allocations: 44.31 kB / 0.6977 GB, free: 6.883 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4162, allocations: 0 / 0.6977 GB, free: 6.883 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.4162, allocations: 0 / 0.6977 GB, free: 6.883 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.4165, allocations: 467.1 kB / 0.6982 GB, free: 6.434 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.4167, allocations: 241.5 kB / 0.6984 GB, free: 6.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.798e-05/0.4168, allocations: 0.684 MB / 0.6991 GB, free: 5.535 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.183e-05/0.4168, allocations: 0 / 0.6991 GB, free: 5.535 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.316e-06/0.4168, allocations: 9.438 kB / 0.6991 GB, free: 5.527 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4168, allocations: 4 kB / 0.6991 GB, free: 5.523 MB / 494.1 MB Notification: Performance of Templates: time 0.01013/0.427, allocations: 5.616 MB / 0.7046 GB, free: 5.16 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)