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.001122/0.001122, allocations: 106.4 kB / 16.36 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.001024/0.001024, allocations: 199 kB / 17.3 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002138/0.002138, allocations: 291.4 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.9345/0.9345, allocations: 169.3 MB / 0.4989 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 94.86 kB / 0.5967 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.149, allocations: 86.97 MB / 0.6817 GB, free: 7.391 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002341/0.1513, allocations: 1.422 MB / 0.683 GB, free: 5.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00382/0.1552, allocations: 2.852 MB / 0.6858 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.1552, allocations: 0 / 0.6858 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.1553, allocations: 3.938 kB / 0.6858 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.683e-05/0.1553, allocations: 15.86 kB / 0.6858 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.1586, allocations: 1.55 MB / 0.6874 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.865e-05/0.1587, allocations: 51.67 kB / 0.6874 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.324e-05/0.1588, allocations: 3.984 kB / 0.6874 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.282e-05/0.1588, allocations: 11.94 kB / 0.6874 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.569e-05/0.1588, allocations: 15.92 kB / 0.6874 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.746e-06/0.1588, allocations: 0 / 0.6874 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.26/0.4189, allocations: 1.48 MB / 0.6889 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.4189, allocations: 5.234 kB / 0.6889 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.419, allocations: 23.91 kB / 0.6889 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001996/0.421, allocations: 1.07 MB / 0.69 GB, free: 13.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.421, allocations: 0 / 0.69 GB, free: 13.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.421, allocations: 4.125 kB / 0.69 GB, free: 13.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.421, allocations: 1.25 kB / 0.69 GB, free: 13.45 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.0005005/0.4215, allocations: 0.5132 MB / 0.6905 GB, free: 12.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.4216, allocations: 9.438 kB / 0.6905 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.4216, allocations: 85.28 kB / 0.6906 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.978e-05/0.4217, allocations: 251.2 kB / 0.6908 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.4217, allocations: 151.5 kB / 0.6909 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.4218, allocations: 154.4 kB / 0.6911 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.541e-05/0.4218, allocations: 115.9 kB / 0.6912 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.4218, allocations: 76.44 kB / 0.6913 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.4218, allocations: 154.7 kB / 0.6914 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.4219, allocations: 151.1 kB / 0.6916 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.4219, allocations: 155.2 kB / 0.6917 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.4221, allocations: 462.3 kB / 0.6921 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.627e-05/0.4221, allocations: 172.1 kB / 0.6923 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.341e-05/0.4221, allocations: 80.75 kB / 0.6924 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.4222, allocations: 76.41 kB / 0.6925 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.4222, allocations: 115.6 kB / 0.6926 GB, free: 10.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.4222, allocations: 1.5 kB / 0.6926 GB, free: 10.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.129e-05/0.4223, allocations: 32.89 kB / 0.6926 GB, free: 10.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.4223, allocations: 128.1 kB / 0.6927 GB, free: 10.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.4224, allocations: 136 kB / 0.6929 GB, free: 10.51 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.232e-06/0.4224, allocations: 29.2 kB / 0.6929 GB, free: 10.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.4224, allocations: 87 kB / 0.693 GB, free: 10.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-06/0.4225, allocations: 0.8125 kB / 0.693 GB, free: 10.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.4225, allocations: 19.44 kB / 0.693 GB, free: 10.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.948e-05/0.4225, allocations: 317.2 kB / 0.6933 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.119e-05/0.4226, allocations: 4.031 kB / 0.6933 GB, free: 10.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.648e-05/0.4226, allocations: 7.406 kB / 0.6933 GB, free: 10.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.744e-05/0.4226, allocations: 16.17 kB / 0.6933 GB, free: 10.06 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4226, allocations: 0 / 0.6933 GB, free: 10.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001132/0.4228, allocations: 54.11 kB / 0.6934 GB, free: 10.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.4228, allocations: 5.406 kB / 0.6934 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.4228, allocations: 4.234 kB / 0.6934 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.4228, allocations: 2.156 kB / 0.6934 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.383e-06/0.4228, allocations: 0 / 0.6934 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.4228, allocations: 1.609 kB / 0.6934 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/0.4229, allocations: 1.938 kB / 0.6934 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.4229, allocations: 5 kB / 0.6934 GB, free: 10.02 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.766e-05/0.4229, allocations: 189.3 kB / 0.6936 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.423, allocations: 115.3 kB / 0.6937 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.423, allocations: 112.5 kB / 0.6938 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/0.423, allocations: 186.7 kB / 0.694 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.117e-05/0.423, allocations: 188.7 kB / 0.6941 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.976e-05/0.4231, allocations: 179.4 kB / 0.6943 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.4232, allocations: 411.1 kB / 0.6947 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.4232, allocations: 106.2 kB / 0.6948 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-05/0.4232, allocations: 108.5 kB / 0.6949 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-05/0.4233, allocations: 183.8 kB / 0.6951 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.4233, allocations: 179.8 kB / 0.6953 GB, free: 8.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-05/0.4233, allocations: 181.7 kB / 0.6954 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.828e-05/0.4233, allocations: 180.4 kB / 0.6956 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.728e-05/0.4234, allocations: 310 kB / 0.6959 GB, free: 7.383 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.4234, allocations: 192.1 kB / 0.6961 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.4235, allocations: 178.8 kB / 0.6963 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.615e-05/0.4235, allocations: 107.4 kB / 0.6964 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.4236, allocations: 177.9 kB / 0.6965 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.4236, allocations: 112.2 kB / 0.6966 GB, free: 6.605 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.186e-05/0.4236, allocations: 100.3 kB / 0.6967 GB, free: 6.531 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4236, allocations: 1.438 kB / 0.6967 GB, free: 6.531 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007842/0.4244, allocations: 273.2 kB / 0.697 GB, free: 6.477 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.0009372/0.4254, allocations: 0.5204 MB / 0.6975 GB, free: 6.258 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.164e-05/0.4255, allocations: 38.12 kB / 0.6975 GB, free: 6.223 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4255, allocations: 0.75 kB / 0.6975 GB, free: 6.223 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.806e-06/0.4255, allocations: 1.266 kB / 0.6975 GB, free: 6.223 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.4258, allocations: 468.3 kB / 0.698 GB, free: 5.773 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.426, allocations: 237.8 kB / 0.6982 GB, free: 5.574 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.296e-05/0.4261, allocations: 0.6854 MB / 0.6989 GB, free: 4.875 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.278e-05/0.4262, allocations: 4.812 kB / 0.6989 GB, free: 4.871 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.877e-06/0.4262, allocations: 12.62 kB / 0.6989 GB, free: 4.863 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4262, allocations: 0 / 0.6989 GB, free: 4.863 MB / 494.1 MB Notification: Performance of Templates: time 0.01023/0.4364, allocations: 5.45 MB / 0.7042 GB, free: 4.504 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)