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.001586/0.001586, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.00179/0.00179, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.525/1.525, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.953/2.953, allocations: 0.5003 GB / 0.8026 GB, free: 6.738 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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="cs",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="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.002234/0.002234, allocations: 67.89 kB / 1.165 GB, free: 464 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9694/0.9716, allocations: 178.9 MB / 1.34 GB, free: 16.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002755/0.9744, allocations: 1.453 MB / 1.342 GB, free: 15.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004054/0.9784, allocations: 2.95 MB / 1.345 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.526e-05/0.9785, allocations: 0 / 1.345 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.9785, allocations: 7.078 kB / 1.345 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.765e-05/0.9786, allocations: 14.34 kB / 1.345 GB, free: 13.44 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004159/0.9827, allocations: 1.616 MB / 1.346 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.9828, allocations: 45.31 kB / 1.346 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.246e-05/0.9829, allocations: 3.547 kB / 1.346 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.512e-05/0.9829, allocations: 16.98 kB / 1.346 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.898e-05/0.983, allocations: 16.78 kB / 1.346 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.983, allocations: 1.375 kB / 1.346 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002645/0.9856, allocations: 1.555 MB / 1.348 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.9856, allocations: 9.438 kB / 1.348 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.9857, allocations: 16.02 kB / 1.348 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001878/0.9875, allocations: 1.099 MB / 1.349 GB, free: 11.79 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.9875, allocations: 0 / 1.349 GB, free: 11.79 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9875, allocations: 0 / 1.349 GB, free: 11.79 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.9876, allocations: 0 / 1.349 GB, free: 11.79 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.0006535/0.9882, allocations: 0.543 MB / 1.349 GB, free: 11.28 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.9883, allocations: 10.12 kB / 1.349 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.129e-05/0.9883, allocations: 75.47 kB / 1.349 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.599e-05/0.9883, allocations: 106.7 kB / 1.35 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.321e-05/0.9884, allocations: 82.61 kB / 1.35 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.9885, allocations: 257.3 kB / 1.35 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.9885, allocations: 156.6 kB / 1.35 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.9885, allocations: 154.7 kB / 1.35 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.33e-05/0.9886, allocations: 102.8 kB / 1.35 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.9886, allocations: 79.22 kB / 1.35 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.9886, allocations: 151.8 kB / 1.35 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.9886, allocations: 155.1 kB / 1.351 GB, free: 9.941 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.086e-05/0.9886, allocations: 151.7 kB / 1.351 GB, free: 9.793 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002108/0.9889, allocations: 465.6 kB / 1.351 GB, free: 9.305 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.578e-05/0.9889, allocations: 177.8 kB / 1.351 GB, free: 9.121 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.625e-05/0.9889, allocations: 84.08 kB / 1.351 GB, free: 9.035 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.9889, allocations: 84.33 kB / 1.352 GB, free: 8.953 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.989, allocations: 107.7 kB / 1.352 GB, free: 8.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.989, allocations: 0 / 1.352 GB, free: 8.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.167e-05/0.989, allocations: 36.53 kB / 1.352 GB, free: 8.801 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.9891, allocations: 128.4 kB / 1.352 GB, free: 8.664 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.9892, allocations: 131.7 kB / 1.352 GB, free: 8.555 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.9892, allocations: 29.7 kB / 1.352 GB, free: 8.52 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/0.9892, allocations: 88.16 kB / 1.352 GB, free: 8.434 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.9892, allocations: 4.969 kB / 1.352 GB, free: 8.43 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.9893, allocations: 19.67 kB / 1.352 GB, free: 8.41 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.293e-05/0.9893, allocations: 314.2 kB / 1.352 GB, free: 8.098 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.32e-05/0.9893, allocations: 7 kB / 1.352 GB, free: 8.094 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.63e-05/0.9893, allocations: 4.562 kB / 1.352 GB, free: 8.094 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.305e-05/0.9894, allocations: 10.7 kB / 1.352 GB, free: 8.086 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9894, allocations: 4.031 kB / 1.352 GB, free: 8.082 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001187/0.9895, allocations: 57.41 kB / 1.352 GB, free: 8.035 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.9895, allocations: 7.625 kB / 1.352 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.9895, allocations: 3.375 kB / 1.352 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.9895, allocations: 0 / 1.352 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-06/0.9895, allocations: 0 / 1.352 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.9895, allocations: 6.031 kB / 1.352 GB, free: 8.031 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.9896, allocations: 7.938 kB / 1.352 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.9896, allocations: 2.594 kB / 1.352 GB, free: 8.023 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.155e-05/0.9896, allocations: 191 kB / 1.353 GB, free: 7.828 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.9897, allocations: 112.4 kB / 1.353 GB, free: 7.715 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.9897, allocations: 113.5 kB / 1.353 GB, free: 7.598 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.9897, allocations: 176.9 kB / 1.353 GB, free: 7.418 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.783e-05/0.9897, allocations: 182.1 kB / 1.353 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.684e-05/0.9898, allocations: 178.5 kB / 1.353 GB, free: 7.055 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.9899, allocations: 420.7 kB / 1.354 GB, free: 6.598 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/0.9899, allocations: 105.7 kB / 1.354 GB, free: 6.488 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-05/0.99, allocations: 103.3 kB / 1.354 GB, free: 6.383 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.638e-05/0.99, allocations: 182.5 kB / 1.354 GB, free: 6.199 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.99, allocations: 176.3 kB / 1.354 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.402e-05/0.99, allocations: 186.5 kB / 1.354 GB, free: 5.832 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.407e-05/0.9901, allocations: 191 kB / 1.355 GB, free: 5.641 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.982e-05/0.9901, allocations: 310.2 kB / 1.355 GB, free: 5.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/0.9902, allocations: 184.9 kB / 1.355 GB, free: 5.117 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.9902, allocations: 182.4 kB / 1.355 GB, free: 4.934 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.251e-05/0.9903, allocations: 106.9 kB / 1.355 GB, free: 4.824 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.9903, allocations: 178.1 kB / 1.356 GB, free: 4.645 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.9903, allocations: 107 kB / 1.356 GB, free: 4.535 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.441e-05/0.9903, allocations: 102.4 kB / 1.356 GB, free: 4.453 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9903, allocations: 0 / 1.356 GB, free: 4.453 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009788/0.9913, allocations: 290.3 kB / 1.356 GB, free: 4.379 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.001271/0.9926, allocations: 1.175 MB / 1.357 GB, free: 3.457 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.9927, allocations: 41.36 kB / 1.357 GB, free: 3.418 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9927, allocations: 0 / 1.357 GB, free: 3.418 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.9927, allocations: 4.781 kB / 1.357 GB, free: 3.414 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.993, allocations: 466.4 kB / 1.358 GB, free: 2.961 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.9941, allocations: 1.585 MB / 1.359 GB, free: 1.523 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.9942, allocations: 0.6863 MB / 1.36 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.387e-05/0.9943, allocations: 1.812 kB / 1.36 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.9943, allocations: 14.31 kB / 1.36 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.9943, allocations: 0 / 1.36 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02959/1.024, allocations: 7.191 MB / 1.367 GB, free: 20 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.48/9.504, allocations: 13.86 kB / 1.367 GB, free: 8 kB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.995626892021392] Failed to read output from testmodel.py, exit status != 0: 9.635312389000319 9.659933054 8.667479406 Calling exit ...