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.InternalResistancesOneUTubeNegative.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.001521/0.001521, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001717/0.001717, allocations: 215.3 kB / 22.25 MB, free: 5.125 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.419/1.419, allocations: 230.6 MB / 256 MB, free: 7.992 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.717/2.717, allocations: 476.7 MB / 0.7707 GB, free: 4.312 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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",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.002013/0.002013, allocations: 64.55 kB / 1.117 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3126, allocations: 169.9 MB / 1.283 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002828/0.3154, allocations: 1.463 MB / 1.285 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004706/0.3201, allocations: 2.962 MB / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.506e-05/0.3201, allocations: 0 / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.409e-05/0.3202, allocations: 3.938 kB / 1.288 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.901e-05/0.3202, allocations: 11.88 kB / 1.288 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004057/0.3243, allocations: 1.699 MB / 1.289 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.865e-05/0.3244, allocations: 39.73 kB / 1.289 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.3244, allocations: 7.938 kB / 1.289 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.492e-05/0.3244, allocations: 11.98 kB / 1.29 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.788e-05/0.3245, allocations: 15.86 kB / 1.29 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.3245, allocations: 4 kB / 1.29 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002448/0.3269, allocations: 1.72 MB / 1.291 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.3269, allocations: 0 / 1.291 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.327, allocations: 15.88 kB / 1.291 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.3285, allocations: 1.13 MB / 1.292 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3285, allocations: 0 / 1.292 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3285, allocations: 0 / 1.292 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.3285, allocations: 0 / 1.292 GB, free: 10.71 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.0006092/0.3291, allocations: 468 kB / 1.293 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3292, allocations: 8.031 kB / 1.293 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.741e-05/0.3292, allocations: 118 kB / 1.293 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.423e-05/0.3293, allocations: 80.22 kB / 1.293 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.3294, allocations: 196.9 kB / 1.293 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.258e-05/0.3295, allocations: 150.9 kB / 1.293 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.861e-05/0.3296, allocations: 154.9 kB / 1.293 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.621e-05/0.3297, allocations: 108.9 kB / 1.294 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/0.3297, allocations: 79.28 kB / 1.294 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.757e-05/0.3297, allocations: 150.6 kB / 1.294 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-05/0.3298, allocations: 150.6 kB / 1.294 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.014e-05/0.3299, allocations: 154.6 kB / 1.294 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.3302, allocations: 444.9 kB / 1.294 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.302e-05/0.3303, allocations: 169.1 kB / 1.295 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/0.3303, allocations: 80.14 kB / 1.295 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.054e-05/0.3304, allocations: 83.22 kB / 1.295 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.053e-05/0.3304, allocations: 105.8 kB / 1.295 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.3304, allocations: 0 / 1.295 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.742e-05/0.3305, allocations: 37.62 kB / 1.295 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.3306, allocations: 134.7 kB / 1.295 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.3307, allocations: 133.8 kB / 1.295 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.3307, allocations: 25.7 kB / 1.295 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.3308, allocations: 84.14 kB / 1.295 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-06/0.3308, allocations: 0 / 1.295 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.3308, allocations: 25.77 kB / 1.295 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3309, allocations: 322.8 kB / 1.296 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.201e-05/0.3309, allocations: 4 kB / 1.296 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.47e-05/0.331, allocations: 4 kB / 1.296 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.525e-05/0.331, allocations: 16.8 kB / 1.296 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.331, allocations: 0 / 1.296 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001234/0.3311, allocations: 49.56 kB / 1.296 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3311, allocations: 8 kB / 1.296 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.3312, allocations: 0 / 1.296 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3312, allocations: 4 kB / 1.296 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.3312, allocations: 0 / 1.296 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.3312, allocations: 4.062 kB / 1.296 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.3312, allocations: 3.953 kB / 1.296 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.3312, allocations: 0 / 1.296 GB, free: 7.023 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.0001076/0.3313, allocations: 193.1 kB / 1.296 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/0.3314, allocations: 108.9 kB / 1.296 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.108e-05/0.3314, allocations: 112.7 kB / 1.296 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.156e-05/0.3315, allocations: 180.3 kB / 1.296 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.396e-05/0.3316, allocations: 184.2 kB / 1.296 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.661e-05/0.3317, allocations: 184.2 kB / 1.297 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.3319, allocations: 384.2 kB / 1.297 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-05/0.332, allocations: 108.9 kB / 1.297 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/0.332, allocations: 101 kB / 1.297 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.782e-05/0.3321, allocations: 184.3 kB / 1.297 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-05/0.3322, allocations: 188.2 kB / 1.298 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.279e-05/0.3322, allocations: 180.3 kB / 1.298 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.753e-05/0.3323, allocations: 180.2 kB / 1.298 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.3325, allocations: 315.7 kB / 1.298 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.3325, allocations: 112.9 kB / 1.298 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-05/0.3326, allocations: 176.3 kB / 1.298 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.3327, allocations: 104.9 kB / 1.299 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.877e-05/0.3328, allocations: 180.3 kB / 1.299 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.583e-05/0.3328, allocations: 112.9 kB / 1.299 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.685e-05/0.3329, allocations: 101.1 kB / 1.299 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3329, allocations: 0 / 1.299 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000719/0.3336, allocations: 291 kB / 1.299 GB, free: 3.223 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.001335/0.3349, allocations: 1.171 MB / 1.3 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.335, allocations: 37.69 kB / 1.3 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3351, allocations: 3.938 kB / 1.3 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.3351, allocations: 0 / 1.3 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.3355, allocations: 461.4 kB / 1.301 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.337, allocations: 1.598 MB / 1.302 GB, free: 15.85 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.3373, allocations: 0.6884 MB / 1.303 GB, free: 15.13 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.156e-05/0.3373, allocations: 0 / 1.303 GB, free: 15.13 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.3374, allocations: 19.44 kB / 1.303 GB, free: 15.11 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/0.3374, allocations: 0 / 1.303 GB, free: 15.11 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03709/0.3745, allocations: 7.156 MB / 1.31 GB, free: 8.141 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.46, allocations: 6.625 kB / 1.31 GB, free: 8.137 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.709982393076643] Failed to read output from testmodel.py, exit status != 0: 11.568492762977257 11.584539609 11.252660473 Calling exit ...