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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 104.4 kB / 16.27 MB, free: 5.961 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.001469/0.001469, allocations: 188 kB / 17.19 MB, free: 5.594 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.329/1.329, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.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.8424/0.8424, allocations: 143.1 MB / 434.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 63.91 kB / 0.5149 GB, free: 15.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3338, allocations: 82.04 MB / 0.595 GB, free: 16.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002371/0.3362, allocations: 1.413 MB / 0.5964 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003174/0.3394, allocations: 2.851 MB / 0.5992 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.649e-05/0.3395, allocations: 0 / 0.5992 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.964e-05/0.3395, allocations: 3.938 kB / 0.5992 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.272e-05/0.3396, allocations: 15.84 kB / 0.5992 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003186/0.3428, allocations: 1.564 MB / 0.6007 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.169e-05/0.3428, allocations: 46.5 kB / 0.6008 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.3429, allocations: 4 kB / 0.6008 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.209e-05/0.3429, allocations: 15.94 kB / 0.6008 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.356e-05/0.3429, allocations: 15.92 kB / 0.6008 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.343, allocations: 0 / 0.6008 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.3446, allocations: 1.42 MB / 0.6022 GB, free: 8.863 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.3446, allocations: 12.58 kB / 0.6022 GB, free: 8.852 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.3447, allocations: 15.92 kB / 0.6022 GB, free: 8.836 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.346, allocations: 1.078 MB / 0.6033 GB, free: 7.758 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.346, allocations: 0 / 0.6033 GB, free: 7.758 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.346, allocations: 0 / 0.6033 GB, free: 7.758 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.3461, allocations: 0 / 0.6033 GB, free: 7.758 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.000556/0.3466, allocations: 0.5158 MB / 0.6038 GB, free: 7.195 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3467, allocations: 12.03 kB / 0.6038 GB, free: 7.184 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.3467, allocations: 80.92 kB / 0.6039 GB, free: 7.105 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.851e-05/0.3468, allocations: 249.4 kB / 0.6041 GB, free: 6.824 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.3468, allocations: 156.4 kB / 0.6042 GB, free: 6.672 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.3469, allocations: 154.9 kB / 0.6044 GB, free: 6.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.635e-05/0.3469, allocations: 106.6 kB / 0.6045 GB, free: 6.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3469, allocations: 75.28 kB / 0.6046 GB, free: 6.336 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.347, allocations: 151.3 kB / 0.6047 GB, free: 6.188 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.347, allocations: 156 kB / 0.6049 GB, free: 6.035 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.664e-05/0.347, allocations: 154.5 kB / 0.605 GB, free: 5.883 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.3472, allocations: 471.8 kB / 0.6055 GB, free: 5.375 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.364e-05/0.3473, allocations: 170.6 kB / 0.6056 GB, free: 5.199 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.3473, allocations: 80.14 kB / 0.6057 GB, free: 5.117 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.3473, allocations: 76.09 kB / 0.6058 GB, free: 5.043 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.3473, allocations: 119.2 kB / 0.6059 GB, free: 4.918 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.3473, allocations: 3.938 kB / 0.6059 GB, free: 4.914 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.868e-05/0.3474, allocations: 29.7 kB / 0.6059 GB, free: 4.879 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.3475, allocations: 128.2 kB / 0.606 GB, free: 4.742 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.807e-05/0.3476, allocations: 132.5 kB / 0.6062 GB, free: 4.605 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/0.3476, allocations: 26.42 kB / 0.6062 GB, free: 4.574 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.3476, allocations: 92.14 kB / 0.6063 GB, free: 4.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-06/0.3476, allocations: 0.9688 kB / 0.6063 GB, free: 4.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.3476, allocations: 17.7 kB / 0.6063 GB, free: 4.457 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.957e-05/0.3477, allocations: 317.8 kB / 0.6066 GB, free: 4.141 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.3477, allocations: 4 kB / 0.6066 GB, free: 4.137 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.435e-05/0.3477, allocations: 4 kB / 0.6066 GB, free: 4.133 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.285e-05/0.3478, allocations: 20.78 kB / 0.6066 GB, free: 4.109 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3478, allocations: 0 / 0.6066 GB, free: 4.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001076/0.3479, allocations: 49.64 kB / 0.6067 GB, free: 4.055 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.3479, allocations: 5.344 kB / 0.6067 GB, free: 4.051 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.3479, allocations: 0 / 0.6067 GB, free: 4.051 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.3479, allocations: 4 kB / 0.6067 GB, free: 4.047 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.204e-06/0.348, allocations: 3.984 kB / 0.6067 GB, free: 4.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.348, allocations: 1.344 kB / 0.6067 GB, free: 4.043 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.091e-05/0.348, allocations: 7.844 kB / 0.6067 GB, free: 4.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.348, allocations: 0 / 0.6067 GB, free: 4.035 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 5.303e-05/0.3481, allocations: 186.5 kB / 0.6069 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.3481, allocations: 113.7 kB / 0.607 GB, free: 3.727 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.3481, allocations: 112.9 kB / 0.6071 GB, free: 3.609 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/0.3482, allocations: 185.7 kB / 0.6073 GB, free: 3.422 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.398e-05/0.3482, allocations: 185.5 kB / 0.6074 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.337e-05/0.3482, allocations: 184.3 kB / 0.6076 GB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.3484, allocations: 414.5 kB / 0.608 GB, free: 2.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.3484, allocations: 108.9 kB / 0.6081 GB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.564e-05/0.3484, allocations: 106.3 kB / 0.6082 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.22e-05/0.3484, allocations: 180.2 kB / 0.6084 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.3485, allocations: 177.6 kB / 0.6086 GB, free: 2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.216e-05/0.3485, allocations: 184.2 kB / 0.6087 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.035e-05/0.3485, allocations: 176.9 kB / 0.6089 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.76e-05/0.3486, allocations: 314.5 kB / 0.6092 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.3486, allocations: 189.9 kB / 0.6094 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.3487, allocations: 180.9 kB / 0.6096 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.835e-05/0.3487, allocations: 109 kB / 0.6097 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.3488, allocations: 186.6 kB / 0.6098 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.3488, allocations: 105 kB / 0.6099 GB, free: 0.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.635e-05/0.3488, allocations: 95.27 kB / 0.61 GB, free: 416 kB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3488, allocations: 0 / 0.61 GB, free: 416 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006617/0.3495, allocations: 282.5 kB / 0.6103 GB, free: 136 kB / 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.001129/0.3506, allocations: 0.512 MB / 0.6108 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 8.87e-05/0.3507, allocations: 38.23 kB / 0.6108 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3507, allocations: 1.219 kB / 0.6108 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.268e-06/0.3508, allocations: 3.938 kB / 0.6108 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.3512, allocations: 473.3 kB / 0.6113 GB, free: 15.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.3515, allocations: 264.8 kB / 0.6115 GB, free: 14.81 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.3518, allocations: 0.6821 MB / 0.6122 GB, free: 14.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.124e-05/0.3518, allocations: 7.438 kB / 0.6122 GB, free: 14.1 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3518, allocations: 0 / 0.6122 GB, free: 14.1 MB / 462.1 MB Notification: Performance of Templates: time 0.00779/0.3596, allocations: 4.716 MB / 0.6168 GB, free: 9.418 MB / 462.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)