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.001635/0.001634, allocations: 102.5 kB / 16.27 MB, free: 5.93 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.001654/0.001653, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7911/0.7911, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001617, allocations: 67.83 kB / 0.4913 GB, free: 7.309 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3908, allocations: 77.91 MB / 0.5673 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002357/0.3932, allocations: 1.366 MB / 0.5687 GB, free: 31.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002377/0.3956, allocations: 1.784 MB / 0.5704 GB, free: 30.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.515e-05/0.3957, allocations: 1.594 kB / 0.5704 GB, free: 30.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.011e-05/0.3958, allocations: 17.84 kB / 0.5704 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.3959, allocations: 19.11 kB / 0.5705 GB, free: 30.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.3984, allocations: 1.138 MB / 0.5716 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.199e-05/0.3985, allocations: 46.73 kB / 0.5716 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.3985, allocations: 6 kB / 0.5716 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.754e-05/0.3986, allocations: 26.19 kB / 0.5716 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.736e-05/0.3987, allocations: 25.58 kB / 0.5717 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.3987, allocations: 1.094 kB / 0.5717 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.3999, allocations: 0.8571 MB / 0.5725 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.275e-05/0.3999, allocations: 21.19 kB / 0.5725 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.4, allocations: 29.97 kB / 0.5726 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.401, allocations: 0.8007 MB / 0.5733 GB, free: 29.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.401, allocations: 1.031 kB / 0.5733 GB, free: 29.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.401, allocations: 0 / 0.5733 GB, free: 29.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.401, allocations: 0 / 0.5733 GB, free: 29.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004767/0.4015, allocations: 478.4 kB / 0.5738 GB, free: 29.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.4016, allocations: 10.31 kB / 0.5738 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.926e-05/0.4016, allocations: 34.03 kB / 0.5738 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.4016, allocations: 9.734 kB / 0.5738 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.4018, allocations: 192.5 kB / 0.574 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.099e-06/0.4018, allocations: 5.156 kB / 0.574 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.4018, allocations: 1.125 kB / 0.574 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.617e-05/0.4019, allocations: 49.81 kB / 0.5741 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.4019, allocations: 0 / 0.5741 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.4019, allocations: 2.688 kB / 0.5741 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4019, allocations: 3.938 kB / 0.5741 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.977e-05/0.402, allocations: 28.91 kB / 0.5741 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.4021, allocations: 190.1 kB / 0.5743 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.747e-05/0.4022, allocations: 46.97 kB / 0.5743 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.4022, allocations: 36.12 kB / 0.5744 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.4023, allocations: 2.734 kB / 0.5744 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/0.4023, allocations: 33.16 kB / 0.5744 GB, free: 28.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.4023, allocations: 0.625 kB / 0.5744 GB, free: 28.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.000207/0.4025, allocations: 122.9 kB / 0.5745 GB, free: 28.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.876e-05/0.4025, allocations: 52.44 kB / 0.5746 GB, free: 28.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.4027, allocations: 153.4 kB / 0.5747 GB, free: 28.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.4027, allocations: 27.16 kB / 0.5747 GB, free: 28.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.433e-05/0.4027, allocations: 98.64 kB / 0.5748 GB, free: 28.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.4028, allocations: 21.88 kB / 0.5749 GB, free: 28.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.4028, allocations: 20.55 kB / 0.5749 GB, free: 28.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.65e-05/0.4029, allocations: 334.5 kB / 0.5752 GB, free: 27.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.284e-05/0.4029, allocations: 25.61 kB / 0.5752 GB, free: 27.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.732e-05/0.4029, allocations: 20.98 kB / 0.5752 GB, free: 27.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.322e-05/0.403, allocations: 69.88 kB / 0.5753 GB, free: 27.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.403, allocations: 1.188 kB / 0.5753 GB, free: 27.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001052/0.4031, allocations: 96 kB / 0.5754 GB, free: 27.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.4031, allocations: 5.406 kB / 0.5754 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.4032, allocations: 3.531 kB / 0.5754 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.4032, allocations: 0.6562 kB / 0.5754 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.011e-06/0.4032, allocations: 1 kB / 0.5754 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.4032, allocations: 0 / 0.5754 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.827e-05/0.4032, allocations: 6.047 kB / 0.5754 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.4032, allocations: 1.562 kB / 0.5754 GB, free: 27.66 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 6.642e-05/0.4033, allocations: 126.5 kB / 0.5755 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.4033, allocations: 12.45 kB / 0.5756 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.4035, allocations: 110.4 kB / 0.5757 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.4035, allocations: 0 / 0.5757 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4035, allocations: 2.562 kB / 0.5757 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4035, allocations: 4.688 kB / 0.5757 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.4036, allocations: 190.7 kB / 0.5758 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.4037, allocations: 2.188 kB / 0.5759 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.4037, allocations: 0.5 kB / 0.5759 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4037, allocations: 0.5625 kB / 0.5759 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.4037, allocations: 2.094 kB / 0.5759 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4037, allocations: 0.7031 kB / 0.5759 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4037, allocations: 2.219 kB / 0.5759 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.4038, allocations: 127.2 kB / 0.576 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.4039, allocations: 85.98 kB / 0.5761 GB, free: 27.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.4039, allocations: 3.938 kB / 0.5761 GB, free: 27.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.329e-05/0.4039, allocations: 6.172 kB / 0.5761 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.4039, allocations: 0.7812 kB / 0.5761 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.4039, allocations: 1.891 kB / 0.5761 GB, free: 27.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.696e-05/0.404, allocations: 124.1 kB / 0.5762 GB, free: 27.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.404, allocations: 0 / 0.5762 GB, free: 27.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006734/0.4047, allocations: 212.2 kB / 0.5764 GB, free: 26.96 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 (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.0008765/0.4056, allocations: 0.8766 MB / 0.5772 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.4057, allocations: 101.7 kB / 0.5773 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4058, allocations: 2.188 kB / 0.5773 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.389e-05/0.4058, allocations: 65.75 kB / 0.5774 GB, free: 26.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.406, allocations: 13.38 kB / 0.5774 GB, free: 26.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.4073, allocations: 1.594 MB / 0.579 GB, free: 24.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.4074, allocations: 0.7038 MB / 0.5797 GB, free: 24.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.137e-05/0.4074, allocations: 2.656 kB / 0.5797 GB, free: 24.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.4075, allocations: 22.88 kB / 0.5797 GB, free: 24.25 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4075, allocations: 0.5625 kB / 0.5797 GB, free: 24.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.4315, allocations: 5.935 MB / 0.5855 GB, free: 21.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.435/7.867, allocations: 20.98 kB / 0.5855 GB, free: 21.73 MB / 446.1 MB (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)