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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.00734/0.00734, allocations: 102 kB / 15.73 MB, free: 6.039 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.001681/0.001681, allocations: 194.2 kB / 16.67 MB, free: 5.961 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.488/2.488, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 64.31 kB / 1.054 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7751/0.7764, allocations: 157.4 MB / 1.207 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00278/0.7792, allocations: 1.449 MB / 1.209 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004306/0.7836, allocations: 2.891 MB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.028e-05/0.7836, allocations: 0 / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.689e-05/0.7837, allocations: 7.938 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.862e-05/0.7837, allocations: 15.86 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003968/0.7877, allocations: 1.585 MB / 1.213 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.876e-05/0.7878, allocations: 39.73 kB / 1.213 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.812e-05/0.7879, allocations: 4 kB / 1.213 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.683e-05/0.7879, allocations: 11.94 kB / 1.213 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.791e-05/0.7879, allocations: 19.86 kB / 1.213 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.7879, allocations: 0 / 1.213 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002192/0.7901, allocations: 1.54 MB / 1.215 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.7902, allocations: 4 kB / 1.215 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.7902, allocations: 15.88 kB / 1.215 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001616/0.7918, allocations: 1.123 MB / 1.216 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.7918, allocations: 0 / 1.216 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7918, allocations: 0 / 1.216 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.7918, allocations: 0 / 1.216 GB, free: 4.93 MB / 0.9356 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.0006576/0.7925, allocations: 0.5146 MB / 1.216 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.7926, allocations: 16.02 kB / 1.216 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.853e-05/0.7926, allocations: 106 kB / 1.216 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/0.7927, allocations: 84.22 kB / 1.217 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.7928, allocations: 251.4 kB / 1.217 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.635e-05/0.7929, allocations: 150.9 kB / 1.217 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.805e-05/0.7929, allocations: 150.9 kB / 1.217 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.193e-05/0.793, allocations: 112.9 kB / 1.217 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.7931, allocations: 83.22 kB / 1.217 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/0.7931, allocations: 150.6 kB / 1.217 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.986e-05/0.7931, allocations: 150.6 kB / 1.218 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.663e-05/0.7932, allocations: 150.6 kB / 1.218 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002726/0.7935, allocations: 469.9 kB / 1.218 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.181e-05/0.7936, allocations: 169.1 kB / 1.218 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.989e-05/0.7936, allocations: 84.08 kB / 1.218 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.7936, allocations: 79.22 kB / 1.218 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.7937, allocations: 113.8 kB / 1.219 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.7937, allocations: 0 / 1.219 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.036e-05/0.7937, allocations: 25.7 kB / 1.219 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.7938, allocations: 130.7 kB / 1.219 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.7939, allocations: 135.5 kB / 1.219 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.7939, allocations: 25.7 kB / 1.219 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.794, allocations: 100.1 kB / 1.219 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-06/0.794, allocations: 4 kB / 1.219 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.794, allocations: 17.72 kB / 1.219 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.7941, allocations: 318.8 kB / 1.219 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.395e-05/0.7942, allocations: 7.938 kB / 1.219 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.573e-05/0.7942, allocations: 4 kB / 1.219 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.255e-05/0.7942, allocations: 16.86 kB / 1.219 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.7943, allocations: 0 / 1.219 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001222/0.7944, allocations: 57.59 kB / 1.219 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.7944, allocations: 11.94 kB / 1.219 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.7944, allocations: 4 kB / 1.219 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.7944, allocations: 4.062 kB / 1.219 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.7945, allocations: 0 / 1.219 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.7945, allocations: 0 / 1.219 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.7945, allocations: 3.938 kB / 1.219 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.7945, allocations: 0 / 1.219 GB, free: 1.051 MB / 0.9356 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.31e-05/0.7946, allocations: 193.1 kB / 1.22 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.7946, allocations: 112.8 kB / 1.22 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.474e-05/0.7947, allocations: 112.9 kB / 1.22 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.716e-05/0.7947, allocations: 184.2 kB / 1.22 GB, free: 436 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.145e-05/0.7948, allocations: 184.3 kB / 1.22 GB, free: 244 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-05/0.7949, allocations: 180.2 kB / 1.22 GB, free: 56 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.7951, allocations: 417.1 kB / 1.221 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.727e-05/0.7951, allocations: 101 kB / 1.221 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-05/0.7952, allocations: 108.9 kB / 1.221 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.028e-05/0.7952, allocations: 184.2 kB / 1.221 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-05/0.7953, allocations: 184.2 kB / 1.221 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.321e-05/0.7953, allocations: 184.2 kB / 1.221 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.118e-05/0.7954, allocations: 176.3 kB / 1.222 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.7955, allocations: 315.6 kB / 1.222 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.358e-05/0.7956, allocations: 190 kB / 1.222 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.841e-05/0.7957, allocations: 176.3 kB / 1.222 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.02e-05/0.7957, allocations: 101 kB / 1.222 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.7958, allocations: 188.2 kB / 1.223 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.7958, allocations: 105 kB / 1.223 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.868e-05/0.7959, allocations: 105.3 kB / 1.223 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7959, allocations: 0 / 1.223 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000715/0.7966, allocations: 279.8 kB / 1.223 GB, free: 13.12 MB / 0.9512 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.001399/0.798, allocations: 1.182 MB / 1.224 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.298e-05/0.7981, allocations: 45.69 kB / 1.224 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7981, allocations: 0 / 1.224 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/0.7982, allocations: 0 / 1.224 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.7985, allocations: 476.5 kB / 1.225 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.7999, allocations: 1.589 MB / 1.226 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.8001, allocations: 0.6846 MB / 1.227 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.458e-05/0.8001, allocations: 0 / 1.227 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/0.8001, allocations: 11.44 kB / 1.227 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.8002, allocations: 4.031 kB / 1.227 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.8234, allocations: 7.112 MB / 1.234 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.307/8.131, allocations: 16.19 kB / 1.234 GB, free: 2.105 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)