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.001797/0.001797, allocations: 113 kB / 18.94 MB, free: 2.934 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.00247/0.00247, allocations: 208 kB / 22.25 MB, free: 5.082 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 8.004 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.722/2.722, allocations: 476.7 MB / 0.7707 GB, free: 4.238 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="me",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="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.001976/0.001976, allocations: 71.98 kB / 1.117 GB, free: 39.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3013, allocations: 170 MB / 1.283 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002698/0.304, allocations: 1.48 MB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004635/0.3086, allocations: 3.001 MB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.423e-05/0.3087, allocations: 4 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.016e-05/0.3087, allocations: 7.938 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.205e-05/0.3087, allocations: 15.84 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004243/0.313, allocations: 1.699 MB / 1.29 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.3131, allocations: 47.67 kB / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.635e-05/0.3131, allocations: 4 kB / 1.29 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.098e-05/0.3131, allocations: 15.92 kB / 1.29 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.546e-05/0.3132, allocations: 19.88 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.776e-06/0.3132, allocations: 0 / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002754/0.3159, allocations: 1.767 MB / 1.291 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.316, allocations: 3.984 kB / 1.291 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.316, allocations: 19.88 kB / 1.291 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.3178, allocations: 1.148 MB / 1.292 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3178, allocations: 0 / 1.292 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3178, allocations: 0 / 1.292 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.3178, allocations: 4 kB / 1.292 GB, free: 2.125 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.0006882/0.3185, allocations: 483.9 kB / 1.293 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.3186, allocations: 15.97 kB / 1.293 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.01e-05/0.3186, allocations: 106 kB / 1.293 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.373e-05/0.3187, allocations: 84.17 kB / 1.293 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.3188, allocations: 193.6 kB / 1.293 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.751e-05/0.3189, allocations: 150.9 kB / 1.293 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.804e-05/0.319, allocations: 154.9 kB / 1.294 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.713e-05/0.319, allocations: 108.9 kB / 1.294 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/0.3191, allocations: 75.28 kB / 1.294 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.096e-05/0.3191, allocations: 150.6 kB / 1.294 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.186e-05/0.3192, allocations: 154.6 kB / 1.294 GB, free: 416 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.132e-05/0.3192, allocations: 154.5 kB / 1.294 GB, free: 260 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.3196, allocations: 448.9 kB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.503e-05/0.3197, allocations: 173.1 kB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.719e-05/0.3197, allocations: 80.14 kB / 1.295 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/0.3198, allocations: 79.22 kB / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/0.3198, allocations: 105.8 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.3198, allocations: 4 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.865e-05/0.3199, allocations: 37.59 kB / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.148e-05/0.32, allocations: 130.7 kB / 1.295 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.3201, allocations: 125.8 kB / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.3201, allocations: 25.7 kB / 1.295 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.3202, allocations: 96.12 kB / 1.295 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-06/0.3202, allocations: 0 / 1.295 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.3202, allocations: 13.72 kB / 1.295 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3204, allocations: 326.8 kB / 1.296 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.35e-05/0.3204, allocations: 4 kB / 1.296 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.751e-05/0.3204, allocations: 8 kB / 1.296 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.92e-05/0.3204, allocations: 12.86 kB / 1.296 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3204, allocations: 0 / 1.296 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001322/0.3206, allocations: 61.52 kB / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3206, allocations: 4 kB / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.3206, allocations: 7.938 kB / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3206, allocations: 0 / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.3206, allocations: 4.062 kB / 1.296 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.3206, allocations: 0 / 1.296 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.3207, allocations: 4 kB / 1.296 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.3207, allocations: 0 / 1.296 GB, free: 14.41 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.0001025/0.3208, allocations: 181.1 kB / 1.296 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.266e-05/0.3208, allocations: 116.8 kB / 1.296 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.31e-05/0.3209, allocations: 120.8 kB / 1.296 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.205e-05/0.321, allocations: 180.3 kB / 1.296 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.225e-05/0.321, allocations: 180.2 kB / 1.297 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.278e-05/0.3211, allocations: 180.2 kB / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.3214, allocations: 396.2 kB / 1.297 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.114e-05/0.3214, allocations: 101 kB / 1.297 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.614e-05/0.3215, allocations: 105 kB / 1.297 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.399e-05/0.3215, allocations: 184.2 kB / 1.298 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.157e-05/0.3216, allocations: 180.3 kB / 1.298 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.356e-05/0.3217, allocations: 180.2 kB / 1.298 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-05/0.3218, allocations: 184.2 kB / 1.298 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.3219, allocations: 315.7 kB / 1.298 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.322, allocations: 104.9 kB / 1.298 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.69e-05/0.3221, allocations: 188.2 kB / 1.299 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.611e-05/0.3221, allocations: 105 kB / 1.299 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.3222, allocations: 180.3 kB / 1.299 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.3223, allocations: 112.9 kB / 1.299 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.827e-05/0.3223, allocations: 97.3 kB / 1.299 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3223, allocations: 0 / 1.299 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008009/0.3231, allocations: 302.9 kB / 1.299 GB, free: 10.6 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.001505/0.3246, allocations: 1.186 MB / 1.301 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.3247, allocations: 41.64 kB / 1.301 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3247, allocations: 0 / 1.301 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.3247, allocations: 0 / 1.301 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.3252, allocations: 468.4 kB / 1.301 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.3268, allocations: 1.619 MB / 1.303 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.3271, allocations: 0.6807 MB / 1.303 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.389e-05/0.3271, allocations: 0 / 1.303 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.3271, allocations: 19.42 kB / 1.303 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/0.3271, allocations: 4.031 kB / 1.303 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0363/0.3634, allocations: 7.361 MB / 1.311 GB, free: 15.28 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.44, allocations: 0.5 kB / 1.311 GB, free: 15.28 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: 17.81528253480792] Failed to read output from testmodel.py, exit status != 0: 12.015999147901312 11.575355603 11.252274219 Calling exit ...