Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_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_latest_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.01273/0.01273, allocations: 96.64 kB / 15.73 MB, free: 6.484 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.002004/0.002004, allocations: 192 kB / 16.67 MB, free: 6.391 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.976/2.976, allocations: 469.4 MB / 0.7421 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001333, allocations: 71.88 kB / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3085, allocations: 159.1 MB / 1.22 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002722/0.3113, allocations: 1.428 MB / 1.221 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004256/0.3156, allocations: 2.864 MB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.266e-05/0.3157, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.3157, allocations: 7.938 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.067e-05/0.3158, allocations: 19.84 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004258/0.3201, allocations: 1.558 MB / 1.226 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.891e-05/0.3202, allocations: 31.75 kB / 1.226 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.3202, allocations: 11.98 kB / 1.226 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.97e-05/0.3203, allocations: 11.92 kB / 1.226 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.687e-05/0.3203, allocations: 15.88 kB / 1.226 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.3203, allocations: 4 kB / 1.226 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.3228, allocations: 1.49 MB / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.3228, allocations: 4 kB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.3229, allocations: 19.86 kB / 1.227 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.3248, allocations: 1.087 MB / 1.228 GB, free: 6 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3248, allocations: 3.938 kB / 1.228 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3248, allocations: 0 / 1.228 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.3249, allocations: 0 / 1.228 GB, free: 5.996 MB / 0.9825 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.000751/0.3256, allocations: 0.5208 MB / 1.229 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.3257, allocations: 12.03 kB / 1.229 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.524e-05/0.3257, allocations: 114 kB / 1.229 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.418e-05/0.3258, allocations: 84.11 kB / 1.229 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.326, allocations: 251.5 kB / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.619e-05/0.326, allocations: 154.9 kB / 1.229 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.87e-05/0.3261, allocations: 150.9 kB / 1.229 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.762e-05/0.3262, allocations: 104.9 kB / 1.23 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.3262, allocations: 79.28 kB / 1.23 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.963e-05/0.3263, allocations: 150.6 kB / 1.23 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.1e-05/0.3263, allocations: 150.6 kB / 1.23 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.311e-05/0.3264, allocations: 158.5 kB / 1.23 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.3267, allocations: 461.9 kB / 1.23 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.003e-05/0.3268, allocations: 177.1 kB / 1.231 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.178e-05/0.3268, allocations: 80.14 kB / 1.231 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.3268, allocations: 83.16 kB / 1.231 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.3269, allocations: 109.8 kB / 1.231 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3269, allocations: 0 / 1.231 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.433e-05/0.327, allocations: 41.59 kB / 1.231 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.327, allocations: 126.7 kB / 1.231 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.3272, allocations: 131.7 kB / 1.231 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.3272, allocations: 25.7 kB / 1.231 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.001e-05/0.3273, allocations: 88.14 kB / 1.231 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.3273, allocations: 0 / 1.231 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.3273, allocations: 21.7 kB / 1.231 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.994e-05/0.3274, allocations: 310.8 kB / 1.232 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.669e-05/0.3274, allocations: 12 kB / 1.232 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.696e-05/0.3275, allocations: 4 kB / 1.232 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.395e-05/0.3275, allocations: 16.78 kB / 1.232 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3275, allocations: 4 kB / 1.232 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001349/0.3277, allocations: 53.59 kB / 1.232 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3277, allocations: 4 kB / 1.232 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.3277, allocations: 4 kB / 1.232 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3277, allocations: 0 / 1.232 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.3277, allocations: 0 / 1.232 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3278, allocations: 4.047 kB / 1.232 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.478e-05/0.3278, allocations: 4 kB / 1.232 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.3278, allocations: 4 kB / 1.232 GB, free: 2.121 MB / 0.9825 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 9.577e-05/0.3279, allocations: 185.1 kB / 1.232 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.24e-05/0.328, allocations: 120.8 kB / 1.232 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.8e-05/0.328, allocations: 104.9 kB / 1.232 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-05/0.3281, allocations: 180.2 kB / 1.232 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.534e-05/0.3282, allocations: 188.2 kB / 1.232 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.218e-05/0.3282, allocations: 180.3 kB / 1.233 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.3285, allocations: 421.1 kB / 1.233 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.893e-05/0.3285, allocations: 101 kB / 1.233 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.043e-05/0.3285, allocations: 109 kB / 1.233 GB, free: 460 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.342e-05/0.3286, allocations: 184.2 kB / 1.233 GB, free: 268 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-05/0.3286, allocations: 184.3 kB / 1.234 GB, free: 76 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.499e-05/0.3287, allocations: 184.2 kB / 1.234 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-05/0.3288, allocations: 176.3 kB / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.3289, allocations: 323.6 kB / 1.234 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.868e-05/0.329, allocations: 186 kB / 1.234 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.371e-05/0.3291, allocations: 180.2 kB / 1.235 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.3291, allocations: 101 kB / 1.235 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.3292, allocations: 184.2 kB / 1.235 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.3292, allocations: 104.9 kB / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.085e-05/0.3293, allocations: 105 kB / 1.235 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3293, allocations: 0 / 1.235 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000792/0.3301, allocations: 283 kB / 1.235 GB, free: 14.2 MB / 0.9981 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.001532/0.3317, allocations: 1.163 MB / 1.236 GB, free: 13 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.3318, allocations: 45.62 kB / 1.237 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.3318, allocations: 4 kB / 1.237 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.3318, allocations: 0 / 1.237 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.3322, allocations: 459.7 kB / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.3337, allocations: 1.594 MB / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.3339, allocations: 0.6806 MB / 1.239 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.633e-05/0.3339, allocations: 4 kB / 1.239 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.3339, allocations: 11.44 kB / 1.239 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.3339, allocations: 0 / 1.239 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.3603, allocations: 6.897 MB / 1.246 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.766/8.126, allocations: 8.438 kB / 1.246 GB, free: 3.406 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)