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_OneUTube.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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 104.9 kB / 16.4 MB, free: 5.973 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.001571/0.001571, allocations: 195.1 kB / 17.34 MB, free: 5.582 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7472/0.7472, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 64.27 kB / 0.568 GB, free: 28.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1663, allocations: 77.93 MB / 0.6441 GB, free: 9.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002605/0.169, allocations: 1.364 MB / 0.6455 GB, free: 8.117 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002722/0.1717, allocations: 1.795 MB / 0.6472 GB, free: 6.309 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.1718, allocations: 0 / 0.6472 GB, free: 6.309 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.275e-05/0.1719, allocations: 7.984 kB / 0.6472 GB, free: 6.301 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.1721, allocations: 23.84 kB / 0.6472 GB, free: 6.277 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.1748, allocations: 1.151 MB / 0.6484 GB, free: 5.141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.1749, allocations: 47.77 kB / 0.6484 GB, free: 5.094 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.175, allocations: 4 kB / 0.6484 GB, free: 5.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.323e-05/0.175, allocations: 27.84 kB / 0.6484 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.234e-05/0.1751, allocations: 19.92 kB / 0.6485 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.738e-06/0.1751, allocations: 0 / 0.6485 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.1763, allocations: 0.8852 MB / 0.6493 GB, free: 4.156 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.989e-05/0.1764, allocations: 35.89 kB / 0.6494 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.1765, allocations: 23.81 kB / 0.6494 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.1775, allocations: 0.7952 MB / 0.6502 GB, free: 3.301 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1775, allocations: 0 / 0.6502 GB, free: 3.301 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1775, allocations: 0 / 0.6502 GB, free: 3.301 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1776, allocations: 0 / 0.6502 GB, free: 3.301 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006068/0.1782, allocations: 497.8 kB / 0.6506 GB, free: 2.766 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1782, allocations: 8.625 kB / 0.6506 GB, free: 2.758 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.196e-05/0.1783, allocations: 42.69 kB / 0.6507 GB, free: 2.707 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.1783, allocations: 8.891 kB / 0.6507 GB, free: 2.699 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.1785, allocations: 186.5 kB / 0.6509 GB, free: 2.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1785, allocations: 4.125 kB / 0.6509 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.1785, allocations: 4 kB / 0.6509 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.1786, allocations: 57.67 kB / 0.6509 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.1786, allocations: 0 / 0.6509 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.1786, allocations: 0 / 0.6509 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1786, allocations: 0 / 0.6509 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.872e-05/0.1787, allocations: 31.92 kB / 0.651 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/0.1789, allocations: 185.6 kB / 0.6511 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.251e-05/0.179, allocations: 50.45 kB / 0.6512 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.912e-05/0.179, allocations: 36.88 kB / 0.6512 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.179, allocations: 0 / 0.6512 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.1791, allocations: 34.56 kB / 0.6513 GB, free: 2.008 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.1791, allocations: 0 / 0.6513 GB, free: 2.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002069/0.1793, allocations: 125.7 kB / 0.6514 GB, free: 1.879 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.1793, allocations: 51.41 kB / 0.6514 GB, free: 1.816 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.1795, allocations: 155.9 kB / 0.6516 GB, free: 1.648 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.1795, allocations: 29.64 kB / 0.6516 GB, free: 1.613 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.1795, allocations: 96.17 kB / 0.6517 GB, free: 1.516 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.1796, allocations: 31.73 kB / 0.6517 GB, free: 1.484 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.1796, allocations: 13.72 kB / 0.6517 GB, free: 1.465 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1797, allocations: 326.8 kB / 0.6521 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.622e-05/0.1798, allocations: 27.98 kB / 0.6521 GB, free: 1.109 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/0.1798, allocations: 23.98 kB / 0.6521 GB, free: 1.086 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.99e-05/0.1799, allocations: 56.84 kB / 0.6522 GB, free: 1.027 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1799, allocations: 4 kB / 0.6522 GB, free: 1.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001165/0.18, allocations: 101.5 kB / 0.6523 GB, free: 0.918 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.18, allocations: 8 kB / 0.6523 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.1801, allocations: 0 / 0.6523 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1801, allocations: 0 / 0.6523 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.1801, allocations: 0 / 0.6523 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1801, allocations: 0 / 0.6523 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.555e-05/0.1801, allocations: 8 kB / 0.6523 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1801, allocations: 3.984 kB / 0.6523 GB, free: 0.8984 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 8.308e-05/0.1802, allocations: 125.8 kB / 0.6524 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.1803, allocations: 11.98 kB / 0.6524 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.1804, allocations: 110.5 kB / 0.6525 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1804, allocations: 0 / 0.6525 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1804, allocations: 0 / 0.6525 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1804, allocations: 0 / 0.6525 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.1806, allocations: 197.6 kB / 0.6527 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1806, allocations: 0 / 0.6527 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.1806, allocations: 0 / 0.6527 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.1806, allocations: 4 kB / 0.6527 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.1806, allocations: 3.938 kB / 0.6527 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1806, allocations: 4.031 kB / 0.6527 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1806, allocations: 0 / 0.6527 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.1808, allocations: 125 kB / 0.6528 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.1808, allocations: 89.02 kB / 0.6529 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.1808, allocations: 0 / 0.6529 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.311e-05/0.1809, allocations: 0 / 0.6529 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.1809, allocations: 3.984 kB / 0.6529 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.1809, allocations: 4 kB / 0.6529 GB, free: 132 kB / 494.1 MB Notification: Performance of sorting global known variables: time 7.84e-05/0.181, allocations: 124.9 kB / 0.653 GB, free: 8 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.654e-06/0.181, allocations: 0 / 0.653 GB, free: 8 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005726/0.1816, allocations: 207.5 kB / 0.6532 GB, free: 15.8 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 (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.00108/0.1827, allocations: 0.885 MB / 0.6541 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001524/0.1828, allocations: 101.6 kB / 0.6542 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1828, allocations: 4.062 kB / 0.6542 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.124e-05/0.1829, allocations: 73.62 kB / 0.6543 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.1831, allocations: 19.91 kB / 0.6543 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.1846, allocations: 1.59 MB / 0.6558 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.1848, allocations: 0.708 MB / 0.6565 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.254e-05/0.1849, allocations: 4.031 kB / 0.6565 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.1849, allocations: 24.3 kB / 0.6566 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1849, allocations: 0 / 0.6566 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.2114, allocations: 5.974 MB / 0.6624 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.441/8.652, allocations: 7.766 kB / 0.6624 GB, free: 6.48 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)