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.InternalResistancesOneUTube.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.00137/0.00137, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001851/0.001851, allocations: 211.7 kB / 23.02 MB, free: 4.953 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1/3.1, allocations: 0.5003 GB / 0.8062 GB, free: 28.24 MB / 0.6231 GB " [Timeout remaining time 177] 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.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.001987/0.001987, allocations: 71.62 kB / 1.171 GB, free: 19.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.344, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002652/0.3466, allocations: 1.418 MB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004347/0.351, allocations: 2.65 MB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.367e-05/0.351, allocations: 0 / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.276e-05/0.351, allocations: 3.938 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.209e-05/0.3511, allocations: 11.86 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004072/0.3552, allocations: 1.635 MB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.284e-05/0.3553, allocations: 43.73 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.3553, allocations: 0 / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.199e-05/0.3553, allocations: 15.92 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.181e-05/0.3554, allocations: 15.88 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.3554, allocations: 0 / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002404/0.3578, allocations: 1.552 MB / 1.353 GB, free: 8.551 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.3578, allocations: 7.984 kB / 1.353 GB, free: 8.543 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.3578, allocations: 19.88 kB / 1.353 GB, free: 8.523 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.3594, allocations: 1.083 MB / 1.354 GB, free: 7.438 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3594, allocations: 4 kB / 1.354 GB, free: 7.434 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3594, allocations: 4 kB / 1.354 GB, free: 7.43 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3594, allocations: 0 / 1.354 GB, free: 7.43 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.0006032/0.36, allocations: 464.1 kB / 1.354 GB, free: 6.945 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.36, allocations: 11.98 kB / 1.354 GB, free: 6.934 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.734e-05/0.3601, allocations: 79.45 kB / 1.354 GB, free: 6.855 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.566e-05/0.3601, allocations: 106 kB / 1.354 GB, free: 6.742 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.506e-05/0.3602, allocations: 84.17 kB / 1.354 GB, free: 6.66 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.3603, allocations: 185.8 kB / 1.355 GB, free: 6.453 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.081e-05/0.3604, allocations: 166.9 kB / 1.355 GB, free: 6.289 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.373e-05/0.3605, allocations: 158.7 kB / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.181e-05/0.3605, allocations: 104.9 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/0.3606, allocations: 79.22 kB / 1.355 GB, free: 5.945 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.3606, allocations: 154.6 kB / 1.355 GB, free: 5.793 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.045e-05/0.3607, allocations: 150.6 kB / 1.355 GB, free: 5.645 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.975e-05/0.3608, allocations: 150.6 kB / 1.355 GB, free: 5.496 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.3611, allocations: 436.9 kB / 1.356 GB, free: 5.027 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.694e-05/0.3612, allocations: 173.1 kB / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.895e-05/0.3612, allocations: 84.08 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.3612, allocations: 75.28 kB / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/0.3613, allocations: 109.8 kB / 1.356 GB, free: 4.57 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3613, allocations: 4 kB / 1.356 GB, free: 4.566 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.563e-05/0.3614, allocations: 33.66 kB / 1.356 GB, free: 4.527 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.3614, allocations: 126.7 kB / 1.356 GB, free: 4.391 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.3616, allocations: 135.7 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.3616, allocations: 25.7 kB / 1.357 GB, free: 4.219 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.3616, allocations: 92.09 kB / 1.357 GB, free: 4.125 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-06/0.3616, allocations: 3.938 kB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.3617, allocations: 17.72 kB / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3618, allocations: 322.9 kB / 1.357 GB, free: 3.773 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.161e-05/0.3618, allocations: 4 kB / 1.357 GB, free: 3.77 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.878e-05/0.3619, allocations: 12 kB / 1.357 GB, free: 3.758 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.477e-05/0.3619, allocations: 8.859 kB / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3619, allocations: 0 / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001298/0.362, allocations: 49.62 kB / 1.357 GB, free: 3.691 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.362, allocations: 8 kB / 1.357 GB, free: 3.684 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.3621, allocations: 3.984 kB / 1.357 GB, free: 3.68 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3621, allocations: 4 kB / 1.357 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.395e-06/0.3621, allocations: 4 kB / 1.357 GB, free: 3.672 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.3621, allocations: 3.938 kB / 1.357 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.3621, allocations: 3.953 kB / 1.357 GB, free: 3.664 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.3621, allocations: 0 / 1.357 GB, free: 3.664 MB / 1.045 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.0001054/0.3622, allocations: 193.1 kB / 1.357 GB, free: 3.465 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.3623, allocations: 109 kB / 1.357 GB, free: 3.352 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.829e-05/0.3623, allocations: 112.6 kB / 1.357 GB, free: 3.227 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-05/0.3624, allocations: 184.2 kB / 1.358 GB, free: 3.039 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.046e-05/0.3625, allocations: 176.3 kB / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.577e-05/0.3626, allocations: 184.2 kB / 1.358 GB, free: 2.672 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.3628, allocations: 392.2 kB / 1.358 GB, free: 2.238 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.303e-05/0.3628, allocations: 101 kB / 1.358 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.3629, allocations: 108.9 kB / 1.359 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.848e-05/0.363, allocations: 180.2 kB / 1.359 GB, free: 1.836 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.732e-05/0.363, allocations: 188.2 kB / 1.359 GB, free: 1.645 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.16e-05/0.3631, allocations: 180.3 kB / 1.359 GB, free: 1.461 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.872e-05/0.3632, allocations: 184.2 kB / 1.359 GB, free: 1.273 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.3633, allocations: 307.7 kB / 1.36 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.607e-05/0.3634, allocations: 116.9 kB / 1.36 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.517e-05/0.3635, allocations: 188.2 kB / 1.36 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.264e-05/0.3636, allocations: 101 kB / 1.36 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.3636, allocations: 180.2 kB / 1.36 GB, free: 356 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-05/0.3637, allocations: 105 kB / 1.36 GB, free: 244 kB / 1.045 GB Notification: Performance of sorting global known variables: time 6.438e-05/0.3637, allocations: 100.8 kB / 1.36 GB, free: 144 kB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3637, allocations: 4 kB / 1.36 GB, free: 140 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008461/0.3646, allocations: 295 kB / 1.361 GB, free: 15.84 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.001442/0.366, allocations: 1.179 MB / 1.362 GB, free: 14.64 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.3661, allocations: 41.69 kB / 1.362 GB, free: 14.6 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3661, allocations: 0 / 1.362 GB, free: 14.6 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.913e-06/0.3661, allocations: 0 / 1.362 GB, free: 14.6 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.3666, allocations: 463.7 kB / 1.362 GB, free: 14.14 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.3681, allocations: 1.587 MB / 1.364 GB, free: 12.47 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.927e-05/0.3682, allocations: 71.23 kB / 1.364 GB, free: 12.38 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.294e-05/0.3682, allocations: 0 / 1.364 GB, free: 12.38 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.3682, allocations: 15.44 kB / 1.364 GB, free: 12.37 MB / 1.061 GB Notification: Performance of SimCode: time 8.21e-07/0.3682, allocations: 3.938 kB / 1.364 GB, free: 12.36 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.3991, allocations: 7.271 MB / 1.371 GB, free: 5.289 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.61, allocations: 2.188 kB / 1.371 GB, free: 5.289 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.240306901047006] Failed to read output from testmodel.py, exit status != 0: 11.771367441979237 11.79803282 11.433850685 Calling exit ...