Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 100.1 kB / 16.4 MB, free: 5.996 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.001191/0.001191, allocations: 191.4 kB / 17.34 MB, free: 5.59 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.218/1.218, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.666/0.666, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 69.89 kB / 0.5578 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.115, allocations: 76.17 MB / 0.6321 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002085/0.1172, allocations: 1.374 MB / 0.6335 GB, free: 2.992 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.1196, allocations: 1.79 MB / 0.6352 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.1196, allocations: 0 / 0.6352 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 7.575e-05/0.1197, allocations: 11.92 kB / 0.6352 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.1199, allocations: 31.83 kB / 0.6353 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.1221, allocations: 1.141 MB / 0.6364 GB, free: 12 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.74e-05/0.1222, allocations: 55.7 kB / 0.6364 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.432e-05/0.1222, allocations: 8 kB / 0.6364 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.75e-05/0.1223, allocations: 27.91 kB / 0.6365 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.762e-05/0.1224, allocations: 27.86 kB / 0.6365 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.1224, allocations: 8 kB / 0.6365 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.1234, allocations: 0.8852 MB / 0.6374 GB, free: 15 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.197e-05/0.1235, allocations: 75.73 kB / 0.6374 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.1235, allocations: 63.38 kB / 0.6375 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000871/0.1244, allocations: 0.8807 MB / 0.6384 GB, free: 13.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1244, allocations: 0 / 0.6384 GB, free: 13.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1244, allocations: 0 / 0.6384 GB, free: 13.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1244, allocations: 0 / 0.6384 GB, free: 13.98 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005694/0.125, allocations: 0.5801 MB / 0.6389 GB, free: 13.35 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.1251, allocations: 12.03 kB / 0.6389 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.1251, allocations: 24.66 kB / 0.639 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.1253, allocations: 230.7 kB / 0.6392 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.829e-06/0.1253, allocations: 4.312 kB / 0.6392 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-06/0.1253, allocations: 384 / 0.6392 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.1254, allocations: 117.8 kB / 0.6393 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.1254, allocations: 0 / 0.6393 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.1255, allocations: 0 / 0.6393 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1255, allocations: 0 / 0.6393 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.24e-05/0.1255, allocations: 71.92 kB / 0.6394 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/0.1258, allocations: 281.9 kB / 0.6396 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.1259, allocations: 118.5 kB / 0.6398 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.303e-05/0.126, allocations: 104.9 kB / 0.6399 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.126, allocations: 3.938 kB / 0.6399 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.126, allocations: 34.55 kB / 0.6399 GB, free: 12.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 9.61e-07/0.126, allocations: 0 / 0.6399 GB, free: 12.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003302/0.1264, allocations: 334.6 kB / 0.6402 GB, free: 11.92 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.1264, allocations: 59.44 kB / 0.6403 GB, free: 11.85 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.1266, allocations: 257 kB / 0.6405 GB, free: 11.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.1266, allocations: 25.7 kB / 0.6405 GB, free: 11.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.1267, allocations: 128.7 kB / 0.6407 GB, free: 11.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.153e-05/0.1268, allocations: 98.45 kB / 0.6408 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.1268, allocations: 29.7 kB / 0.6408 GB, free: 11.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1269, allocations: 338.8 kB / 0.6411 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.321e-05/0.127, allocations: 75.97 kB / 0.6412 GB, free: 10.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.345e-05/0.1271, allocations: 79.97 kB / 0.6413 GB, free: 10.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.1272, allocations: 196.8 kB / 0.6414 GB, free: 10.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.1272, allocations: 4 kB / 0.6414 GB, free: 10.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002054/0.1274, allocations: 233.4 kB / 0.6417 GB, free: 10.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1275, allocations: 9.719 kB / 0.6417 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.1275, allocations: 0 / 0.6417 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1275, allocations: 0 / 0.6417 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.1275, allocations: 0 / 0.6417 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1275, allocations: 0 / 0.6417 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.398e-05/0.1276, allocations: 11.91 kB / 0.6417 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.1276, allocations: 7.938 kB / 0.6417 GB, free: 10.35 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 9.89e-05/0.1277, allocations: 157.8 kB / 0.6418 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.1277, allocations: 27.56 kB / 0.6419 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.128, allocations: 254.5 kB / 0.6421 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.128, allocations: 11.88 kB / 0.6421 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.128, allocations: 0 / 0.6421 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.128, allocations: 0 / 0.6421 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.1282, allocations: 281.9 kB / 0.6424 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.1282, allocations: 7.969 kB / 0.6424 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.814e-06/0.1282, allocations: 4 kB / 0.6424 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1282, allocations: 0 / 0.6424 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-06/0.1282, allocations: 0 / 0.6424 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1282, allocations: 4 kB / 0.6424 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1282, allocations: 3.984 kB / 0.6424 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.1284, allocations: 256.7 kB / 0.6427 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.1285, allocations: 100.7 kB / 0.6428 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.1285, allocations: 4 kB / 0.6428 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.39e-05/0.1286, allocations: 4.031 kB / 0.6428 GB, free: 9.145 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.1286, allocations: 0 / 0.6428 GB, free: 9.145 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.1286, allocations: 0 / 0.6428 GB, free: 9.145 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.1287, allocations: 192.4 kB / 0.6429 GB, free: 8.953 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1287, allocations: 0 / 0.6429 GB, free: 8.953 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004514/0.1292, allocations: 207.9 kB / 0.6431 GB, free: 8.75 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 (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 Backend phase and start with SimCode phase: time 0.0005914/0.1298, allocations: 334.9 kB / 0.6435 GB, free: 8.414 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.1301, allocations: 265.6 kB / 0.6437 GB, free: 8.148 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1301, allocations: 4.062 kB / 0.6437 GB, free: 8.145 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.1302, allocations: 181.6 kB / 0.6439 GB, free: 7.961 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.1304, allocations: 17.19 kB / 0.6439 GB, free: 7.941 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.131, allocations: 494.1 kB / 0.6444 GB, free: 7.434 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.1313, allocations: 0.7671 MB / 0.6451 GB, free: 6.633 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.308e-05/0.1313, allocations: 15.98 kB / 0.6451 GB, free: 6.617 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.208e-05/0.1313, allocations: 7.438 kB / 0.6452 GB, free: 6.609 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1313, allocations: 0 / 0.6452 GB, free: 6.609 MB / 494.1 MB Notification: Performance of Templates: time 0.007339/0.1387, allocations: 4.631 MB / 0.6497 GB, free: 2.039 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)