Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007097/0.007097, allocations: 98.52 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.001861/0.001861, allocations: 196.5 kB / 16.68 MB, free: 5.969 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.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.355/2.355, allocations: 437.1 MB / 0.7105 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 63.84 kB / 1.018 GB, free: 9.773 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6563/0.6581, allocations: 151.6 MB / 1.166 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002288/0.6605, allocations: 1.431 MB / 1.168 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003976/0.6645, allocations: 2.86 MB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.6645, allocations: 0 / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.6645, allocations: 3.938 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.635e-05/0.6646, allocations: 15.84 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003272/0.6679, allocations: 1.559 MB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 6.977e-05/0.6679, allocations: 35.75 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.668, allocations: 15.97 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 2.224e-05/0.668, allocations: 15.88 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 2.694e-05/0.668, allocations: 15.88 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.325e-06/0.6681, allocations: 0 / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/0.67, allocations: 1.486 MB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.337e-06/0.6701, allocations: 0 / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.6701, allocations: 23.86 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.6714, allocations: 1.087 MB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.6714, allocations: 0 / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6714, allocations: 0 / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.6714, allocations: 4 kB / 1.175 GB, free: 11.18 MB / 0.9044 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.0005607/0.672, allocations: 0.5324 MB / 1.175 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.672, allocations: 8.625 kB / 1.175 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.535e-05/0.6721, allocations: 106 kB / 1.175 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.6722, allocations: 84.17 kB / 1.175 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.6723, allocations: 251.5 kB / 1.176 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.737e-05/0.6724, allocations: 154.9 kB / 1.176 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-05/0.6725, allocations: 150.9 kB / 1.176 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.192e-05/0.6725, allocations: 104.9 kB / 1.176 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.6726, allocations: 83.22 kB / 1.176 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-05/0.6726, allocations: 150.6 kB / 1.176 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.572e-05/0.6727, allocations: 150.6 kB / 1.176 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.009e-05/0.6727, allocations: 158.6 kB / 1.176 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.673, allocations: 461.9 kB / 1.177 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 7.975e-05/0.6731, allocations: 165.1 kB / 1.177 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.6732, allocations: 84.08 kB / 1.177 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.6732, allocations: 87.16 kB / 1.177 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.6733, allocations: 105.8 kB / 1.177 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.6733, allocations: 4 kB / 1.177 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 6.618e-05/0.6733, allocations: 33.64 kB / 1.177 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.6734, allocations: 126.7 kB / 1.177 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.6735, allocations: 136.2 kB / 1.178 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.6735, allocations: 29.7 kB / 1.178 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.6736, allocations: 92.12 kB / 1.178 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.6736, allocations: 0 / 1.178 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.6736, allocations: 17.72 kB / 1.178 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.6738, allocations: 322.8 kB / 1.178 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.6738, allocations: 7.938 kB / 1.178 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.222e-05/0.6738, allocations: 32 / 1.178 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.702e-05/0.6739, allocations: 20.89 kB / 1.178 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.6739, allocations: 0 / 1.178 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001117/0.674, allocations: 57.55 kB / 1.178 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.674, allocations: 4 kB / 1.178 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.674, allocations: 4 kB / 1.178 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.674, allocations: 0 / 1.178 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.575e-06/0.674, allocations: 4 kB / 1.178 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.674, allocations: 3.984 kB / 1.178 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.836e-05/0.6741, allocations: 4 kB / 1.178 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.6741, allocations: 3.984 kB / 1.178 GB, free: 7.289 MB / 0.9044 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.287e-05/0.6742, allocations: 189.1 kB / 1.178 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.6742, allocations: 120.9 kB / 1.178 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.171e-05/0.6743, allocations: 108.9 kB / 1.179 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-05/0.6744, allocations: 184.2 kB / 1.179 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.858e-05/0.6745, allocations: 184.2 kB / 1.179 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-05/0.6745, allocations: 180.2 kB / 1.179 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.6748, allocations: 417.2 kB / 1.179 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.802e-05/0.6748, allocations: 101 kB / 1.18 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.812e-05/0.6748, allocations: 104.9 kB / 1.18 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-05/0.6749, allocations: 188.2 kB / 1.18 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.708e-05/0.675, allocations: 180.2 kB / 1.18 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-05/0.6751, allocations: 176.3 kB / 1.18 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.687e-05/0.6751, allocations: 184.3 kB / 1.18 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.6753, allocations: 319.6 kB / 1.181 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-05/0.6754, allocations: 182 kB / 1.181 GB, free: 4.328 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.277e-05/0.6754, allocations: 180.3 kB / 1.181 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/0.6755, allocations: 105 kB / 1.181 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/0.6756, allocations: 184.2 kB / 1.181 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-05/0.6756, allocations: 105 kB / 1.181 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.929e-05/0.6757, allocations: 101.6 kB / 1.182 GB, free: 3.641 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6757, allocations: 4 kB / 1.182 GB, free: 3.637 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006263/0.6763, allocations: 283 kB / 1.182 GB, free: 3.359 MB / 0.9044 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.001208/0.6775, allocations: 1.164 MB / 1.183 GB, free: 2.168 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.983e-05/0.6776, allocations: 37.7 kB / 1.183 GB, free: 2.125 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6776, allocations: 0 / 1.183 GB, free: 2.125 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.446e-06/0.6777, allocations: 3.984 kB / 1.183 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.678, allocations: 463.7 kB / 1.183 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.6793, allocations: 1.58 MB / 1.185 GB, free: 0 / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.6796, allocations: 0.6846 MB / 1.186 GB, free: 15.29 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.116e-05/0.6796, allocations: 0 / 1.186 GB, free: 15.29 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.6796, allocations: 19.47 kB / 1.186 GB, free: 15.27 MB / 0.92 GB Notification: Performance of SimCode: time 4.01e-07/0.6797, allocations: 0 / 1.186 GB, free: 15.27 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1938/0.8734, allocations: 6.885 MB / 1.192 GB, free: 8.602 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.337/9.211, allocations: 17.06 kB / 1.192 GB, free: 8.59 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)