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.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.001311/0.001311, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00148/0.00148, allocations: 216.5 kB / 23.04 MB, free: 5.078 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 8 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.7715 GB, free: 4.297 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.InternalResistancesOneUTube,fileNamePrefix="Buildings_11_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_11_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.001962/0.001962, allocations: 68.98 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3499, allocations: 170 MB / 1.284 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002817/0.3527, allocations: 1.474 MB / 1.286 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004838/0.3575, allocations: 2.95 MB / 1.289 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.474e-05/0.3576, allocations: 3.938 kB / 1.289 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.3576, allocations: 7.922 kB / 1.289 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.547e-05/0.3577, allocations: 15.88 kB / 1.289 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004255/0.3619, allocations: 1.674 MB / 1.29 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.971e-05/0.362, allocations: 47.61 kB / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.3621, allocations: 4 kB / 1.29 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.524e-05/0.3621, allocations: 19.91 kB / 1.29 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.91e-05/0.3621, allocations: 15.94 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.3621, allocations: 0 / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002779/0.3649, allocations: 1.716 MB / 1.292 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.3649, allocations: 3.938 kB / 1.292 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/0.365, allocations: 23.88 kB / 1.292 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001886/0.3668, allocations: 1.125 MB / 1.293 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3668, allocations: 0 / 1.293 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3668, allocations: 0 / 1.293 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.3669, allocations: 0 / 1.293 GB, free: 2.625 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.0007436/0.3676, allocations: 468 kB / 1.294 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.3676, allocations: 8.031 kB / 1.294 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.254e-05/0.3677, allocations: 75.47 kB / 1.294 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.665e-05/0.3677, allocations: 114 kB / 1.294 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.462e-05/0.3678, allocations: 80.22 kB / 1.294 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.368, allocations: 204.4 kB / 1.294 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.478e-05/0.3681, allocations: 154.9 kB / 1.294 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.792e-05/0.3681, allocations: 154.7 kB / 1.294 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.764e-05/0.3682, allocations: 105 kB / 1.294 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.3682, allocations: 83.27 kB / 1.294 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.081e-05/0.3683, allocations: 150.6 kB / 1.295 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.1e-05/0.3684, allocations: 150.6 kB / 1.295 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.304e-05/0.3685, allocations: 154.5 kB / 1.295 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.3688, allocations: 436.9 kB / 1.295 GB, free: 224 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.3689, allocations: 181.1 kB / 1.295 GB, free: 32 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.764e-05/0.3689, allocations: 84.08 kB / 1.296 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.369, allocations: 75.28 kB / 1.296 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/0.369, allocations: 109.8 kB / 1.296 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.369, allocations: 0 / 1.296 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.494e-05/0.3691, allocations: 37.64 kB / 1.296 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/0.3692, allocations: 130.7 kB / 1.296 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.3693, allocations: 133.8 kB / 1.296 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.3694, allocations: 25.7 kB / 1.296 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/0.3694, allocations: 88.14 kB / 1.296 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.3694, allocations: 0 / 1.296 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.3695, allocations: 17.72 kB / 1.296 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3696, allocations: 318.8 kB / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.57e-05/0.3696, allocations: 8 kB / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.643e-05/0.3696, allocations: 4 kB / 1.296 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.024e-05/0.3697, allocations: 12.8 kB / 1.296 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3697, allocations: 3.938 kB / 1.296 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001411/0.3698, allocations: 57.58 kB / 1.297 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.3698, allocations: 4 kB / 1.297 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.3699, allocations: 4 kB / 1.297 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3699, allocations: 0 / 1.297 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.3699, allocations: 0 / 1.297 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.3699, allocations: 4.062 kB / 1.297 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.084e-05/0.3699, allocations: 0 / 1.297 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.3699, allocations: 4 kB / 1.297 GB, free: 14.86 MB / 0.9981 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.0001076/0.37, allocations: 185.1 kB / 1.297 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.699e-05/0.3701, allocations: 120.9 kB / 1.297 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.529e-05/0.3702, allocations: 104.8 kB / 1.297 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.695e-05/0.3703, allocations: 180.3 kB / 1.297 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.43e-05/0.3703, allocations: 188.2 kB / 1.297 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.312e-05/0.3704, allocations: 180.2 kB / 1.297 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.3707, allocations: 392.2 kB / 1.298 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.901e-05/0.3707, allocations: 101 kB / 1.298 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.3708, allocations: 101 kB / 1.298 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.524e-05/0.3709, allocations: 184.2 kB / 1.298 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.634e-05/0.3709, allocations: 184.2 kB / 1.298 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.319e-05/0.371, allocations: 184.2 kB / 1.299 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.262e-05/0.3711, allocations: 176.3 kB / 1.299 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.3713, allocations: 307.7 kB / 1.299 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/0.3713, allocations: 116.9 kB / 1.299 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.282e-05/0.3714, allocations: 180.2 kB / 1.299 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.905e-05/0.3715, allocations: 112.9 kB / 1.299 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.09e-05/0.3716, allocations: 184.2 kB / 1.3 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.854e-05/0.3717, allocations: 101 kB / 1.3 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.171e-05/0.3717, allocations: 109.8 kB / 1.3 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3717, allocations: 0 / 1.3 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008269/0.3726, allocations: 291 kB / 1.3 GB, free: 11.05 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.001583/0.3741, allocations: 1.183 MB / 1.301 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.3742, allocations: 41.69 kB / 1.301 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3742, allocations: 0 / 1.301 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.3742, allocations: 0 / 1.301 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.3747, allocations: 459.7 kB / 1.302 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.3763, allocations: 1.597 MB / 1.303 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.3766, allocations: 0.6884 MB / 1.304 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.454e-05/0.3766, allocations: 0 / 1.304 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.3767, allocations: 11.44 kB / 1.304 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/0.3767, allocations: 0 / 1.304 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03167/0.4083, allocations: 7.191 MB / 1.311 GB, free: 15.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.72, allocations: 7.375 kB / 1.311 GB, free: 15.95 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.206689831975382] Failed to read output from testmodel.py, exit status != 0: 12.32609795499593 11.911116607 11.538311554 Calling exit ...