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.001947/0.001947, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002576/0.002576, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.992 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.801/2.801, allocations: 476.8 MB / 0.7707 GB, free: 4.281 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="me",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="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.002017/0.002017, allocations: 67.23 kB / 1.117 GB, free: 40.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3097, allocations: 170 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002898/0.3126, allocations: 1.466 MB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004936/0.3175, allocations: 2.948 MB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.3175, allocations: 3.938 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.3176, allocations: 3.938 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.014e-05/0.3177, allocations: 23.84 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00443/0.3221, allocations: 1.684 MB / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.3222, allocations: 43.67 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.3222, allocations: 4 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.376e-05/0.3223, allocations: 15.92 kB / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.941e-05/0.3223, allocations: 11.88 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.3223, allocations: 4 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002849/0.3252, allocations: 1.716 MB / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.3252, allocations: 7.922 kB / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.513e-05/0.3252, allocations: 23.88 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001927/0.3271, allocations: 1.125 MB / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3271, allocations: 0 / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3271, allocations: 0 / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.3272, allocations: 0 / 1.292 GB, free: 2.582 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.0007453/0.3279, allocations: 472 kB / 1.293 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3279, allocations: 8.031 kB / 1.293 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.259e-05/0.328, allocations: 106 kB / 1.293 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.986e-05/0.3281, allocations: 80.22 kB / 1.293 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.3282, allocations: 197.7 kB / 1.293 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.631e-05/0.3283, allocations: 150.9 kB / 1.293 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.671e-05/0.3284, allocations: 150.9 kB / 1.293 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.612e-05/0.3285, allocations: 112.9 kB / 1.294 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.914e-05/0.3285, allocations: 75.28 kB / 1.294 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.707e-05/0.3286, allocations: 154.6 kB / 1.294 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.255e-05/0.3287, allocations: 154.6 kB / 1.294 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.548e-05/0.3287, allocations: 150.6 kB / 1.294 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.3291, allocations: 433 kB / 1.294 GB, free: 272 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.3292, allocations: 177.1 kB / 1.295 GB, free: 84 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.3292, allocations: 80.14 kB / 1.295 GB, free: 0 / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.388e-05/0.3293, allocations: 79.22 kB / 1.295 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.316e-05/0.3293, allocations: 113.8 kB / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3293, allocations: 0 / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.378e-05/0.3294, allocations: 29.69 kB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.788e-05/0.3295, allocations: 142.6 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.3297, allocations: 136.4 kB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.3297, allocations: 25.7 kB / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.3297, allocations: 88.14 kB / 1.295 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.3297, allocations: 0 / 1.295 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.3298, allocations: 21.7 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3299, allocations: 318.8 kB / 1.296 GB, free: 15 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.647e-05/0.33, allocations: 4 kB / 1.296 GB, free: 15 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.827e-05/0.33, allocations: 8 kB / 1.296 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.777e-05/0.33, allocations: 12.86 kB / 1.296 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.33, allocations: 3.984 kB / 1.296 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001313/0.3301, allocations: 53.53 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3302, allocations: 8 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.3302, allocations: 0 / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3302, allocations: 0 / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.3302, allocations: 4 kB / 1.296 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.3302, allocations: 0 / 1.296 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.127e-05/0.3302, allocations: 0 / 1.296 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.3302, allocations: 7.984 kB / 1.296 GB, free: 14.89 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.0001046/0.3303, allocations: 189.1 kB / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.3304, allocations: 112.9 kB / 1.296 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.15e-05/0.3305, allocations: 108.8 kB / 1.296 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.244e-05/0.3305, allocations: 188.2 kB / 1.296 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.755e-05/0.3306, allocations: 180.2 kB / 1.296 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.051e-05/0.3307, allocations: 188.2 kB / 1.297 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.331, allocations: 380.2 kB / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.405e-05/0.331, allocations: 105 kB / 1.297 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.036e-05/0.3311, allocations: 108.9 kB / 1.297 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.668e-05/0.3311, allocations: 180.2 kB / 1.297 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-05/0.3312, allocations: 184.2 kB / 1.298 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.666e-05/0.3313, allocations: 180.3 kB / 1.298 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.516e-05/0.3314, allocations: 176.3 kB / 1.298 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.3315, allocations: 311.7 kB / 1.298 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.3316, allocations: 112.9 kB / 1.298 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.279e-05/0.3317, allocations: 180.3 kB / 1.298 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.591e-05/0.3318, allocations: 101 kB / 1.299 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.838e-05/0.3319, allocations: 196.1 kB / 1.299 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.555e-05/0.3319, allocations: 105 kB / 1.299 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.834e-05/0.332, allocations: 95.27 kB / 1.299 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.332, allocations: 0 / 1.299 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008392/0.3328, allocations: 291 kB / 1.299 GB, free: 11.1 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.001546/0.3344, allocations: 1.185 MB / 1.3 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.464e-05/0.3344, allocations: 33.7 kB / 1.3 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3344, allocations: 4 kB / 1.3 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.235e-06/0.3345, allocations: 0 / 1.3 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.3349, allocations: 468.3 kB / 1.301 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.3365, allocations: 1.593 MB / 1.302 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.3368, allocations: 0.6845 MB / 1.303 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.469e-05/0.3368, allocations: 3.938 kB / 1.303 GB, free: 7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.3369, allocations: 19.44 kB / 1.303 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.3369, allocations: 0 / 1.303 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03662/0.3735, allocations: 7.157 MB / 1.31 GB, free: 8 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.4, allocations: 0.5 kB / 1.31 GB, free: 8 kB / 0.9981 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: 17.97350565996021] Failed to read output from testmodel.py, exit status != 0: 11.97032602620311 11.530045979 11.198980709 Calling exit ...