Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00157/0.00157, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.00196/0.00196, allocations: 220 kB / 22.24 MB, free: 4.723 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.384/1.384, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.108/3.108, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002023/0.002023, allocations: 71.67 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3256, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002724/0.3284, allocations: 1.441 MB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004523/0.3329, allocations: 2.686 MB / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.982e-05/0.3329, allocations: 0 / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.333, allocations: 0 / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.7e-05/0.333, allocations: 19.78 kB / 1.368 GB, free: 9.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00439/0.3374, allocations: 1.639 MB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.3375, allocations: 39.69 kB / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.3376, allocations: 11.89 kB / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.433e-05/0.3376, allocations: 15.94 kB / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.719e-05/0.3376, allocations: 11.94 kB / 1.369 GB, free: 8.211 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.3376, allocations: 4 kB / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002571/0.3402, allocations: 1.478 MB / 1.371 GB, free: 6.727 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.3402, allocations: 11.92 kB / 1.371 GB, free: 6.715 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.3403, allocations: 19.92 kB / 1.371 GB, free: 6.695 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00178/0.342, allocations: 1.105 MB / 1.372 GB, free: 5.59 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3421, allocations: 0 / 1.372 GB, free: 5.59 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3421, allocations: 0 / 1.372 GB, free: 5.59 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.3421, allocations: 0 / 1.372 GB, free: 5.59 MB / 1.061 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.0006853/0.3427, allocations: 472 kB / 1.372 GB, free: 5.098 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3428, allocations: 12.75 kB / 1.372 GB, free: 5.086 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.265e-05/0.3429, allocations: 106 kB / 1.372 GB, free: 4.973 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.74e-05/0.3429, allocations: 84.17 kB / 1.372 GB, free: 4.891 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.3431, allocations: 193.8 kB / 1.373 GB, free: 4.676 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.599e-05/0.3432, allocations: 154.9 kB / 1.373 GB, free: 4.523 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-05/0.3432, allocations: 154.9 kB / 1.373 GB, free: 4.371 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.262e-05/0.3433, allocations: 120.8 kB / 1.373 GB, free: 4.246 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.962e-05/0.3434, allocations: 75.28 kB / 1.373 GB, free: 4.172 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.05e-05/0.3434, allocations: 150.6 kB / 1.373 GB, free: 4.023 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.551e-05/0.3435, allocations: 150.6 kB / 1.373 GB, free: 3.875 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.458e-05/0.3435, allocations: 150.6 kB / 1.373 GB, free: 3.727 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.3439, allocations: 437 kB / 1.374 GB, free: 3.258 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.344, allocations: 173.1 kB / 1.374 GB, free: 3.078 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.224e-05/0.344, allocations: 80.14 kB / 1.374 GB, free: 2.996 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.41e-05/0.3441, allocations: 83.22 kB / 1.374 GB, free: 2.914 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.561e-05/0.3441, allocations: 105.8 kB / 1.374 GB, free: 2.801 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.3441, allocations: 4 kB / 1.374 GB, free: 2.797 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.254e-05/0.3442, allocations: 33.66 kB / 1.374 GB, free: 2.758 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/0.3443, allocations: 130.7 kB / 1.374 GB, free: 2.617 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.3444, allocations: 133.8 kB / 1.375 GB, free: 2.477 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.3445, allocations: 25.7 kB / 1.375 GB, free: 2.445 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.3445, allocations: 100.1 kB / 1.375 GB, free: 2.344 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.3445, allocations: 0 / 1.375 GB, free: 2.344 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.3446, allocations: 17.72 kB / 1.375 GB, free: 2.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3447, allocations: 318.8 kB / 1.375 GB, free: 2 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.809e-05/0.3447, allocations: 4 kB / 1.375 GB, free: 1.996 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.912e-05/0.3448, allocations: 12 kB / 1.375 GB, free: 1.984 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.894e-05/0.3448, allocations: 12.8 kB / 1.375 GB, free: 1.969 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3448, allocations: 0 / 1.375 GB, free: 1.969 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001383/0.3449, allocations: 61.52 kB / 1.375 GB, free: 1.902 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.345, allocations: 6.031 kB / 1.375 GB, free: 1.898 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/0.345, allocations: 8 kB / 1.375 GB, free: 1.891 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.345, allocations: 0 / 1.375 GB, free: 1.891 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.345, allocations: 0 / 1.375 GB, free: 1.891 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.345, allocations: 4 kB / 1.375 GB, free: 1.887 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.142e-05/0.345, allocations: 0 / 1.375 GB, free: 1.887 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.345, allocations: 0 / 1.375 GB, free: 1.887 MB / 1.061 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.0001224/0.3451, allocations: 189.2 kB / 1.375 GB, free: 1.691 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.479e-05/0.3452, allocations: 108.9 kB / 1.375 GB, free: 1.578 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.449e-05/0.3453, allocations: 116.7 kB / 1.376 GB, free: 1.453 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.103e-05/0.3454, allocations: 180.3 kB / 1.376 GB, free: 1.27 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.507e-05/0.3455, allocations: 180.3 kB / 1.376 GB, free: 1.086 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.515e-05/0.3456, allocations: 180.2 kB / 1.376 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.3459, allocations: 388.2 kB / 1.376 GB, free: 484 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-05/0.3459, allocations: 105 kB / 1.377 GB, free: 372 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.424e-05/0.346, allocations: 113 kB / 1.377 GB, free: 252 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.916e-05/0.346, allocations: 180.2 kB / 1.377 GB, free: 64 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.041e-05/0.3461, allocations: 184.2 kB / 1.377 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.051e-05/0.3462, allocations: 184.2 kB / 1.377 GB, free: 15.69 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-05/0.3463, allocations: 180.2 kB / 1.377 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.3464, allocations: 311.7 kB / 1.378 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.3465, allocations: 116.9 kB / 1.378 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.262e-05/0.3466, allocations: 180.3 kB / 1.378 GB, free: 14.87 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.776e-05/0.3467, allocations: 104.9 kB / 1.378 GB, free: 14.76 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.974e-05/0.3468, allocations: 180.3 kB / 1.378 GB, free: 14.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.517e-05/0.3468, allocations: 105 kB / 1.378 GB, free: 14.47 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.252e-05/0.3469, allocations: 103.2 kB / 1.378 GB, free: 14.37 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3469, allocations: 0 / 1.378 GB, free: 14.37 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008499/0.3477, allocations: 299 kB / 1.379 GB, free: 14.07 MB / 1.076 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.001499/0.3492, allocations: 1.187 MB / 1.38 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001352/0.3494, allocations: 37.7 kB / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3494, allocations: 0 / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.308e-06/0.3494, allocations: 8 kB / 1.38 GB, free: 12.81 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.3498, allocations: 471.5 kB / 1.38 GB, free: 12.34 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.3515, allocations: 1.618 MB / 1.382 GB, free: 10.64 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.288e-05/0.3516, allocations: 67.59 kB / 1.382 GB, free: 10.56 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.678e-05/0.3516, allocations: 0 / 1.382 GB, free: 10.56 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.3517, allocations: 19.42 kB / 1.382 GB, free: 10.54 MB / 1.076 GB Notification: Performance of SimCode: time 1.202e-06/0.3517, allocations: 4.031 kB / 1.382 GB, free: 10.54 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03757/0.3892, allocations: 7.814 MB / 1.39 GB, free: 2.906 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.54, allocations: 8.062 kB / 1.39 GB, free: 2.898 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.002685714978725] Failed to read output from testmodel.py, exit status != 0: 11.651718738954514 11.668316764 11.322956571 Calling exit ...