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.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/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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001377/0.001377, allocations: 105 kB / 15.98 MB, free: 6.352 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.001395/0.001395, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.45/1.45, allocations: 222.9 MB / 240.6 MB, free: 13.75 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.9096/0.9096, allocations: 143.1 MB / 433.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.89 kB / 0.5144 GB, free: 15.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4476, allocations: 82.04 MB / 0.5945 GB, free: 16.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00223/0.4499, allocations: 1.494 MB / 0.596 GB, free: 14.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003218/0.4531, allocations: 2.891 MB / 0.5988 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.4532, allocations: 0 / 0.5988 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.893e-05/0.4532, allocations: 0 / 0.5988 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.017e-05/0.4533, allocations: 21.34 kB / 0.5988 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002778/0.4561, allocations: 1.458 MB / 0.6002 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.088e-05/0.4561, allocations: 47.67 kB / 0.6003 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.275e-05/0.4562, allocations: 0 / 0.6003 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.378e-05/0.4562, allocations: 17.3 kB / 0.6003 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.41e-05/0.4562, allocations: 19.92 kB / 0.6003 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.4563, allocations: 4 kB / 0.6003 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.4576, allocations: 1.452 MB / 0.6017 GB, free: 8.988 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.4577, allocations: 11.94 kB / 0.6018 GB, free: 8.977 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.4577, allocations: 15.88 kB / 0.6018 GB, free: 8.961 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006707/0.4584, allocations: 0.7616 MB / 0.6025 GB, free: 8.199 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4584, allocations: 0 / 0.6025 GB, free: 8.199 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4584, allocations: 0 / 0.6025 GB, free: 8.199 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.4584, allocations: 4 kB / 0.6025 GB, free: 8.195 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.0004375/0.4588, allocations: 0.5196 MB / 0.603 GB, free: 7.629 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.4589, allocations: 12.03 kB / 0.603 GB, free: 7.617 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.4589, allocations: 77.09 kB / 0.6031 GB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.543e-05/0.459, allocations: 252.8 kB / 0.6033 GB, free: 7.258 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.4591, allocations: 154.9 kB / 0.6035 GB, free: 7.105 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.4591, allocations: 156.4 kB / 0.6036 GB, free: 6.953 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.353e-05/0.4591, allocations: 109 kB / 0.6037 GB, free: 6.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.4592, allocations: 76.59 kB / 0.6038 GB, free: 6.766 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.4592, allocations: 150.6 kB / 0.604 GB, free: 6.617 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.4592, allocations: 155.9 kB / 0.6041 GB, free: 6.465 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.272e-05/0.4593, allocations: 150.6 kB / 0.6043 GB, free: 6.316 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.4594, allocations: 463.2 kB / 0.6047 GB, free: 5.816 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.249e-05/0.4595, allocations: 175.4 kB / 0.6049 GB, free: 5.637 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.4595, allocations: 80.14 kB / 0.6049 GB, free: 5.555 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.4595, allocations: 76.56 kB / 0.605 GB, free: 5.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.4596, allocations: 109.8 kB / 0.6051 GB, free: 5.363 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.4596, allocations: 1.469 kB / 0.6051 GB, free: 5.363 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.45e-05/0.4596, allocations: 33.7 kB / 0.6052 GB, free: 5.324 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.4597, allocations: 134.6 kB / 0.6053 GB, free: 5.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.4598, allocations: 141.7 kB / 0.6054 GB, free: 5.035 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.4598, allocations: 25.7 kB / 0.6054 GB, free: 5.004 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.4598, allocations: 97.59 kB / 0.6055 GB, free: 4.906 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-06/0.4598, allocations: 0 / 0.6055 GB, free: 4.906 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.4599, allocations: 13.72 kB / 0.6055 GB, free: 4.887 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.161e-05/0.4599, allocations: 324.2 kB / 0.6059 GB, free: 4.562 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.46, allocations: 4 kB / 0.6059 GB, free: 4.559 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.533e-05/0.46, allocations: 8 kB / 0.6059 GB, free: 4.551 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.971e-05/0.46, allocations: 9.578 kB / 0.6059 GB, free: 4.539 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.46, allocations: 0 / 0.6059 GB, free: 4.539 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001141/0.4601, allocations: 66.75 kB / 0.6059 GB, free: 4.469 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.4602, allocations: 4 kB / 0.6059 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.4602, allocations: 7.938 kB / 0.606 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.4602, allocations: 1.031 kB / 0.606 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.4602, allocations: 0 / 0.606 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.4602, allocations: 0 / 0.606 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.964e-05/0.4602, allocations: 9.344 kB / 0.606 GB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.4602, allocations: 4 kB / 0.606 GB, free: 4.445 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.915e-05/0.4603, allocations: 186.3 kB / 0.6061 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.4603, allocations: 112.8 kB / 0.6063 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.4604, allocations: 109.9 kB / 0.6064 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/0.4604, allocations: 185.9 kB / 0.6065 GB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.711e-05/0.4604, allocations: 176.3 kB / 0.6067 GB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.613e-05/0.4605, allocations: 185.4 kB / 0.6069 GB, free: 3.469 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.4606, allocations: 409.2 kB / 0.6073 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/0.4606, allocations: 113.5 kB / 0.6074 GB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.385e-05/0.4607, allocations: 102.3 kB / 0.6075 GB, free: 2.789 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-05/0.4607, allocations: 188.2 kB / 0.6077 GB, free: 2.598 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.4607, allocations: 181.6 kB / 0.6078 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.63e-05/0.4607, allocations: 176.3 kB / 0.608 GB, free: 2.234 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.577e-05/0.4608, allocations: 181.7 kB / 0.6082 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.923e-05/0.4609, allocations: 321.2 kB / 0.6085 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.4609, allocations: 182 kB / 0.6086 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.445e-05/0.4609, allocations: 176.8 kB / 0.6088 GB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.823e-05/0.461, allocations: 111.6 kB / 0.6089 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.461, allocations: 180.3 kB / 0.6091 GB, free: 1.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.4611, allocations: 108.9 kB / 0.6092 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.641e-05/0.4611, allocations: 97.3 kB / 0.6093 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4611, allocations: 6.312 kB / 0.6093 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000521/0.4616, allocations: 279.8 kB / 0.6096 GB, free: 0.5508 MB / 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.0008709/0.4625, allocations: 0.5276 MB / 0.6101 GB, free: 20 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.4626, allocations: 37.7 kB / 0.6101 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4626, allocations: 0 / 0.6101 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.586e-06/0.4626, allocations: 4.875 kB / 0.6101 GB, free: 15.97 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.4631, allocations: 469.6 kB / 0.6106 GB, free: 15.51 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.4634, allocations: 269 kB / 0.6108 GB, free: 15.22 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.4636, allocations: 0.6851 MB / 0.6115 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.618e-06/0.4637, allocations: 12.72 kB / 0.6115 GB, free: 14.5 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4637, allocations: 0 / 0.6115 GB, free: 14.5 MB / 462.1 MB Notification: Performance of Templates: time 0.007294/0.471, allocations: 4.824 MB / 0.6162 GB, free: 9.715 MB / 462.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)