Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001707/0.001707, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002032/0.002032, allocations: 216 kB / 22.24 MB, free: 5.258 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.413/1.413, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.026/3.026, allocations: 0.49 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.001936/0.001936, allocations: 64.41 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.287, allocations: 176.1 MB / 1.326 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002415/0.2894, allocations: 1.446 MB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004119/0.2935, allocations: 2.642 MB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.2935, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.2936, allocations: 7.938 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.819e-05/0.2936, allocations: 19.84 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003707/0.2973, allocations: 1.635 MB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.091e-05/0.2974, allocations: 39.73 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.254e-05/0.2974, allocations: 4 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.525e-05/0.2975, allocations: 11.94 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.17e-05/0.2975, allocations: 23.86 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.235e-06/0.2975, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/0.2997, allocations: 1.548 MB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.2997, allocations: 8 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.2997, allocations: 19.86 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.3011, allocations: 1.072 MB / 1.334 GB, free: 8.992 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3011, allocations: 0 / 1.334 GB, free: 8.992 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3011, allocations: 0 / 1.334 GB, free: 8.992 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.3011, allocations: 0 / 1.334 GB, free: 8.992 MB / 1.029 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.0005803/0.3017, allocations: 476 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3017, allocations: 15.98 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.372e-05/0.3018, allocations: 106 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.72e-05/0.3018, allocations: 80.17 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.302, allocations: 193.7 kB / 1.335 GB, free: 8.074 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.345e-05/0.302, allocations: 162.9 kB / 1.335 GB, free: 7.914 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.325e-05/0.3021, allocations: 150.9 kB / 1.335 GB, free: 7.766 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.663e-05/0.3022, allocations: 108.9 kB / 1.335 GB, free: 7.652 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.3022, allocations: 79.28 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.445e-05/0.3022, allocations: 150.6 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.596e-05/0.3023, allocations: 150.6 kB / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.546e-05/0.3024, allocations: 150.6 kB / 1.336 GB, free: 7.129 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002852/0.3026, allocations: 436.9 kB / 1.336 GB, free: 6.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.81e-05/0.3027, allocations: 169.1 kB / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.681e-05/0.3028, allocations: 84.14 kB / 1.337 GB, free: 6.398 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.3028, allocations: 83.22 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/0.3028, allocations: 113.8 kB / 1.337 GB, free: 6.195 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.3029, allocations: 0 / 1.337 GB, free: 6.195 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.682e-05/0.3029, allocations: 33.59 kB / 1.337 GB, free: 6.156 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.303, allocations: 130.7 kB / 1.337 GB, free: 6.016 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.3031, allocations: 131.5 kB / 1.337 GB, free: 5.879 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.3031, allocations: 29.7 kB / 1.337 GB, free: 5.844 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.3032, allocations: 84.14 kB / 1.337 GB, free: 5.758 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.3032, allocations: 4 kB / 1.337 GB, free: 5.754 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.3032, allocations: 25.75 kB / 1.337 GB, free: 5.723 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3033, allocations: 310.8 kB / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.3034, allocations: 8 kB / 1.338 GB, free: 5.402 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.621e-05/0.3034, allocations: 8 kB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.217e-05/0.3034, allocations: 12.84 kB / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3034, allocations: 0 / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001154/0.3035, allocations: 57.53 kB / 1.338 GB, free: 5.316 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.3035, allocations: 4 kB / 1.338 GB, free: 5.312 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.3036, allocations: 4 kB / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.3036, allocations: 0 / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-07/0.3036, allocations: 0 / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3036, allocations: 3.984 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.3036, allocations: 4.062 kB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.3036, allocations: 4 kB / 1.338 GB, free: 5.297 MB / 1.029 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 9.39e-05/0.3037, allocations: 181.1 kB / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-05/0.3038, allocations: 112.9 kB / 1.338 GB, free: 4.992 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.062e-05/0.3038, allocations: 112.7 kB / 1.338 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.276e-05/0.3039, allocations: 188.3 kB / 1.338 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.776e-05/0.304, allocations: 180.2 kB / 1.338 GB, free: 4.492 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.671e-05/0.304, allocations: 176.3 kB / 1.339 GB, free: 4.312 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.3043, allocations: 388.2 kB / 1.339 GB, free: 3.883 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.069e-05/0.3043, allocations: 108.9 kB / 1.339 GB, free: 3.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-05/0.3044, allocations: 112.9 kB / 1.339 GB, free: 3.652 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.996e-05/0.3044, allocations: 180.2 kB / 1.339 GB, free: 3.469 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.982e-05/0.3045, allocations: 184.3 kB / 1.339 GB, free: 3.281 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.809e-05/0.3046, allocations: 176.3 kB / 1.34 GB, free: 3.102 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.098e-05/0.3046, allocations: 184.2 kB / 1.34 GB, free: 2.914 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.3048, allocations: 315.6 kB / 1.34 GB, free: 2.582 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.3048, allocations: 113 kB / 1.34 GB, free: 2.465 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.488e-05/0.3049, allocations: 176.3 kB / 1.34 GB, free: 2.285 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.6e-05/0.305, allocations: 104.9 kB / 1.34 GB, free: 2.176 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/0.3051, allocations: 184.2 kB / 1.341 GB, free: 1.988 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.119e-05/0.3051, allocations: 108.9 kB / 1.341 GB, free: 1.875 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.388e-05/0.3052, allocations: 104.7 kB / 1.341 GB, free: 1.773 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3052, allocations: 0 / 1.341 GB, free: 1.773 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006963/0.3059, allocations: 291 kB / 1.341 GB, free: 1.488 MB / 1.029 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.001296/0.3072, allocations: 1.175 MB / 1.342 GB, free: 292 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.077e-05/0.3073, allocations: 45.58 kB / 1.342 GB, free: 240 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3073, allocations: 0 / 1.342 GB, free: 240 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-06/0.3073, allocations: 8.062 kB / 1.342 GB, free: 232 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.3077, allocations: 459.7 kB / 1.343 GB, free: 15.77 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.309, allocations: 1.591 MB / 1.344 GB, free: 14.1 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.56e-05/0.3091, allocations: 67.28 kB / 1.344 GB, free: 14.02 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.378e-05/0.3091, allocations: 4 kB / 1.344 GB, free: 14.01 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.3091, allocations: 15.38 kB / 1.344 GB, free: 14 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.3091, allocations: 4.031 kB / 1.344 GB, free: 13.99 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/0.3437, allocations: 7.647 MB / 1.352 GB, free: 6.535 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.46, allocations: 6.469 kB / 1.352 GB, free: 6.531 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.76979779699468] Failed to read output from testmodel.py, exit status != 0: 11.573596531990916 11.60066459 11.294944512 Calling exit ...