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.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/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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001005/0.001005, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.009996/0.009996, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.512/1.512, allocations: 223.3 MB / 240.3 MB, free: 5.348 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 1.171/1.171, allocations: 143.2 MB / 434.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003911, allocations: 15.98 kB / 0.5165 GB, free: 11.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2032, allocations: 83.4 MB / 0.5979 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002446/0.2057, allocations: 1.142 MB / 0.599 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006566/0.2123, allocations: 2.897 MB / 0.6019 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.466e-05/0.2124, allocations: 0 / 0.6019 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.2e-05/0.2125, allocations: 11.86 kB / 0.6019 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.211e-05/0.2126, allocations: 11.86 kB / 0.6019 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004514/0.2171, allocations: 1.362 MB / 0.6032 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.847e-05/0.2172, allocations: 43.67 kB / 0.6032 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.062e-05/0.2173, allocations: 8 kB / 0.6033 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.468e-05/0.2173, allocations: 15.94 kB / 0.6033 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.877e-05/0.2173, allocations: 15.91 kB / 0.6033 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.2174, allocations: 4 kB / 0.6033 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002307/0.2197, allocations: 1.423 MB / 0.6047 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.2197, allocations: 3.938 kB / 0.6047 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.266e-05/0.2198, allocations: 41.64 kB / 0.6047 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.3851/0.6048, allocations: 1.086 MB / 0.6058 GB, free: 36.7 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.6049, allocations: 0 / 0.6058 GB, free: 36.7 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.907e-06/0.6049, allocations: 2.875 kB / 0.6058 GB, free: 36.7 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.6049, allocations: 1.375 kB / 0.6058 GB, free: 36.7 MB / 0.4981 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.0006522/0.6056, allocations: 0.511 MB / 0.6063 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.6056, allocations: 10.66 kB / 0.6063 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.6057, allocations: 80.12 kB / 0.6064 GB, free: 36.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.6058, allocations: 250.8 kB / 0.6066 GB, free: 35.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.6058, allocations: 152.1 kB / 0.6068 GB, free: 35.76 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.6059, allocations: 151.9 kB / 0.6069 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.376e-05/0.6059, allocations: 107.5 kB / 0.607 GB, free: 35.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.606, allocations: 83.16 kB / 0.6071 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.606, allocations: 151.2 kB / 0.6072 GB, free: 35.28 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.606, allocations: 152 kB / 0.6074 GB, free: 35.13 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.971e-05/0.606, allocations: 152.7 kB / 0.6075 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.6063, allocations: 463.1 kB / 0.608 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.752e-05/0.6063, allocations: 166.3 kB / 0.6081 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.906e-05/0.6064, allocations: 88.47 kB / 0.6082 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.6064, allocations: 76.58 kB / 0.6083 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.6064, allocations: 115.2 kB / 0.6084 GB, free: 34.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.6064, allocations: 0.5 kB / 0.6084 GB, free: 34.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.003e-05/0.6065, allocations: 33.95 kB / 0.6084 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.6065, allocations: 127.8 kB / 0.6085 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.6067, allocations: 135.4 kB / 0.6087 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.6067, allocations: 25.7 kB / 0.6087 GB, free: 33.76 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.6067, allocations: 89.7 kB / 0.6088 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-06/0.6067, allocations: 2.031 kB / 0.6088 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.6068, allocations: 14.34 kB / 0.6088 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.275e-05/0.6068, allocations: 320.7 kB / 0.6091 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.242e-05/0.6069, allocations: 4.844 kB / 0.6091 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.405e-05/0.6069, allocations: 9.875 kB / 0.6091 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/0.6069, allocations: 15.62 kB / 0.6091 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6069, allocations: 0 / 0.6091 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001129/0.607, allocations: 50.92 kB / 0.6092 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.6071, allocations: 9.703 kB / 0.6092 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.6071, allocations: 3.188 kB / 0.6092 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.6071, allocations: 5.125 kB / 0.6092 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.6071, allocations: 0 / 0.6092 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.6071, allocations: 0 / 0.6092 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.6072, allocations: 3.844 kB / 0.6092 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.6072, allocations: 6.281 kB / 0.6092 GB, free: 33.3 MB / 0.4981 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 6.847e-05/0.6072, allocations: 184 kB / 0.6094 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.6073, allocations: 111.7 kB / 0.6095 GB, free: 33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.272e-05/0.6073, allocations: 114.6 kB / 0.6096 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.568e-05/0.6074, allocations: 184.7 kB / 0.6098 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-05/0.6074, allocations: 183.6 kB / 0.61 GB, free: 32.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.693e-05/0.6074, allocations: 176.3 kB / 0.6101 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.6076, allocations: 414.2 kB / 0.6105 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/0.6076, allocations: 107.1 kB / 0.6106 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.761e-05/0.6076, allocations: 108 kB / 0.6107 GB, free: 31.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.282e-05/0.6077, allocations: 183.6 kB / 0.6109 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.6077, allocations: 185 kB / 0.6111 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.097e-05/0.6077, allocations: 179.9 kB / 0.6112 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.444e-05/0.6078, allocations: 180.9 kB / 0.6114 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.451e-05/0.6079, allocations: 308.8 kB / 0.6117 GB, free: 30.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.6079, allocations: 191.7 kB / 0.6119 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.608, allocations: 185.2 kB / 0.6121 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.106e-05/0.608, allocations: 107 kB / 0.6122 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.6081, allocations: 177.1 kB / 0.6123 GB, free: 30 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.6081, allocations: 107.4 kB / 0.6124 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.6081, allocations: 98.53 kB / 0.6125 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6081, allocations: 4 kB / 0.6125 GB, free: 29.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007966/0.6089, allocations: 280.3 kB / 0.6128 GB, free: 29.76 MB / 0.4981 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.0009474/0.6099, allocations: 0.5096 MB / 0.6133 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.61, allocations: 40.67 kB / 0.6133 GB, free: 29.51 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.61, allocations: 0 / 0.6133 GB, free: 29.51 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/0.61, allocations: 8.5 kB / 0.6134 GB, free: 29.51 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.6104, allocations: 0.5234 MB / 0.6139 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.6107, allocations: 267.3 kB / 0.6141 GB, free: 28.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.6108, allocations: 0.6852 MB / 0.6148 GB, free: 28.08 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.406e-05/0.6109, allocations: 0 / 0.6148 GB, free: 28.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.358e-05/0.6109, allocations: 13.59 kB / 0.6148 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.6109, allocations: 1.75 kB / 0.6148 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.00884/0.6197, allocations: 5.506 MB / 0.6202 GB, free: 27.73 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)