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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001418/0.001418, 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.001531/0.001531, allocations: 195.6 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.783/2.783, allocations: 469.4 MB / 0.742 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 64.03 kB / 0.9083 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2922, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002337/0.2946, allocations: 1.429 MB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003862/0.2984, allocations: 2.861 MB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.2985, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/0.2985, allocations: 3.984 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.12e-05/0.2986, allocations: 15.86 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003719/0.3023, allocations: 1.547 MB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.203e-05/0.3024, allocations: 51.67 kB / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.3025, allocations: 4 kB / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.673e-05/0.3025, allocations: 7.938 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.714e-05/0.3025, allocations: 23.86 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.3026, allocations: 4 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001997/0.3046, allocations: 1.42 MB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.3046, allocations: 0 / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.3046, allocations: 19.88 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.3062, allocations: 1.084 MB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3062, allocations: 0 / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3062, allocations: 4 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3062, allocations: 0 / 1.072 GB, free: 6.023 MB / 0.8262 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.0006174/0.3068, allocations: 0.5146 MB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3069, allocations: 8.031 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.3069, allocations: 106 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.245e-05/0.307, allocations: 88.12 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.3071, allocations: 247.6 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/0.3072, allocations: 154.9 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/0.3072, allocations: 150.9 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.389e-05/0.3073, allocations: 108.9 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.3073, allocations: 83.2 kB / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/0.3074, allocations: 154.6 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.982e-05/0.3074, allocations: 154.6 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.081e-05/0.3075, allocations: 154.6 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002476/0.3077, allocations: 461.9 kB / 1.074 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.666e-05/0.3078, allocations: 173.1 kB / 1.074 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.73e-05/0.3078, allocations: 80.14 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.3078, allocations: 83.27 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.3079, allocations: 109.8 kB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3079, allocations: 0 / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.962e-05/0.308, allocations: 33.61 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.308, allocations: 134.7 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.3081, allocations: 127.9 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.3082, allocations: 29.64 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.3082, allocations: 100 kB / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.3082, allocations: 0 / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.3082, allocations: 13.72 kB / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.831e-05/0.3083, allocations: 322.8 kB / 1.075 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.3084, allocations: 0 / 1.075 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.722e-05/0.3084, allocations: 4 kB / 1.075 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.659e-05/0.3084, allocations: 12.86 kB / 1.075 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3084, allocations: 4 kB / 1.075 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001156/0.3086, allocations: 57.59 kB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.3086, allocations: 4 kB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.3086, allocations: 4 kB / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3086, allocations: 0 / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.204e-06/0.3086, allocations: 3.938 kB / 1.076 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.3086, allocations: 0 / 1.076 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.327e-05/0.3087, allocations: 7.844 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.3087, allocations: 4 kB / 1.076 GB, free: 2.152 MB / 0.8262 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 8.039e-05/0.3088, allocations: 191.4 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.3088, allocations: 108.9 kB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.3089, allocations: 104.9 kB / 1.076 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.176e-05/0.3089, allocations: 188.2 kB / 1.076 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.812e-05/0.309, allocations: 176.3 kB / 1.076 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.845e-05/0.309, allocations: 184.2 kB / 1.076 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.3092, allocations: 421.1 kB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.673e-05/0.3093, allocations: 101 kB / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-05/0.3093, allocations: 108.9 kB / 1.077 GB, free: 500 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-05/0.3093, allocations: 176.3 kB / 1.077 GB, free: 316 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.837e-05/0.3094, allocations: 188.2 kB / 1.077 GB, free: 120 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.917e-05/0.3095, allocations: 176.3 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.253e-05/0.3095, allocations: 188.2 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.3096, allocations: 319.7 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.3097, allocations: 185.9 kB / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.659e-05/0.3098, allocations: 176.3 kB / 1.078 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.225e-05/0.3098, allocations: 112.9 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.3099, allocations: 180.3 kB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.3099, allocations: 105 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.181e-05/0.31, allocations: 97.14 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.31, allocations: 0 / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007209/0.3107, allocations: 279.8 kB / 1.079 GB, free: 14.25 MB / 0.8419 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.001302/0.312, allocations: 1.166 MB / 1.08 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.972e-05/0.3121, allocations: 37.7 kB / 1.08 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3122, allocations: 0 / 1.08 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.3122, allocations: 0 / 1.08 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.3126, allocations: 471.7 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.3139, allocations: 1.566 MB / 1.082 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.3141, allocations: 0.6846 MB / 1.083 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.455e-05/0.3142, allocations: 3.938 kB / 1.083 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.3142, allocations: 19.44 kB / 1.083 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3142, allocations: 0 / 1.083 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/0.3395, allocations: 6.877 MB / 1.09 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.316, allocations: 11.47 kB / 1.09 GB, free: 3.469 MB / 0.8419 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)