Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.001895/0.001895, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002729/0.002729, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.493/1.493, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.778/2.778, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001736, allocations: 71.88 kB / 0.8694 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7462/0.7479, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002979/0.751, allocations: 1.428 MB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004516/0.7555, allocations: 2.86 MB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.7556, allocations: 4 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.7557, allocations: 3.938 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.104e-05/0.7557, allocations: 15.84 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004052/0.7598, allocations: 1.561 MB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.159e-05/0.7599, allocations: 39.73 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.7599, allocations: 11.97 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.716e-05/0.76, allocations: 11.94 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.33e-05/0.76, allocations: 23.86 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.76, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002159/0.7622, allocations: 1.423 MB / 1.025 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.7622, allocations: 3.984 kB / 1.025 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.7623, allocations: 23.86 kB / 1.025 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.7637, allocations: 1.072 MB / 1.026 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7637, allocations: 4 kB / 1.026 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7637, allocations: 0 / 1.026 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.7637, allocations: 0 / 1.026 GB, free: 9.953 MB / 0.7794 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.0006404/0.7644, allocations: 0.5185 MB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.7644, allocations: 15.97 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.461e-05/0.7645, allocations: 110 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.132e-05/0.7646, allocations: 80.12 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.7648, allocations: 249.5 kB / 1.027 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-05/0.7649, allocations: 150.9 kB / 1.027 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.047e-05/0.7649, allocations: 154.9 kB / 1.027 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.704e-05/0.765, allocations: 108.9 kB / 1.027 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/0.7651, allocations: 75.28 kB / 1.027 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.532e-05/0.7651, allocations: 154.6 kB / 1.027 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.93e-05/0.7652, allocations: 150.6 kB / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.752e-05/0.7653, allocations: 158.5 kB / 1.028 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.7657, allocations: 465.9 kB / 1.028 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.7658, allocations: 169.1 kB / 1.028 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/0.7659, allocations: 84.08 kB / 1.028 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.896e-05/0.7659, allocations: 83.22 kB / 1.028 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.016e-05/0.766, allocations: 109.8 kB / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.766, allocations: 4 kB / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.606e-05/0.7661, allocations: 33.61 kB / 1.029 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.376e-05/0.7662, allocations: 130.7 kB / 1.029 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.7664, allocations: 126.9 kB / 1.029 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.7664, allocations: 25.7 kB / 1.029 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.588e-05/0.7665, allocations: 96.06 kB / 1.029 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-06/0.7665, allocations: 4 kB / 1.029 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.7666, allocations: 13.72 kB / 1.029 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.7667, allocations: 318.8 kB / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.117e-05/0.7668, allocations: 4 kB / 1.029 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.619e-05/0.7668, allocations: 11.98 kB / 1.029 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.863e-05/0.7669, allocations: 16.8 kB / 1.029 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7669, allocations: 0 / 1.029 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001683/0.767, allocations: 49.55 kB / 1.029 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.7671, allocations: 8 kB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/0.7671, allocations: 3.984 kB / 1.029 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.7671, allocations: 4.047 kB / 1.029 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.237e-06/0.7671, allocations: 8.047 kB / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.7671, allocations: 0 / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.165e-05/0.7672, allocations: 0 / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.7672, allocations: 0 / 1.029 GB, free: 6.082 MB / 0.7794 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 0.0001287/0.7673, allocations: 185.1 kB / 1.029 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.73e-05/0.7674, allocations: 112.8 kB / 1.03 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.616e-05/0.7675, allocations: 112.8 kB / 1.03 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.892e-05/0.7676, allocations: 192.3 kB / 1.03 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.391e-05/0.7677, allocations: 176.3 kB / 1.03 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.451e-05/0.7677, allocations: 184.3 kB / 1.03 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.7681, allocations: 413.1 kB / 1.031 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-05/0.7681, allocations: 109 kB / 1.031 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.872e-05/0.7682, allocations: 108.9 kB / 1.031 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.158e-05/0.7683, allocations: 180.3 kB / 1.031 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-05/0.7684, allocations: 176.3 kB / 1.031 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.563e-05/0.7685, allocations: 184.2 kB / 1.031 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.391e-05/0.7685, allocations: 184.2 kB / 1.031 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.7687, allocations: 315.6 kB / 1.032 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.7688, allocations: 182.1 kB / 1.032 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.769, allocations: 184.2 kB / 1.032 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.662e-05/0.7691, allocations: 101 kB / 1.032 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.7692, allocations: 180.2 kB / 1.032 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-05/0.7692, allocations: 113 kB / 1.033 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.093e-05/0.7693, allocations: 96.2 kB / 1.033 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of sort global known variables: time 8e-08/0.7693, allocations: 0 / 1.033 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007985/0.7701, allocations: 279.8 kB / 1.033 GB, free: 2.172 MB / 0.7794 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.001682/0.7718, allocations: 1.172 MB / 1.034 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.772, allocations: 33.7 kB / 1.034 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.772, allocations: 4 kB / 1.034 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-06/0.772, allocations: 0 / 1.034 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.7725, allocations: 466.3 kB / 1.035 GB, free: 480 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.7741, allocations: 1.56 MB / 1.036 GB, free: 14.83 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.7745, allocations: 0.6807 MB / 1.037 GB, free: 14.12 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.522e-05/0.7745, allocations: 3.984 kB / 1.037 GB, free: 14.12 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.7746, allocations: 24.95 kB / 1.037 GB, free: 14.09 MB / 0.795 GB Notification: Performance of SimCode: time 2.9e-07/0.7746, allocations: 0 / 1.037 GB, free: 14.09 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.8067, allocations: 6.872 MB / 1.043 GB, free: 7.418 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/8.977, allocations: 14.23 kB / 1.043 GB, free: 7.402 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)