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.InternalResistancesTwoUTube.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.001776/0.001776, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.00226/0.00226, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.659/2.659, allocations: 476.8 MB / 0.7715 GB, free: 3.902 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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.002003/0.002003, allocations: 62.97 kB / 1.118 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3188, allocations: 169.9 MB / 1.284 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003129/0.3219, allocations: 1.45 MB / 1.286 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005012/0.3269, allocations: 2.674 MB / 1.288 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.61e-05/0.327, allocations: 4 kB / 1.288 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.391e-05/0.327, allocations: 7.922 kB / 1.288 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.912e-05/0.3271, allocations: 11.86 kB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005271/0.3324, allocations: 1.649 MB / 1.29 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.3325, allocations: 39.73 kB / 1.29 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.86e-05/0.3326, allocations: 4 kB / 1.29 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.966e-05/0.3326, allocations: 19.91 kB / 1.29 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.742e-05/0.3327, allocations: 19.88 kB / 1.29 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.3327, allocations: 0 / 1.29 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00335/0.336, allocations: 1.591 MB / 1.291 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.336, allocations: 0 / 1.291 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.279e-05/0.3361, allocations: 27.75 kB / 1.291 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002615/0.3387, allocations: 1.103 MB / 1.293 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3387, allocations: 0 / 1.293 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3387, allocations: 0 / 1.293 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.3387, allocations: 4 kB / 1.293 GB, free: 10.71 MB / 0.9981 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.0008879/0.3396, allocations: 479.9 kB / 1.293 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.3397, allocations: 8.031 kB / 1.293 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.936e-05/0.3397, allocations: 83.47 kB / 1.293 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.564e-05/0.3398, allocations: 106 kB / 1.293 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.438e-05/0.3399, allocations: 84.11 kB / 1.293 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.34, allocations: 197.6 kB / 1.293 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.558e-05/0.3401, allocations: 150.9 kB / 1.294 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.965e-05/0.3402, allocations: 154.7 kB / 1.294 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.926e-05/0.3403, allocations: 113 kB / 1.294 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/0.3403, allocations: 75.28 kB / 1.294 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-05/0.3404, allocations: 154.5 kB / 1.294 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-05/0.3404, allocations: 150.6 kB / 1.294 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.674e-05/0.3405, allocations: 150.6 kB / 1.294 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.3409, allocations: 441 kB / 1.295 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.341, allocations: 165.1 kB / 1.295 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.387e-05/0.341, allocations: 84.08 kB / 1.295 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.341, allocations: 75.28 kB / 1.295 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.646e-05/0.3411, allocations: 117.8 kB / 1.295 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.3411, allocations: 0 / 1.295 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001008/0.3412, allocations: 41.64 kB / 1.295 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/0.3413, allocations: 126.7 kB / 1.295 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.3415, allocations: 132 kB / 1.296 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3415, allocations: 29.7 kB / 1.296 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.3415, allocations: 92.14 kB / 1.296 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.3415, allocations: 0 / 1.296 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.3416, allocations: 21.7 kB / 1.296 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3417, allocations: 314.8 kB / 1.296 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.925e-05/0.3418, allocations: 8 kB / 1.296 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.151e-05/0.3418, allocations: 7.984 kB / 1.296 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.65e-05/0.3418, allocations: 12.86 kB / 1.296 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3418, allocations: 0 / 1.296 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001694/0.342, allocations: 57.53 kB / 1.296 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.342, allocations: 4 kB / 1.296 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/0.342, allocations: 4 kB / 1.296 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3421, allocations: 4.062 kB / 1.296 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.096e-06/0.3421, allocations: 3.984 kB / 1.296 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.3421, allocations: 0 / 1.296 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.925e-05/0.3421, allocations: 11.89 kB / 1.296 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.3421, allocations: 0 / 1.296 GB, free: 6.922 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.0001217/0.3422, allocations: 189.1 kB / 1.296 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.287e-05/0.3423, allocations: 104.9 kB / 1.296 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.477e-05/0.3424, allocations: 116.7 kB / 1.296 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.697e-05/0.3424, allocations: 180.2 kB / 1.297 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.982e-05/0.3425, allocations: 184.2 kB / 1.297 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.513e-05/0.3426, allocations: 180.3 kB / 1.297 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.3429, allocations: 388.2 kB / 1.297 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.952e-05/0.3429, allocations: 105 kB / 1.297 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.771e-05/0.343, allocations: 109 kB / 1.298 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.919e-05/0.343, allocations: 184.2 kB / 1.298 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.127e-05/0.3431, allocations: 176.3 kB / 1.298 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-05/0.3432, allocations: 184.3 kB / 1.298 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.157e-05/0.3433, allocations: 180.2 kB / 1.298 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.3435, allocations: 315.6 kB / 1.299 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.3435, allocations: 112.9 kB / 1.299 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.644e-05/0.3436, allocations: 184.2 kB / 1.299 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.214e-05/0.3437, allocations: 109 kB / 1.299 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.3438, allocations: 176.3 kB / 1.299 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.011e-05/0.3438, allocations: 108.9 kB / 1.299 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.069e-05/0.3439, allocations: 101.8 kB / 1.299 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3439, allocations: 0 / 1.299 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000946/0.3448, allocations: 295 kB / 1.3 GB, free: 3.121 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.001869/0.3467, allocations: 1.194 MB / 1.301 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.3468, allocations: 45.62 kB / 1.301 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3468, allocations: 0 / 1.301 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.304e-06/0.3468, allocations: 0 / 1.301 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004665/0.3473, allocations: 459.7 kB / 1.301 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.349, allocations: 1.614 MB / 1.303 GB, free: 15.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.179e-05/0.3491, allocations: 75.58 kB / 1.303 GB, free: 15.61 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.662e-05/0.3491, allocations: 0 / 1.303 GB, free: 15.61 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.3491, allocations: 11.44 kB / 1.303 GB, free: 15.6 MB / 1.014 GB Notification: Performance of SimCode: time 4.71e-07/0.3491, allocations: 0 / 1.303 GB, free: 15.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03085/0.38, allocations: 7.472 MB / 1.31 GB, free: 8.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.13, allocations: 9.969 kB / 1.31 GB, free: 8.312 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.39716552605387] Failed to read output from testmodel.py, exit status != 0: 12.297069340012968 12.325175263 11.980998288 Calling exit ...