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.001819/0.001819, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.002259/0.002259, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.469/1.469, allocations: 230.6 MB / 252.8 MB, free: 9.09 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.744/2.744, allocations: 476.7 MB / 0.7672 GB, free: 5.148 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.001988/0.001988, allocations: 67.91 kB / 1.112 GB, free: 1.387 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7637/0.7657, allocations: 169.9 MB / 1.278 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002729/0.7684, allocations: 1.463 MB / 1.28 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004745/0.7732, allocations: 2.988 MB / 1.283 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.7732, allocations: 3.938 kB / 1.283 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.351e-05/0.7732, allocations: 3.938 kB / 1.283 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.258e-05/0.7733, allocations: 15.84 kB / 1.283 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004191/0.7775, allocations: 1.645 MB / 1.284 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.7776, allocations: 43.67 kB / 1.284 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.7777, allocations: 8 kB / 1.284 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.056e-05/0.7777, allocations: 19.91 kB / 1.284 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.922e-05/0.7777, allocations: 15.94 kB / 1.284 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.7777, allocations: 0 / 1.284 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.7802, allocations: 1.595 MB / 1.286 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.7802, allocations: 15.92 kB / 1.286 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.7802, allocations: 15.88 kB / 1.286 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.7818, allocations: 1.134 MB / 1.287 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7818, allocations: 0 / 1.287 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7818, allocations: 4 kB / 1.287 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.7818, allocations: 0 / 1.287 GB, free: 4.34 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.000701/0.7825, allocations: 0.5401 MB / 1.288 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.7826, allocations: 8.031 kB / 1.288 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.863e-05/0.7826, allocations: 106 kB / 1.288 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.7827, allocations: 84.17 kB / 1.288 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.7829, allocations: 257.6 kB / 1.288 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-05/0.783, allocations: 158.9 kB / 1.288 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.806e-05/0.7831, allocations: 154.9 kB / 1.288 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.04e-05/0.7831, allocations: 112.9 kB / 1.288 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.539e-05/0.7832, allocations: 75.28 kB / 1.289 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.61e-05/0.7832, allocations: 150.6 kB / 1.289 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-05/0.7833, allocations: 150.6 kB / 1.289 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.529e-05/0.7834, allocations: 162.5 kB / 1.289 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/0.7837, allocations: 461.9 kB / 1.289 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.7838, allocations: 169.1 kB / 1.29 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.735e-05/0.7839, allocations: 88.08 kB / 1.29 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.7839, allocations: 95.2 kB / 1.29 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.892e-05/0.784, allocations: 109.8 kB / 1.29 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.784, allocations: 0 / 1.29 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.356e-05/0.7841, allocations: 33.66 kB / 1.29 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/0.7841, allocations: 126.7 kB / 1.29 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.7843, allocations: 133.8 kB / 1.29 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.7843, allocations: 25.7 kB / 1.29 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.7844, allocations: 92.14 kB / 1.29 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.7844, allocations: 0 / 1.29 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.7844, allocations: 17.72 kB / 1.29 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.7845, allocations: 318.8 kB / 1.291 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.397e-05/0.7846, allocations: 4 kB / 1.291 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.513e-05/0.7846, allocations: 4 kB / 1.291 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.559e-05/0.7846, allocations: 20.8 kB / 1.291 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7846, allocations: 0 / 1.291 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001391/0.7848, allocations: 61.61 kB / 1.291 GB, free: 452 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.7848, allocations: 4 kB / 1.291 GB, free: 448 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/0.7848, allocations: 4 kB / 1.291 GB, free: 444 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.7848, allocations: 0 / 1.291 GB, free: 444 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-07/0.7848, allocations: 0 / 1.291 GB, free: 444 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.7848, allocations: 0 / 1.291 GB, free: 444 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.505e-05/0.7848, allocations: 3.938 kB / 1.291 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.7848, allocations: 4 kB / 1.291 GB, free: 436 kB / 0.9825 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.00012/0.785, allocations: 185.7 kB / 1.291 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.7851, allocations: 124.8 kB / 1.291 GB, free: 108 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.471e-05/0.7852, allocations: 104.9 kB / 1.291 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001047/0.7853, allocations: 184.2 kB / 1.291 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001052/0.7854, allocations: 180.2 kB / 1.291 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.876e-05/0.7855, allocations: 180.2 kB / 1.292 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.7858, allocations: 425.1 kB / 1.292 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.444e-05/0.7859, allocations: 101 kB / 1.292 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.335e-05/0.7859, allocations: 104.9 kB / 1.292 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-05/0.786, allocations: 176.3 kB / 1.292 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.981e-05/0.7861, allocations: 184.2 kB / 1.293 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.839e-05/0.7862, allocations: 192.3 kB / 1.293 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.363e-05/0.7862, allocations: 180.3 kB / 1.293 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.7864, allocations: 311.7 kB / 1.293 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.7865, allocations: 190 kB / 1.293 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.944e-05/0.7866, allocations: 180.2 kB / 1.294 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/0.7867, allocations: 109 kB / 1.294 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.7868, allocations: 180.2 kB / 1.294 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-05/0.7868, allocations: 108.9 kB / 1.294 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.277e-05/0.7869, allocations: 101 kB / 1.294 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7869, allocations: 0 / 1.294 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009485/0.7879, allocations: 295 kB / 1.294 GB, free: 12.48 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.001544/0.7894, allocations: 1.194 MB / 1.295 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.7895, allocations: 41.7 kB / 1.296 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7895, allocations: 4 kB / 1.296 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.993e-06/0.7895, allocations: 0 / 1.296 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.7899, allocations: 463.7 kB / 1.296 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.7915, allocations: 1.612 MB / 1.298 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.7918, allocations: 0.6885 MB / 1.298 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.634e-05/0.7918, allocations: 3.906 kB / 1.298 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.7919, allocations: 15.44 kB / 1.298 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/0.7919, allocations: 0 / 1.298 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03417/0.826, allocations: 7.338 MB / 1.305 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.415/9.241, allocations: 8.375 kB / 1.305 GB, free: 1.207 MB / 0.9981 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 15.273754240013659] Failed to read output from testmodel.py, exit status != 0: 9.314729916863143 9.338168509 8.551880033 Calling exit ...