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.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.002053/0.002053, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001878/0.001878, allocations: 216.5 kB / 23.03 MB, free: 4.922 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.396/1.396, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.057/3.057, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001976/0.001976, allocations: 62.55 kB / 1.171 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3195, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002741/0.3223, allocations: 1.443 MB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004577/0.3269, allocations: 2.685 MB / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.902e-05/0.3269, allocations: 0 / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.365e-05/0.3269, allocations: 7.922 kB / 1.349 GB, free: 11.74 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.367e-05/0.327, allocations: 11.86 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004239/0.3312, allocations: 1.66 MB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.956e-05/0.3313, allocations: 43.67 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4e-05/0.3314, allocations: 11.89 kB / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.037e-05/0.3314, allocations: 11.94 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.793e-05/0.3314, allocations: 15.94 kB / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.3314, allocations: 4 kB / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002589/0.334, allocations: 1.595 MB / 1.353 GB, free: 8.402 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.334, allocations: 3.938 kB / 1.353 GB, free: 8.398 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.3341, allocations: 11.94 kB / 1.353 GB, free: 8.387 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001884/0.336, allocations: 1.107 MB / 1.354 GB, free: 7.277 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.336, allocations: 7.984 kB / 1.354 GB, free: 7.27 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.413e-06/0.336, allocations: 0 / 1.354 GB, free: 7.27 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.336, allocations: 0 / 1.354 GB, free: 7.27 MB / 1.045 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.0006867/0.3367, allocations: 479.9 kB / 1.354 GB, free: 6.77 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3367, allocations: 15.92 kB / 1.354 GB, free: 6.754 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.463e-05/0.3367, allocations: 79.47 kB / 1.354 GB, free: 6.676 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.886e-05/0.3368, allocations: 106 kB / 1.354 GB, free: 6.562 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.284e-05/0.3369, allocations: 80.22 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.337, allocations: 197.7 kB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.156e-05/0.3371, allocations: 150.9 kB / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.917e-05/0.3371, allocations: 158.7 kB / 1.355 GB, free: 5.961 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.493e-05/0.3372, allocations: 105 kB / 1.355 GB, free: 5.852 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/0.3372, allocations: 75.28 kB / 1.355 GB, free: 5.777 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.806e-05/0.3373, allocations: 154.5 kB / 1.355 GB, free: 5.625 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.436e-05/0.3373, allocations: 154.6 kB / 1.355 GB, free: 5.473 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.813e-05/0.3374, allocations: 150.6 kB / 1.356 GB, free: 5.324 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003036/0.3377, allocations: 433 kB / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.3378, allocations: 169.1 kB / 1.356 GB, free: 4.684 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.216e-05/0.3378, allocations: 84.08 kB / 1.356 GB, free: 4.598 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.119e-05/0.3379, allocations: 83.22 kB / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/0.3379, allocations: 109.8 kB / 1.356 GB, free: 4.398 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.3379, allocations: 0 / 1.356 GB, free: 4.398 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 9.934e-05/0.338, allocations: 33.7 kB / 1.356 GB, free: 4.359 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.3381, allocations: 130.7 kB / 1.357 GB, free: 4.219 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.3383, allocations: 139.6 kB / 1.357 GB, free: 4.074 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.3383, allocations: 25.7 kB / 1.357 GB, free: 4.043 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.3383, allocations: 96.11 kB / 1.357 GB, free: 3.945 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-06/0.3383, allocations: 3.938 kB / 1.357 GB, free: 3.941 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.3384, allocations: 21.72 kB / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3385, allocations: 314.8 kB / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.147e-05/0.3385, allocations: 8 kB / 1.357 GB, free: 3.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.081e-05/0.3386, allocations: 7.938 kB / 1.357 GB, free: 3.582 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.268e-05/0.3386, allocations: 12.86 kB / 1.357 GB, free: 3.566 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3386, allocations: 0 / 1.357 GB, free: 3.566 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001436/0.3388, allocations: 57.58 kB / 1.357 GB, free: 3.504 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3388, allocations: 8.062 kB / 1.357 GB, free: 3.496 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.3388, allocations: 4 kB / 1.357 GB, free: 3.492 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.3388, allocations: 0 / 1.357 GB, free: 3.492 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.3388, allocations: 0 / 1.357 GB, free: 3.492 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3388, allocations: 4 kB / 1.357 GB, free: 3.488 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.3388, allocations: 0 / 1.357 GB, free: 3.488 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.3388, allocations: 0 / 1.357 GB, free: 3.488 MB / 1.045 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.0001195/0.339, allocations: 189.1 kB / 1.357 GB, free: 3.293 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.637e-05/0.339, allocations: 108.9 kB / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.239e-05/0.3391, allocations: 116.8 kB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.98e-05/0.3392, allocations: 184.2 kB / 1.358 GB, free: 2.863 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-05/0.3392, allocations: 184.2 kB / 1.358 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.631e-05/0.3393, allocations: 176.3 kB / 1.358 GB, free: 2.496 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.3395, allocations: 400.2 kB / 1.359 GB, free: 2.055 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.924e-05/0.3396, allocations: 101 kB / 1.359 GB, free: 1.949 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.647e-05/0.3396, allocations: 108.9 kB / 1.359 GB, free: 1.836 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.731e-05/0.3397, allocations: 176.3 kB / 1.359 GB, free: 1.656 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.825e-05/0.3398, allocations: 176.3 kB / 1.359 GB, free: 1.477 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.091e-05/0.3398, allocations: 188.2 kB / 1.359 GB, free: 1.285 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-05/0.3399, allocations: 180.2 kB / 1.359 GB, free: 1.102 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.3401, allocations: 311.7 kB / 1.36 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.3401, allocations: 124.9 kB / 1.36 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8e-05/0.3402, allocations: 184.2 kB / 1.36 GB, free: 468 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.242e-05/0.3403, allocations: 101 kB / 1.36 GB, free: 360 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.3403, allocations: 180.2 kB / 1.36 GB, free: 172 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-05/0.3404, allocations: 105 kB / 1.36 GB, free: 60 kB / 1.045 GB Notification: Performance of sorting global known variables: time 8.44e-05/0.3405, allocations: 102.7 kB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3405, allocations: 0 / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008266/0.3413, allocations: 302.9 kB / 1.361 GB, free: 15.66 MB / 1.061 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.001731/0.343, allocations: 1.189 MB / 1.362 GB, free: 14.45 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.3431, allocations: 37.7 kB / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.3432, allocations: 0 / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-06/0.3432, allocations: 0 / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.3436, allocations: 463.6 kB / 1.362 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.3453, allocations: 1.617 MB / 1.364 GB, free: 12.25 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.903e-05/0.3453, allocations: 67.34 kB / 1.364 GB, free: 12.16 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.623e-05/0.3454, allocations: 0 / 1.364 GB, free: 12.16 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.3454, allocations: 15.42 kB / 1.364 GB, free: 12.15 MB / 1.061 GB Notification: Performance of SimCode: time 7.31e-07/0.3454, allocations: 0 / 1.364 GB, free: 12.15 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.375, allocations: 7.481 MB / 1.371 GB, free: 4.867 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.52, allocations: 8.062 kB / 1.371 GB, free: 4.859 MB / 1.061 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 17.976869090925902] Failed to read output from testmodel.py, exit status != 0: 11.694013693020679 11.716265454 11.375915274 Calling exit ...