Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 115.9 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002113/0.002113, allocations: 214.1 kB / 20.13 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.688/2.688, allocations: 476.7 MB / 0.7678 GB, free: 9.418 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 63.91 kB / 1.113 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9226/0.9248, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003094/0.9279, allocations: 1.471 MB / 1.28 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005542/0.9335, allocations: 2.979 MB / 1.283 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.775e-05/0.9335, allocations: 5.125 kB / 1.283 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.22e-05/0.9336, allocations: 10 kB / 1.283 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.352e-05/0.9336, allocations: 16.56 kB / 1.283 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004912/0.9386, allocations: 1.646 MB / 1.285 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.9387, allocations: 45.69 kB / 1.285 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.9387, allocations: 3.75 kB / 1.285 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.798e-05/0.9388, allocations: 12.88 kB / 1.285 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.117e-05/0.9388, allocations: 21.95 kB / 1.285 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.9388, allocations: 1.312 kB / 1.285 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003143/0.9419, allocations: 1.598 MB / 1.287 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.942, allocations: 5.062 kB / 1.287 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/0.942, allocations: 20.25 kB / 1.287 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.9444, allocations: 1.133 MB / 1.288 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.9444, allocations: 1.406 kB / 1.288 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9444, allocations: 0 / 1.288 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.9444, allocations: 0 / 1.288 GB, free: 6.984 MB / 0.9981 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.001014/0.9454, allocations: 0.5389 MB / 1.288 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.9454, allocations: 9.688 kB / 1.288 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.914e-05/0.9455, allocations: 79.47 kB / 1.288 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.576e-05/0.9455, allocations: 108 kB / 1.288 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.603e-05/0.9456, allocations: 82.61 kB / 1.289 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.9458, allocations: 259.1 kB / 1.289 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.024e-05/0.9459, allocations: 156.1 kB / 1.289 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.816e-05/0.946, allocations: 155.9 kB / 1.289 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.943e-05/0.9461, allocations: 117.6 kB / 1.289 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.079e-05/0.9461, allocations: 79.27 kB / 1.289 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-05/0.9462, allocations: 151.7 kB / 1.289 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.431e-05/0.9462, allocations: 151.2 kB / 1.29 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.415e-05/0.9463, allocations: 155.9 kB / 1.29 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.9467, allocations: 466 kB / 1.29 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.9468, allocations: 174.9 kB / 1.29 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.977e-05/0.9468, allocations: 84.08 kB / 1.29 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.9468, allocations: 75.28 kB / 1.29 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.461e-05/0.9469, allocations: 115.9 kB / 1.291 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.9469, allocations: 0 / 1.291 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.434e-05/0.947, allocations: 32.88 kB / 1.291 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/0.9471, allocations: 132.6 kB / 1.291 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.9472, allocations: 127.2 kB / 1.291 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.9472, allocations: 25.7 kB / 1.291 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.9473, allocations: 92.33 kB / 1.291 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-06/0.9473, allocations: 1.219 kB / 1.291 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.9474, allocations: 24.27 kB / 1.291 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.9475, allocations: 314.5 kB / 1.291 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.926e-05/0.9475, allocations: 8.375 kB / 1.291 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.981e-05/0.9476, allocations: 4.188 kB / 1.291 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.045e-05/0.9476, allocations: 15 kB / 1.291 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.9476, allocations: 0 / 1.291 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001488/0.9477, allocations: 58.48 kB / 1.291 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.9478, allocations: 7.656 kB / 1.291 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.9478, allocations: 4.656 kB / 1.291 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.9478, allocations: 4 kB / 1.291 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.9478, allocations: 0 / 1.291 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.9478, allocations: 1.891 kB / 1.291 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.738e-05/0.9478, allocations: 9.156 kB / 1.291 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.9478, allocations: 1.5 kB / 1.291 GB, free: 3.207 MB / 0.9981 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.0001163/0.948, allocations: 187.7 kB / 1.292 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.001e-05/0.948, allocations: 108.1 kB / 1.292 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.119e-05/0.9481, allocations: 120.5 kB / 1.292 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.399e-05/0.9482, allocations: 182 kB / 1.292 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.582e-05/0.9482, allocations: 178.1 kB / 1.292 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.708e-05/0.9483, allocations: 182.1 kB / 1.292 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.9486, allocations: 418 kB / 1.293 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-05/0.9487, allocations: 109.5 kB / 1.293 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/0.9487, allocations: 103.1 kB / 1.293 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.54e-05/0.9488, allocations: 176.9 kB / 1.293 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.737e-05/0.9489, allocations: 182 kB / 1.293 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-05/0.9489, allocations: 186.4 kB / 1.293 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.284e-05/0.949, allocations: 187 kB / 1.294 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.9492, allocations: 314.4 kB / 1.294 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.644e-05/0.9493, allocations: 184.8 kB / 1.294 GB, free: 304 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.072e-05/0.9494, allocations: 183.1 kB / 1.294 GB, free: 116 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.313e-05/0.9494, allocations: 105.7 kB / 1.294 GB, free: 4 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.444e-05/0.9495, allocations: 182.6 kB / 1.295 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/0.9496, allocations: 107 kB / 1.295 GB, free: 15.71 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.041e-05/0.9497, allocations: 97.81 kB / 1.295 GB, free: 15.63 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.9497, allocations: 0 / 1.295 GB, free: 15.63 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00117/0.9508, allocations: 299.2 kB / 1.295 GB, free: 15.55 MB / 1.014 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.001729/0.9525, allocations: 1.191 MB / 1.296 GB, free: 14.63 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001189/0.9527, allocations: 39.03 kB / 1.296 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.9527, allocations: 0 / 1.296 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.189e-06/0.9527, allocations: 5.562 kB / 1.296 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.9531, allocations: 469.4 kB / 1.297 GB, free: 14.13 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.9548, allocations: 1.618 MB / 1.298 GB, free: 12.68 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.9551, allocations: 0.6825 MB / 1.299 GB, free: 11.98 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.931e-05/0.9551, allocations: 7.938 kB / 1.299 GB, free: 11.97 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.9552, allocations: 15.3 kB / 1.299 GB, free: 11.96 MB / 1.014 GB Notification: Performance of SimCode: time 5.92e-07/0.9552, allocations: 0 / 1.299 GB, free: 11.96 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.9856, allocations: 7.358 MB / 1.306 GB, free: 11.21 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.763/9.749, allocations: 17.09 kB / 1.306 GB, free: 11.2 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.658033395011444] Failed to read output from testmodel.py, exit status != 0: 9.878747862007003 9.902240059 8.95339015 Calling exit ...