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.001606/0.001606, allocations: 115.5 kB / 17.16 MB, free: 5.98 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.001857/0.001857, allocations: 209.5 kB / 20.13 MB, free: 3.031 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.449/1.449, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 2.952/2.952, allocations: 0.5003 GB / 0.8026 GB, free: 6.898 MB / 0.6387 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="cs",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="cs",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.001978/0.001978, allocations: 63.91 kB / 1.165 GB, free: 452 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8848/0.8867, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002181/0.8889, allocations: 1.469 MB / 1.342 GB, free: 15.24 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003639/0.8926, allocations: 2.976 MB / 1.345 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.8926, allocations: 1.375 kB / 1.345 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.8926, allocations: 9.953 kB / 1.345 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.195e-05/0.8927, allocations: 15.16 kB / 1.345 GB, free: 13.18 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003555/0.8962, allocations: 1.647 MB / 1.346 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.208e-05/0.8963, allocations: 42.84 kB / 1.346 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.592e-05/0.8964, allocations: 10.02 kB / 1.346 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.056e-05/0.8964, allocations: 14.36 kB / 1.346 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.655e-05/0.8964, allocations: 17.06 kB / 1.346 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.8964, allocations: 1.375 kB / 1.346 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002284/0.8987, allocations: 1.606 MB / 1.348 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.8987, allocations: 5.25 kB / 1.348 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.8988, allocations: 20.88 kB / 1.348 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.9004, allocations: 1.134 MB / 1.349 GB, free: 11.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.9004, allocations: 1.469 kB / 1.349 GB, free: 11.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9004, allocations: 0 / 1.349 GB, free: 11.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.9004, allocations: 3.938 kB / 1.349 GB, free: 11.5 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.0005633/0.9009, allocations: 0.5364 MB / 1.349 GB, free: 10.99 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.901, allocations: 10.09 kB / 1.35 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.954e-05/0.901, allocations: 79.47 kB / 1.35 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.054e-05/0.901, allocations: 110 kB / 1.35 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.9011, allocations: 83.27 kB / 1.35 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.847e-05/0.9011, allocations: 255 kB / 1.35 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.9012, allocations: 154.9 kB / 1.35 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.9012, allocations: 159.9 kB / 1.35 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.234e-05/0.9012, allocations: 109.6 kB / 1.35 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.9013, allocations: 75.28 kB / 1.35 GB, free: 9.941 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.9013, allocations: 151.9 kB / 1.351 GB, free: 9.793 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.9013, allocations: 151.1 kB / 1.351 GB, free: 9.645 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.073e-05/0.9013, allocations: 151.8 kB / 1.351 GB, free: 9.496 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.9015, allocations: 470.3 kB / 1.351 GB, free: 9.004 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.044e-05/0.9015, allocations: 173.7 kB / 1.352 GB, free: 8.824 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.555e-05/0.9015, allocations: 85.42 kB / 1.352 GB, free: 8.738 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.9016, allocations: 79.28 kB / 1.352 GB, free: 8.66 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.9016, allocations: 112.1 kB / 1.352 GB, free: 8.543 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.9016, allocations: 0 / 1.352 GB, free: 8.543 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.701e-05/0.9016, allocations: 32.58 kB / 1.352 GB, free: 8.508 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.9017, allocations: 130.6 kB / 1.352 GB, free: 8.367 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.9018, allocations: 134.6 kB / 1.352 GB, free: 8.258 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.9018, allocations: 25.7 kB / 1.352 GB, free: 8.227 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.735e-05/0.9018, allocations: 92.16 kB / 1.352 GB, free: 8.137 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.9018, allocations: 0 / 1.352 GB, free: 8.137 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.9018, allocations: 25.36 kB / 1.352 GB, free: 8.113 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.968e-05/0.9019, allocations: 314.6 kB / 1.353 GB, free: 7.801 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.276e-05/0.9019, allocations: 7.531 kB / 1.353 GB, free: 7.797 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.521e-05/0.9019, allocations: 4.125 kB / 1.353 GB, free: 7.797 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.308e-05/0.902, allocations: 15.31 kB / 1.353 GB, free: 7.785 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.902, allocations: 0 / 1.353 GB, free: 7.785 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001069/0.9021, allocations: 55.06 kB / 1.353 GB, free: 7.742 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.9021, allocations: 5.406 kB / 1.353 GB, free: 7.742 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.9021, allocations: 8.031 kB / 1.353 GB, free: 7.738 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.9021, allocations: 0 / 1.353 GB, free: 7.738 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.9021, allocations: 0 / 1.353 GB, free: 7.738 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.9021, allocations: 1.719 kB / 1.353 GB, free: 7.738 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.9021, allocations: 13.08 kB / 1.353 GB, free: 7.727 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.9021, allocations: 5.109 kB / 1.353 GB, free: 7.723 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 5.889e-05/0.9022, allocations: 192.4 kB / 1.353 GB, free: 7.527 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.9022, allocations: 112 kB / 1.353 GB, free: 7.414 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.422e-05/0.9023, allocations: 116.7 kB / 1.353 GB, free: 7.293 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/0.9023, allocations: 177.9 kB / 1.353 GB, free: 7.113 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-05/0.9023, allocations: 178 kB / 1.353 GB, free: 6.934 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/0.9023, allocations: 180.8 kB / 1.354 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.9025, allocations: 418.5 kB / 1.354 GB, free: 6.297 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/0.9025, allocations: 109.5 kB / 1.354 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.293e-05/0.9025, allocations: 102.8 kB / 1.354 GB, free: 6.078 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.221e-05/0.9025, allocations: 177.9 kB / 1.354 GB, free: 5.898 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.9025, allocations: 182.3 kB / 1.354 GB, free: 5.715 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.318e-05/0.9026, allocations: 185.6 kB / 1.355 GB, free: 5.527 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.29e-05/0.9026, allocations: 185.9 kB / 1.355 GB, free: 5.34 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.727e-05/0.9026, allocations: 307.4 kB / 1.355 GB, free: 5.023 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.9027, allocations: 193.7 kB / 1.355 GB, free: 4.812 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.9027, allocations: 177.9 kB / 1.355 GB, free: 4.633 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.729e-05/0.9028, allocations: 106.7 kB / 1.356 GB, free: 4.523 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.9028, allocations: 182.2 kB / 1.356 GB, free: 4.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.9028, allocations: 102.6 kB / 1.356 GB, free: 4.234 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.559e-05/0.9029, allocations: 106.9 kB / 1.356 GB, free: 4.148 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9029, allocations: 1.062 kB / 1.356 GB, free: 4.148 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008134/0.9037, allocations: 294.5 kB / 1.356 GB, free: 4.074 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.001178/0.9048, allocations: 1.191 MB / 1.357 GB, free: 3.148 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.9049, allocations: 39.94 kB / 1.357 GB, free: 3.113 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.905, allocations: 0 / 1.357 GB, free: 3.113 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/0.905, allocations: 3.938 kB / 1.357 GB, free: 3.109 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.9052, allocations: 470.1 kB / 1.358 GB, free: 2.652 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.9064, allocations: 1.62 MB / 1.359 GB, free: 1.195 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.9065, allocations: 0.6824 MB / 1.36 GB, free: 0.5 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.338e-05/0.9065, allocations: 5.656 kB / 1.36 GB, free: 0.4961 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.9066, allocations: 14.92 kB / 1.36 GB, free: 496 kB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/0.9066, allocations: 0 / 1.36 GB, free: 496 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.934, allocations: 7.397 MB / 1.367 GB, free: 15.68 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.477/9.411, allocations: 11.14 kB / 1.367 GB, free: 15.67 MB / 1.076 GB " [Timeout remaining time 290] (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: 15.687569943023846] Failed to read output from testmodel.py, exit status != 0: 9.540419251017738 9.563589948 8.659465579999999 Calling exit ...