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.001966/0.001966, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002286/0.002286, allocations: 218 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.691/2.691, allocations: 476.7 MB / 0.7715 GB, free: 4.277 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="cs",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="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.001949/0.001949, allocations: 62.91 kB / 1.118 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3053, allocations: 170 MB / 1.284 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002767/0.3081, allocations: 1.472 MB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004663/0.3128, allocations: 2.959 MB / 1.289 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.3128, allocations: 0 / 1.289 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.3128, allocations: 3.984 kB / 1.289 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.089e-05/0.3129, allocations: 19.81 kB / 1.289 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004324/0.3172, allocations: 1.68 MB / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.3173, allocations: 39.67 kB / 1.29 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.3174, allocations: 7.984 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.987e-05/0.3174, allocations: 15.94 kB / 1.29 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.941e-05/0.3175, allocations: 15.92 kB / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.3175, allocations: 0 / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002607/0.3201, allocations: 1.716 MB / 1.292 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.3201, allocations: 11.94 kB / 1.292 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.3201, allocations: 11.88 kB / 1.292 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.3217, allocations: 1.126 MB / 1.293 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3217, allocations: 0 / 1.293 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3217, allocations: 0 / 1.293 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.932e-06/0.3217, allocations: 0 / 1.293 GB, free: 2.594 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.000639/0.3224, allocations: 472 kB / 1.294 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3224, allocations: 12.03 kB / 1.294 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.432e-05/0.3224, allocations: 75.47 kB / 1.294 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.762e-05/0.3225, allocations: 106 kB / 1.294 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.158e-05/0.3226, allocations: 84.22 kB / 1.294 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.3227, allocations: 204.2 kB / 1.294 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.061e-05/0.3228, allocations: 154.9 kB / 1.294 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.784e-05/0.3228, allocations: 154.7 kB / 1.294 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.563e-05/0.3229, allocations: 105 kB / 1.294 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.323, allocations: 75.28 kB / 1.294 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.009e-05/0.323, allocations: 154.6 kB / 1.295 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.059e-05/0.3231, allocations: 154.5 kB / 1.295 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.505e-05/0.3231, allocations: 158.6 kB / 1.295 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.3235, allocations: 432.9 kB / 1.295 GB, free: 188 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.587e-05/0.3235, allocations: 177.1 kB / 1.295 GB, free: 0 / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.806e-05/0.3236, allocations: 84.08 kB / 1.296 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.3236, allocations: 79.22 kB / 1.296 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/0.3237, allocations: 109.8 kB / 1.296 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.3237, allocations: 0 / 1.296 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.162e-05/0.3238, allocations: 29.7 kB / 1.296 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.3238, allocations: 130.7 kB / 1.296 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.324, allocations: 133.8 kB / 1.296 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.324, allocations: 25.7 kB / 1.296 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.3241, allocations: 92.12 kB / 1.296 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.3241, allocations: 0 / 1.296 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.3241, allocations: 17.72 kB / 1.296 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3242, allocations: 322.8 kB / 1.296 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/0.3243, allocations: 4 kB / 1.296 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.3243, allocations: 7.938 kB / 1.296 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.882e-05/0.3243, allocations: 12.86 kB / 1.296 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3243, allocations: 4 kB / 1.296 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001249/0.3244, allocations: 49.58 kB / 1.297 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3245, allocations: 4 kB / 1.297 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.3245, allocations: 4 kB / 1.297 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3245, allocations: 0 / 1.297 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.3245, allocations: 0 / 1.297 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3245, allocations: 0 / 1.297 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.367e-05/0.3245, allocations: 8.062 kB / 1.297 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.3245, allocations: 4 kB / 1.297 GB, free: 14.82 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.0001133/0.3246, allocations: 189.1 kB / 1.297 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/0.3247, allocations: 116.9 kB / 1.297 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.425e-05/0.3248, allocations: 104.8 kB / 1.297 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.51e-05/0.3248, allocations: 188.2 kB / 1.297 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.402e-05/0.3249, allocations: 180.3 kB / 1.297 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-05/0.325, allocations: 184.2 kB / 1.297 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.3252, allocations: 388.2 kB / 1.298 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.284e-05/0.3253, allocations: 101 kB / 1.298 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-05/0.3253, allocations: 104.9 kB / 1.298 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.709e-05/0.3254, allocations: 188.2 kB / 1.298 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.466e-05/0.3255, allocations: 184.2 kB / 1.298 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.07e-05/0.3255, allocations: 184.2 kB / 1.299 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.799e-05/0.3256, allocations: 176.3 kB / 1.299 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.3258, allocations: 311.7 kB / 1.299 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.3258, allocations: 116.9 kB / 1.299 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.383e-05/0.3259, allocations: 184.2 kB / 1.299 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.171e-05/0.326, allocations: 101 kB / 1.299 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.984e-05/0.3261, allocations: 184.2 kB / 1.3 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.3261, allocations: 105 kB / 1.3 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.03e-05/0.3262, allocations: 110.4 kB / 1.3 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3262, allocations: 4 kB / 1.3 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007927/0.327, allocations: 287 kB / 1.3 GB, free: 11.02 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.001382/0.3283, allocations: 1.178 MB / 1.301 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.3284, allocations: 37.69 kB / 1.301 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3284, allocations: 0 / 1.301 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.033e-06/0.3284, allocations: 0 / 1.301 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.3289, allocations: 459.7 kB / 1.302 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.3303, allocations: 1.598 MB / 1.303 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.3306, allocations: 0.6846 MB / 1.304 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.226e-05/0.3307, allocations: 0 / 1.304 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.3307, allocations: 19.44 kB / 1.304 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.3307, allocations: 0 / 1.304 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/0.3606, allocations: 7.19 MB / 1.311 GB, free: 15.92 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.48, allocations: 8.047 kB / 1.311 GB, free: 15.91 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.935556878976058] Failed to read output from testmodel.py, exit status != 0: 12.079812559008133 11.66529886 11.340128072 Calling exit ...