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.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.002008/0.002008, allocations: 102.5 kB / 16.45 MB, free: 6.449 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.002435/0.002435, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.487/1.487, allocations: 230.6 MB / 252.8 MB, free: 9.141 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.351/3.351, allocations: 0.505 GB / 0.8066 GB, free: 23.15 MB / 0.6231 GB " [Timeout remaining time 176] 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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_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_latest_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.003499/0.003499, allocations: 66.23 kB / 1.172 GB, free: 17.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3475, allocations: 180.2 MB / 1.348 GB, free: 10.05 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002594/0.3501, allocations: 1.447 MB / 1.349 GB, free: 8.59 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00467/0.3547, allocations: 2.934 MB / 1.352 GB, free: 5.641 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.3548, allocations: 0 / 1.352 GB, free: 5.641 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.3548, allocations: 7.938 kB / 1.352 GB, free: 5.633 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.566e-05/0.3548, allocations: 11.86 kB / 1.352 GB, free: 5.621 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003926/0.3588, allocations: 1.628 MB / 1.354 GB, free: 4.004 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.52e-05/0.3589, allocations: 39.73 kB / 1.354 GB, free: 3.965 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.3589, allocations: 4 kB / 1.354 GB, free: 3.961 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.897e-05/0.3589, allocations: 15.92 kB / 1.354 GB, free: 3.945 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.992e-05/0.359, allocations: 23.8 kB / 1.354 GB, free: 3.922 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.328e-06/0.359, allocations: 0 / 1.354 GB, free: 3.922 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002343/0.3613, allocations: 1.552 MB / 1.355 GB, free: 2.367 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.3613, allocations: 7.984 kB / 1.355 GB, free: 2.359 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.3614, allocations: 23.81 kB / 1.355 GB, free: 2.336 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.3629, allocations: 1.103 MB / 1.356 GB, free: 1.23 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3629, allocations: 0 / 1.356 GB, free: 1.23 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3629, allocations: 4 kB / 1.356 GB, free: 1.227 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.3629, allocations: 0 / 1.356 GB, free: 1.227 MB / 1.045 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.0006741/0.3636, allocations: 0.5324 MB / 1.357 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.3636, allocations: 12.03 kB / 1.357 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.072e-05/0.3637, allocations: 106 kB / 1.357 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.355e-05/0.3638, allocations: 84.17 kB / 1.357 GB, free: 448 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.364, allocations: 255.6 kB / 1.357 GB, free: 152 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.079e-05/0.3641, allocations: 154.9 kB / 1.358 GB, free: 16 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.663e-05/0.3641, allocations: 154.9 kB / 1.358 GB, free: 15.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.34e-05/0.3642, allocations: 104.9 kB / 1.358 GB, free: 15.73 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.3642, allocations: 75.28 kB / 1.358 GB, free: 15.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.423e-05/0.3643, allocations: 158.6 kB / 1.358 GB, free: 15.5 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.217e-05/0.3644, allocations: 154.6 kB / 1.358 GB, free: 15.35 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.643e-05/0.3644, allocations: 154.6 kB / 1.358 GB, free: 15.2 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.3648, allocations: 461.9 kB / 1.359 GB, free: 14.7 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.3649, allocations: 177.1 kB / 1.359 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.123e-05/0.3649, allocations: 80.14 kB / 1.359 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.661e-05/0.365, allocations: 79.22 kB / 1.359 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/0.365, allocations: 105.8 kB / 1.359 GB, free: 14.24 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.365, allocations: 0 / 1.359 GB, free: 14.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.22e-05/0.3651, allocations: 37.59 kB / 1.359 GB, free: 14.2 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/0.3652, allocations: 138.7 kB / 1.359 GB, free: 14.05 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.3654, allocations: 128 kB / 1.359 GB, free: 13.92 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.3654, allocations: 25.7 kB / 1.359 GB, free: 13.89 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.3654, allocations: 92.14 kB / 1.36 GB, free: 13.79 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-06/0.3654, allocations: 0 / 1.36 GB, free: 13.79 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.3655, allocations: 13.72 kB / 1.36 GB, free: 13.77 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3656, allocations: 318.8 kB / 1.36 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.338e-05/0.3657, allocations: 4 kB / 1.36 GB, free: 13.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.817e-05/0.3657, allocations: 12 kB / 1.36 GB, free: 13.44 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.734e-05/0.3657, allocations: 12.86 kB / 1.36 GB, free: 13.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.3657, allocations: 3.938 kB / 1.36 GB, free: 13.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001343/0.3659, allocations: 61.52 kB / 1.36 GB, free: 13.35 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3659, allocations: 4 kB / 1.36 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.3659, allocations: 4 kB / 1.36 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3659, allocations: 3.938 kB / 1.36 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.3659, allocations: 0 / 1.36 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.3659, allocations: 0 / 1.36 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.932e-05/0.3659, allocations: 0 / 1.36 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.3659, allocations: 8.062 kB / 1.36 GB, free: 13.33 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.0001187/0.3661, allocations: 185.8 kB / 1.36 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-05/0.3661, allocations: 112.9 kB / 1.36 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.33e-05/0.3662, allocations: 108.8 kB / 1.36 GB, free: 12.9 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.286e-05/0.3663, allocations: 184.3 kB / 1.361 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.427e-05/0.3664, allocations: 184.2 kB / 1.361 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.439e-05/0.3665, allocations: 180.2 kB / 1.361 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.3667, allocations: 413.2 kB / 1.361 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-05/0.3668, allocations: 104.9 kB / 1.361 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.3669, allocations: 105 kB / 1.362 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.471e-05/0.3669, allocations: 180.2 kB / 1.362 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.934e-05/0.367, allocations: 188.2 kB / 1.362 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.958e-05/0.3671, allocations: 180.3 kB / 1.362 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.402e-05/0.3672, allocations: 180.2 kB / 1.362 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.3674, allocations: 315.6 kB / 1.363 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.3675, allocations: 190.1 kB / 1.363 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.611e-05/0.3676, allocations: 176.3 kB / 1.363 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.252e-05/0.3677, allocations: 104.9 kB / 1.363 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.375e-05/0.3677, allocations: 180.3 kB / 1.363 GB, free: 9.906 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.754e-05/0.3678, allocations: 112.9 kB / 1.363 GB, free: 9.789 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.775e-05/0.3679, allocations: 96.67 kB / 1.363 GB, free: 9.695 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3679, allocations: 0 / 1.363 GB, free: 9.695 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007927/0.3687, allocations: 295 kB / 1.364 GB, free: 9.406 MB / 1.061 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.001418/0.3701, allocations: 1.179 MB / 1.365 GB, free: 8.199 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.3702, allocations: 41.62 kB / 1.365 GB, free: 8.152 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3702, allocations: 0 / 1.365 GB, free: 8.152 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.3702, allocations: 4 kB / 1.365 GB, free: 8.148 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.3706, allocations: 463.7 kB / 1.365 GB, free: 7.691 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.3721, allocations: 1.597 MB / 1.367 GB, free: 6.016 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.3725, allocations: 0.6768 MB / 1.367 GB, free: 5.312 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.155e-05/0.3725, allocations: 4 kB / 1.367 GB, free: 5.309 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.3725, allocations: 19.38 kB / 1.367 GB, free: 5.293 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.3725, allocations: 0 / 1.367 GB, free: 5.293 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03195/0.4045, allocations: 7.136 MB / 1.374 GB, free: 14.36 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.349/8.753, allocations: 8.938 kB / 1.374 GB, free: 14.35 MB / 1.076 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.69382650917396] Failed to read output from testmodel.py, exit status != 0: 8.827941408148035 8.849638181 8.482372271000001 Calling exit ...