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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.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.005551/0.005551, allocations: 100.5 kB / 15.73 MB, free: 6.008 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.001494/0.001494, allocations: 197.6 kB / 16.67 MB, free: 5.926 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.585/2.585, allocations: 482.6 MB / 0.755 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 67.89 kB / 1.083 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6616/0.6634, allocations: 162.3 MB / 1.242 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002344/0.6658, allocations: 1.432 MB / 1.243 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004141/0.67, allocations: 2.896 MB / 1.246 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.6701, allocations: 4 kB / 1.246 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.479e-05/0.6701, allocations: 7.922 kB / 1.246 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.933e-05/0.6702, allocations: 15.86 kB / 1.246 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003609/0.6738, allocations: 1.588 MB / 1.248 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.982e-05/0.6739, allocations: 39.73 kB / 1.248 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.718e-05/0.6739, allocations: 11.97 kB / 1.248 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.196e-05/0.674, allocations: 19.92 kB / 1.248 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.856e-05/0.674, allocations: 15.88 kB / 1.248 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.407e-06/0.674, allocations: 4 kB / 1.248 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.6763, allocations: 1.533 MB / 1.249 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.6763, allocations: 8 kB / 1.249 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.6764, allocations: 19.86 kB / 1.249 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.6779, allocations: 1.12 MB / 1.25 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6779, allocations: 0 / 1.25 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6779, allocations: 0 / 1.25 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.6779, allocations: 0 / 1.25 GB, free: 8.41 MB / 0.9669 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.0006103/0.6786, allocations: 0.5363 MB / 1.251 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.6786, allocations: 8.031 kB / 1.251 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.758e-05/0.6787, allocations: 110 kB / 1.251 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.978e-05/0.6787, allocations: 84.17 kB / 1.251 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.6789, allocations: 247.6 kB / 1.251 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.497e-05/0.679, allocations: 154.9 kB / 1.252 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.829e-05/0.6791, allocations: 150.9 kB / 1.252 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.697e-05/0.6791, allocations: 112.9 kB / 1.252 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/0.6792, allocations: 75.28 kB / 1.252 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.655e-05/0.6792, allocations: 154.6 kB / 1.252 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.485e-05/0.6793, allocations: 150.6 kB / 1.252 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.624e-05/0.6794, allocations: 150.6 kB / 1.252 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.6797, allocations: 469.9 kB / 1.253 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.648e-05/0.6798, allocations: 169.1 kB / 1.253 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.718e-05/0.6798, allocations: 80.14 kB / 1.253 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.6798, allocations: 83.22 kB / 1.253 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.6799, allocations: 113.8 kB / 1.253 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.6799, allocations: 0 / 1.253 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.058e-05/0.68, allocations: 29.66 kB / 1.253 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.6801, allocations: 134.6 kB / 1.253 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.6802, allocations: 135.2 kB / 1.253 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.6802, allocations: 25.7 kB / 1.253 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.6803, allocations: 92.16 kB / 1.254 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-06/0.6803, allocations: 0 / 1.254 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.6803, allocations: 29.64 kB / 1.254 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.6804, allocations: 310.8 kB / 1.254 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.325e-05/0.6805, allocations: 8 kB / 1.254 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.593e-05/0.6805, allocations: 4 kB / 1.254 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.16e-05/0.6805, allocations: 24.91 kB / 1.254 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.6805, allocations: 0 / 1.254 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000118/0.6807, allocations: 49.59 kB / 1.254 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.6807, allocations: 10.34 kB / 1.254 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.6807, allocations: 0 / 1.254 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.6807, allocations: 8.062 kB / 1.254 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-07/0.6807, allocations: 0 / 1.254 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.6808, allocations: 0 / 1.254 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.295e-05/0.6808, allocations: 7.891 kB / 1.254 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.6808, allocations: 0 / 1.254 GB, free: 4.516 MB / 0.9669 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.0001023/0.6809, allocations: 193.6 kB / 1.254 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.731e-05/0.681, allocations: 112.9 kB / 1.254 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.357e-05/0.681, allocations: 112.9 kB / 1.254 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.715e-05/0.6811, allocations: 180.2 kB / 1.255 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-05/0.6812, allocations: 184.2 kB / 1.255 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-05/0.6812, allocations: 180.2 kB / 1.255 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.6815, allocations: 413.2 kB / 1.255 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.83e-05/0.6815, allocations: 105 kB / 1.255 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.6816, allocations: 108.9 kB / 1.256 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.834e-05/0.6817, allocations: 180.2 kB / 1.256 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.002e-05/0.6817, allocations: 180.2 kB / 1.256 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.766e-05/0.6818, allocations: 184.3 kB / 1.256 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-05/0.6819, allocations: 176.3 kB / 1.256 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.682, allocations: 315.6 kB / 1.257 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.929e-05/0.6821, allocations: 194 kB / 1.257 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.686e-05/0.6822, allocations: 176.3 kB / 1.257 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.6823, allocations: 101 kB / 1.257 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.314e-05/0.6824, allocations: 196.2 kB / 1.257 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.6824, allocations: 105 kB / 1.257 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.266e-05/0.6825, allocations: 99.27 kB / 1.257 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.6825, allocations: 0 / 1.257 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007202/0.6832, allocations: 287 kB / 1.258 GB, free: 0.5898 MB / 0.9669 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.001344/0.6846, allocations: 1.201 MB / 1.259 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.961e-05/0.6847, allocations: 37.7 kB / 1.259 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.6847, allocations: 4 kB / 1.259 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.6847, allocations: 0 / 1.259 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.6851, allocations: 475 kB / 1.259 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.6865, allocations: 1.595 MB / 1.261 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.6867, allocations: 0.6807 MB / 1.262 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.236e-05/0.6868, allocations: 0 / 1.262 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.6868, allocations: 23.45 kB / 1.262 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.6868, allocations: 0 / 1.262 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.274/1.961, allocations: 7.07 MB / 1.268 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/14, allocations: 15.19 kB / 1.268 GB, free: 5.57 MB / 0.9825 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=400 --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)