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.InternalResistancesTwoUTubeNegative.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.001323/0.001323, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001513/0.001513, allocations: 218.2 kB / 23.04 MB, free: 5.074 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.603/2.603, allocations: 476.7 MB / 0.7714 GB, free: 4.344 MB / 0.6231 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.001926/0.001926, allocations: 62.86 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3006, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002756/0.3033, allocations: 1.47 MB / 1.286 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004937/0.3083, allocations: 2.997 MB / 1.289 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.01e-05/0.3083, allocations: 4 kB / 1.289 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.474e-05/0.3084, allocations: 11.92 kB / 1.289 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.999e-05/0.3084, allocations: 7.875 kB / 1.289 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004856/0.3133, allocations: 1.703 MB / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.3134, allocations: 47.61 kB / 1.29 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.3135, allocations: 4 kB / 1.29 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.747e-05/0.3135, allocations: 15.92 kB / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.936e-05/0.3136, allocations: 27.8 kB / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.3136, allocations: 0 / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003061/0.3166, allocations: 1.763 MB / 1.292 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.3166, allocations: 0 / 1.292 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.3167, allocations: 23.86 kB / 1.292 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.3184, allocations: 1.15 MB / 1.293 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3184, allocations: 0 / 1.293 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3184, allocations: 4 kB / 1.293 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3184, allocations: 0 / 1.293 GB, free: 2.496 MB / 0.9825 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.0006697/0.3191, allocations: 476 kB / 1.294 GB, free: 2 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3191, allocations: 8.031 kB / 1.294 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.405e-05/0.3192, allocations: 79.47 kB / 1.294 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.569e-05/0.3192, allocations: 106 kB / 1.294 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.942e-05/0.3193, allocations: 88.16 kB / 1.294 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.3194, allocations: 193.7 kB / 1.294 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/0.3195, allocations: 154.9 kB / 1.294 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.357e-05/0.3196, allocations: 162.7 kB / 1.294 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.078e-05/0.3196, allocations: 104.9 kB / 1.295 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/0.3197, allocations: 75.28 kB / 1.295 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/0.3197, allocations: 150.6 kB / 1.295 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.796e-05/0.3198, allocations: 150.6 kB / 1.295 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.117e-05/0.3199, allocations: 150.6 kB / 1.295 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.3202, allocations: 444.9 kB / 1.295 GB, free: 84 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.3203, allocations: 173.1 kB / 1.296 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.886e-05/0.3203, allocations: 84.08 kB / 1.296 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.3204, allocations: 79.28 kB / 1.296 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.419e-05/0.3204, allocations: 113.8 kB / 1.296 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.3204, allocations: 0 / 1.296 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.03e-05/0.3205, allocations: 33.66 kB / 1.296 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.3206, allocations: 130.6 kB / 1.296 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.3207, allocations: 132.6 kB / 1.296 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.3207, allocations: 29.7 kB / 1.296 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.3208, allocations: 84.14 kB / 1.296 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.3208, allocations: 0 / 1.296 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.3208, allocations: 29.7 kB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.321, allocations: 310.8 kB / 1.297 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.705e-05/0.321, allocations: 11.98 kB / 1.297 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.834e-05/0.321, allocations: 8 kB / 1.297 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.163e-05/0.321, allocations: 12.86 kB / 1.297 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.321, allocations: 3.938 kB / 1.297 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001291/0.3212, allocations: 53.59 kB / 1.297 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3212, allocations: 4 kB / 1.297 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.3212, allocations: 15.94 kB / 1.297 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3212, allocations: 3.984 kB / 1.297 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.3212, allocations: 0 / 1.297 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3212, allocations: 0 / 1.297 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.453e-05/0.3213, allocations: 4 kB / 1.297 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.3213, allocations: 0 / 1.297 GB, free: 14.71 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.0001107/0.3214, allocations: 185.1 kB / 1.297 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.3214, allocations: 112.9 kB / 1.297 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.483e-05/0.3215, allocations: 124.8 kB / 1.297 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.958e-05/0.3216, allocations: 176.3 kB / 1.297 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-05/0.3217, allocations: 176.3 kB / 1.297 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.241e-05/0.3217, allocations: 180.2 kB / 1.298 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.322, allocations: 388.2 kB / 1.298 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.452e-05/0.322, allocations: 112.9 kB / 1.298 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-05/0.3221, allocations: 105 kB / 1.298 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.86e-05/0.3221, allocations: 176.3 kB / 1.298 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.095e-05/0.3222, allocations: 180.2 kB / 1.299 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-05/0.3223, allocations: 180.3 kB / 1.299 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.058e-05/0.3224, allocations: 184.2 kB / 1.299 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.3225, allocations: 315.7 kB / 1.299 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.3226, allocations: 116.9 kB / 1.299 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.548e-05/0.3227, allocations: 180.3 kB / 1.299 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.588e-05/0.3227, allocations: 108.9 kB / 1.3 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/0.3228, allocations: 184.3 kB / 1.3 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.3229, allocations: 105 kB / 1.3 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.759e-05/0.3229, allocations: 99.27 kB / 1.3 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3229, allocations: 3.938 kB / 1.3 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000882/0.3238, allocations: 295 kB / 1.3 GB, free: 10.9 MB / 0.9981 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.001453/0.3253, allocations: 1.19 MB / 1.301 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.3254, allocations: 37.69 kB / 1.301 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3254, allocations: 4 kB / 1.301 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.847e-06/0.3254, allocations: 4 kB / 1.301 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.3258, allocations: 463.7 kB / 1.302 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.3274, allocations: 1.621 MB / 1.303 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.3277, allocations: 0.6845 MB / 1.304 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.469e-05/0.3277, allocations: 4.031 kB / 1.304 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.3277, allocations: 15.44 kB / 1.304 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/0.3277, allocations: 0 / 1.304 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03717/0.3649, allocations: 7.383 MB / 1.311 GB, free: 15.56 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.8, allocations: 4.812 kB / 1.311 GB, free: 15.56 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.072147516009863] Failed to read output from testmodel.py, exit status != 0: 12.425168621004559 11.995192923 11.671703508 Calling exit ...