Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005947/0.005947, allocations: 96.41 kB / 15.73 MB, free: 6.055 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.00127/0.00127, allocations: 201.6 kB / 16.68 MB, free: 5.977 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.492/2.492, allocations: 390.3 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.77 kB / 0.9505 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3128, allocations: 140.4 MB / 1.088 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002677/0.3156, allocations: 1.434 MB / 1.089 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004239/0.3198, allocations: 2.846 MB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.535e-05/0.3199, allocations: 0 / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.32, allocations: 3.938 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.546e-05/0.32, allocations: 11.88 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004148/0.3242, allocations: 1.562 MB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.3243, allocations: 47.73 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.3244, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.251e-05/0.3244, allocations: 11.94 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.211e-05/0.3244, allocations: 19.86 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.3244, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.3268, allocations: 1.494 MB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.3268, allocations: 0 / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.258e-05/0.3268, allocations: 19.88 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.3285, allocations: 1.074 MB / 1.096 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3285, allocations: 4 kB / 1.096 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3285, allocations: 0 / 1.096 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.3285, allocations: 0 / 1.096 GB, free: 9.422 MB / 0.8575 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.0007683/0.3293, allocations: 0.5363 MB / 1.096 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.3293, allocations: 8.031 kB / 1.096 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.3294, allocations: 106 kB / 1.097 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.717e-05/0.3295, allocations: 88.11 kB / 1.097 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.3296, allocations: 249 kB / 1.097 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.382e-05/0.3297, allocations: 154.9 kB / 1.097 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.448e-05/0.3298, allocations: 150.9 kB / 1.097 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.13e-05/0.3298, allocations: 108.9 kB / 1.097 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.3298, allocations: 75.28 kB / 1.097 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/0.3299, allocations: 150.6 kB / 1.097 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.263e-05/0.3299, allocations: 158.6 kB / 1.098 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.548e-05/0.33, allocations: 162.4 kB / 1.098 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002563/0.3303, allocations: 465.9 kB / 1.098 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.45e-05/0.3303, allocations: 165.1 kB / 1.098 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.3304, allocations: 84.14 kB / 1.098 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.3304, allocations: 79.22 kB / 1.099 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.3304, allocations: 105.8 kB / 1.099 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3304, allocations: 0 / 1.099 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.539e-05/0.3305, allocations: 33.64 kB / 1.099 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.3306, allocations: 126.7 kB / 1.099 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.3307, allocations: 132 kB / 1.099 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.3307, allocations: 29.7 kB / 1.099 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/0.3308, allocations: 100.1 kB / 1.099 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/0.3308, allocations: 0 / 1.099 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.3308, allocations: 13.72 kB / 1.099 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.331, allocations: 322.8 kB / 1.099 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.331, allocations: 0 / 1.099 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.871e-05/0.331, allocations: 4 kB / 1.099 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.178e-05/0.3311, allocations: 16.8 kB / 1.099 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3311, allocations: 4.031 kB / 1.099 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001214/0.3312, allocations: 49.62 kB / 1.099 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3312, allocations: 4 kB / 1.099 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.3312, allocations: 4 kB / 1.099 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3313, allocations: 0 / 1.099 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.875e-06/0.3313, allocations: 4 kB / 1.099 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3313, allocations: 0 / 1.099 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.331e-05/0.3313, allocations: 3.953 kB / 1.099 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.3313, allocations: 4 kB / 1.099 GB, free: 5.547 MB / 0.8575 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.0001081/0.3314, allocations: 189.2 kB / 1.1 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/0.3315, allocations: 116.9 kB / 1.1 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.548e-05/0.3316, allocations: 108.8 kB / 1.1 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.867e-05/0.3316, allocations: 180.3 kB / 1.1 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.671e-05/0.3317, allocations: 188.1 kB / 1.1 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.091e-05/0.3318, allocations: 176.3 kB / 1.1 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.332, allocations: 425.1 kB / 1.101 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.431e-05/0.3321, allocations: 101 kB / 1.101 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/0.3321, allocations: 101 kB / 1.101 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-05/0.3322, allocations: 192.1 kB / 1.101 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.109e-05/0.3323, allocations: 180.3 kB / 1.101 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.677e-05/0.3324, allocations: 188.2 kB / 1.101 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.487e-05/0.3324, allocations: 176.3 kB / 1.102 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.3326, allocations: 311.7 kB / 1.102 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.3328, allocations: 190 kB / 1.102 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.847e-05/0.3329, allocations: 180.2 kB / 1.102 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.864e-05/0.333, allocations: 113 kB / 1.102 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/0.3331, allocations: 176.3 kB / 1.103 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-05/0.3331, allocations: 104.9 kB / 1.103 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.484e-05/0.3332, allocations: 105.6 kB / 1.103 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3332, allocations: 0 / 1.103 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001008/0.3342, allocations: 283 kB / 1.103 GB, free: 1.617 MB / 0.8575 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.001698/0.3359, allocations: 1.167 MB / 1.104 GB, free: 436 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.3361, allocations: 41.64 kB / 1.104 GB, free: 388 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3361, allocations: 0 / 1.104 GB, free: 388 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.699e-06/0.3361, allocations: 8.062 kB / 1.104 GB, free: 380 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.3366, allocations: 460.3 kB / 1.105 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.3381, allocations: 1.575 MB / 1.106 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.3384, allocations: 0.6846 MB / 1.107 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.805e-05/0.3384, allocations: 7.938 kB / 1.107 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.3385, allocations: 15.44 kB / 1.107 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of SimCode: time 3.61e-07/0.3385, allocations: 0 / 1.107 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/0.3672, allocations: 6.871 MB / 1.114 GB, free: 6.867 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/8.55, allocations: 9.281 kB / 1.114 GB, free: 6.863 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)