Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.006502/0.006502, allocations: 99.05 kB / 15.73 MB, free: 6.004 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.001378/0.001378, allocations: 199.4 kB / 16.68 MB, free: 5.934 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9773/0.9773, allocations: 143 MB / 433.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 59.89 kB / 0.5956 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3942, allocations: 82.03 MB / 0.6757 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002553/0.3968, allocations: 1.438 MB / 0.6771 GB, free: 348 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004874/0.4017, allocations: 2.889 MB / 0.6799 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.734e-05/0.4018, allocations: 1.438 kB / 0.6799 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.4018, allocations: 3.938 kB / 0.68 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.243e-05/0.4019, allocations: 21.16 kB / 0.68 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003954/0.4059, allocations: 1.583 MB / 0.6815 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.821e-05/0.406, allocations: 45.8 kB / 0.6816 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.406, allocations: 7.109 kB / 0.6816 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.354e-05/0.4061, allocations: 23.84 kB / 0.6816 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.729e-05/0.4061, allocations: 11.84 kB / 0.6816 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.4061, allocations: 1.25 kB / 0.6816 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.4081, allocations: 1.532 MB / 0.6831 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.4082, allocations: 18.47 kB / 0.6831 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.4082, allocations: 15.38 kB / 0.6831 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.4095, allocations: 1.098 MB / 0.6842 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4095, allocations: 0 / 0.6842 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4095, allocations: 0 / 0.6842 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.4095, allocations: 0 / 0.6842 GB, free: 11.43 MB / 0.5137 GB 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.0005303/0.41, allocations: 0.5105 MB / 0.6847 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.4101, allocations: 13.75 kB / 0.6847 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.717e-05/0.4101, allocations: 86.47 kB / 0.6848 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.4103, allocations: 259.6 kB / 0.685 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.517e-05/0.4103, allocations: 152.4 kB / 0.6852 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.4104, allocations: 154.9 kB / 0.6853 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.192e-05/0.4105, allocations: 106.3 kB / 0.6854 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.4105, allocations: 79.28 kB / 0.6855 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.4105, allocations: 150.6 kB / 0.6857 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.18e-05/0.4106, allocations: 152.1 kB / 0.6858 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.013e-05/0.4106, allocations: 158.4 kB / 0.686 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.4109, allocations: 466.1 kB / 0.6864 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.693e-05/0.411, allocations: 171 kB / 0.6866 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.411, allocations: 80.14 kB / 0.6866 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.411, allocations: 75.28 kB / 0.6867 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.4111, allocations: 115.4 kB / 0.6868 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.4111, allocations: 0 / 0.6868 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 6.98e-05/0.4112, allocations: 40.81 kB / 0.6869 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.4112, allocations: 130.7 kB / 0.687 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.4114, allocations: 136.7 kB / 0.6871 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.4114, allocations: 25.7 kB / 0.6871 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.4114, allocations: 87.17 kB / 0.6872 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.4114, allocations: 0 / 0.6872 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.4115, allocations: 22.77 kB / 0.6872 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.199e-05/0.4116, allocations: 312.2 kB / 0.6875 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.281e-05/0.4116, allocations: 11.53 kB / 0.6876 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.724e-05/0.4116, allocations: 8.234 kB / 0.6876 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.414e-05/0.4117, allocations: 14.39 kB / 0.6876 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4117, allocations: 4 kB / 0.6876 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001241/0.4118, allocations: 56.33 kB / 0.6876 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.4118, allocations: 6.906 kB / 0.6876 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.4118, allocations: 3.094 kB / 0.6876 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.4119, allocations: 0 / 0.6876 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.4119, allocations: 0.6875 kB / 0.6876 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4119, allocations: 5.609 kB / 0.6877 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.111e-05/0.4119, allocations: 8 kB / 0.6877 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.4119, allocations: 1.656 kB / 0.6877 GB, free: 7.82 MB / 0.5137 GB 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.436e-05/0.412, allocations: 182.2 kB / 0.6878 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6e-05/0.4121, allocations: 116.9 kB / 0.6879 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.531e-05/0.4121, allocations: 114 kB / 0.6881 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.007e-05/0.4122, allocations: 181.5 kB / 0.6882 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.892e-05/0.4122, allocations: 185.3 kB / 0.6884 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.093e-05/0.4123, allocations: 177.4 kB / 0.6886 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.4125, allocations: 415.7 kB / 0.689 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.18e-05/0.4125, allocations: 110.6 kB / 0.6891 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.929e-05/0.4126, allocations: 105 kB / 0.6892 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.255e-05/0.4126, allocations: 189.6 kB / 0.6894 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.112e-05/0.4127, allocations: 181.3 kB / 0.6895 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.804e-05/0.4127, allocations: 185.1 kB / 0.6897 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-05/0.4128, allocations: 178.3 kB / 0.6899 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.4129, allocations: 307.8 kB / 0.6902 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.413, allocations: 191.3 kB / 0.6904 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.388e-05/0.413, allocations: 181.6 kB / 0.6905 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/0.4131, allocations: 106.4 kB / 0.6906 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.4132, allocations: 181.7 kB / 0.6908 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.4132, allocations: 104.9 kB / 0.6909 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.273e-05/0.4133, allocations: 105.4 kB / 0.691 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4133, allocations: 0 / 0.691 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006816/0.414, allocations: 277.9 kB / 0.6913 GB, free: 4.145 MB / 0.5137 GB 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.001004/0.415, allocations: 0.529 MB / 0.6918 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.4151, allocations: 46.12 kB / 0.6918 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.4151, allocations: 0 / 0.6918 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/0.4151, allocations: 0.875 kB / 0.6918 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.4155, allocations: 477.4 kB / 0.6923 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.4158, allocations: 237.5 kB / 0.6925 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.416, allocations: 0.6853 MB / 0.6932 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.378e-05/0.4161, allocations: 1.219 kB / 0.6932 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.204e-05/0.4161, allocations: 8.781 kB / 0.6932 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.4161, allocations: 0 / 0.6932 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of Templates: time 0.009282/0.4254, allocations: 5.663 MB / 0.6987 GB, free: 14.42 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)