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.001354/0.001354, allocations: 104 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.00143/0.00143, 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.412/1.412, allocations: 230.6 MB / 252.8 MB, free: 9.145 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.156/3.156, allocations: 0.49 GB / 0.7916 GB, free: 33.52 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.002009/0.002009, allocations: 69.73 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3851, allocations: 176.1 MB / 1.321 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002789/0.3878, allocations: 1.461 MB / 1.322 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00478/0.3926, allocations: 2.926 MB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.3927, allocations: 0 / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.3927, allocations: 7.922 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.789e-05/0.3928, allocations: 19.81 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004223/0.397, allocations: 1.63 MB / 1.327 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.3971, allocations: 39.69 kB / 1.327 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.3971, allocations: 7.984 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.052e-05/0.3972, allocations: 15.94 kB / 1.327 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 2.659e-05/0.3972, allocations: 7.938 kB / 1.327 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.3972, allocations: 4 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.3996, allocations: 1.552 MB / 1.328 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.3996, allocations: 7.938 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.3997, allocations: 27.86 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.4012, allocations: 1.099 MB / 1.329 GB, free: 10.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.4012, allocations: 3.938 kB / 1.329 GB, free: 10.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4012, allocations: 0 / 1.329 GB, free: 10.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.361e-06/0.4012, allocations: 0 / 1.329 GB, free: 10.49 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.0006791/0.4019, allocations: 0.5363 MB / 1.33 GB, free: 9.902 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.4019, allocations: 8.031 kB / 1.33 GB, free: 9.895 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.609e-05/0.402, allocations: 110 kB / 1.33 GB, free: 9.777 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.96e-05/0.4021, allocations: 84.17 kB / 1.33 GB, free: 9.695 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.4023, allocations: 249.3 kB / 1.33 GB, free: 9.414 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.491e-05/0.4023, allocations: 154.9 kB / 1.331 GB, free: 9.262 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.389e-05/0.4024, allocations: 150.9 kB / 1.331 GB, free: 9.113 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.132e-05/0.4025, allocations: 112.9 kB / 1.331 GB, free: 8.996 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/0.4025, allocations: 75.28 kB / 1.331 GB, free: 8.922 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.112e-05/0.4026, allocations: 158.6 kB / 1.331 GB, free: 8.766 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.818e-05/0.4026, allocations: 150.6 kB / 1.331 GB, free: 8.617 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.657e-05/0.4027, allocations: 150.6 kB / 1.331 GB, free: 8.469 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.4031, allocations: 465.9 kB / 1.332 GB, free: 7.965 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.4032, allocations: 177.1 kB / 1.332 GB, free: 7.781 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.994e-05/0.4032, allocations: 80.14 kB / 1.332 GB, free: 7.699 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.4032, allocations: 79.22 kB / 1.332 GB, free: 7.621 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.641e-05/0.4033, allocations: 105.8 kB / 1.332 GB, free: 7.508 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.4033, allocations: 0 / 1.332 GB, free: 7.508 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.138e-05/0.4034, allocations: 33.66 kB / 1.332 GB, free: 7.469 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.4034, allocations: 126.7 kB / 1.332 GB, free: 7.332 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.4036, allocations: 133.8 kB / 1.333 GB, free: 7.191 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.4036, allocations: 29.64 kB / 1.333 GB, free: 7.156 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/0.4037, allocations: 96.06 kB / 1.333 GB, free: 7.059 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.4037, allocations: 0 / 1.333 GB, free: 7.059 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.4037, allocations: 17.72 kB / 1.333 GB, free: 7.035 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.4039, allocations: 318.8 kB / 1.333 GB, free: 6.715 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.601e-05/0.4039, allocations: 4 kB / 1.333 GB, free: 6.711 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.636e-05/0.4039, allocations: 4 kB / 1.333 GB, free: 6.707 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.047e-05/0.404, allocations: 16.89 kB / 1.333 GB, free: 6.688 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.404, allocations: 0 / 1.333 GB, free: 6.688 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001571/0.4041, allocations: 53.58 kB / 1.333 GB, free: 6.629 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.4041, allocations: 5.875 kB / 1.333 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.4042, allocations: 4 kB / 1.333 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.4042, allocations: 0 / 1.333 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.4042, allocations: 0 / 1.333 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.4042, allocations: 3.938 kB / 1.333 GB, free: 6.617 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.4042, allocations: 4 kB / 1.333 GB, free: 6.613 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.4042, allocations: 0 / 1.333 GB, free: 6.613 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 0.0001208/0.4043, allocations: 189.2 kB / 1.333 GB, free: 6.418 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-05/0.4044, allocations: 120.8 kB / 1.333 GB, free: 6.293 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.161e-05/0.4045, allocations: 112.8 kB / 1.333 GB, free: 6.172 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.372e-05/0.4045, allocations: 180.2 kB / 1.334 GB, free: 5.988 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-05/0.4046, allocations: 176.3 kB / 1.334 GB, free: 5.809 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.31e-05/0.4047, allocations: 188.2 kB / 1.334 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.405, allocations: 417.1 kB / 1.334 GB, free: 5.152 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.451e-05/0.4051, allocations: 101 kB / 1.334 GB, free: 5.047 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-05/0.4051, allocations: 104.9 kB / 1.335 GB, free: 4.938 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.348e-05/0.4052, allocations: 180.3 kB / 1.335 GB, free: 4.754 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-05/0.4053, allocations: 196.2 kB / 1.335 GB, free: 4.555 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.106e-05/0.4054, allocations: 180.2 kB / 1.335 GB, free: 4.371 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.669e-05/0.4054, allocations: 180.2 kB / 1.335 GB, free: 4.188 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.4056, allocations: 307.8 kB / 1.336 GB, free: 3.863 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.4057, allocations: 190 kB / 1.336 GB, free: 3.652 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.4058, allocations: 184.3 kB / 1.336 GB, free: 3.465 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.013e-05/0.4059, allocations: 104.9 kB / 1.336 GB, free: 3.355 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.331e-05/0.406, allocations: 176.3 kB / 1.336 GB, free: 3.176 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.781e-05/0.4061, allocations: 101 kB / 1.336 GB, free: 3.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.006e-05/0.4061, allocations: 107.2 kB / 1.336 GB, free: 2.965 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4061, allocations: 0 / 1.336 GB, free: 2.965 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008777/0.407, allocations: 291 kB / 1.337 GB, free: 2.68 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.001612/0.4086, allocations: 1.175 MB / 1.338 GB, free: 1.477 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.4088, allocations: 45.69 kB / 1.338 GB, free: 1.426 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4088, allocations: 3.938 kB / 1.338 GB, free: 1.422 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.4088, allocations: 0 / 1.338 GB, free: 1.422 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.4092, allocations: 465.8 kB / 1.338 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.411, allocations: 1.587 MB / 1.34 GB, free: 15.3 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.4114, allocations: 0.6924 MB / 1.341 GB, free: 14.58 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.493e-05/0.4114, allocations: 0 / 1.341 GB, free: 14.58 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.4114, allocations: 15.38 kB / 1.341 GB, free: 14.56 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/0.4114, allocations: 7.938 kB / 1.341 GB, free: 14.55 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03403/0.4454, allocations: 7.115 MB / 1.347 GB, free: 7.656 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.223/8.668, allocations: 10.41 kB / 1.347 GB, free: 7.648 MB / 1.045 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 15.37141433591023] Failed to read output from testmodel.py, exit status != 0: 8.74169277609326 8.765185188 8.359748262 Calling exit ...