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.001301/0.001301, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00144/0.00144, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.408/1.408, allocations: 230.6 MB / 256 MB, free: 7.773 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.708/2.708, allocations: 476 MB / 0.7699 GB, free: 4.68 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="me",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="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.002124/0.002124, allocations: 67.75 kB / 1.117 GB, free: 41.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.305, allocations: 170 MB / 1.283 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003006/0.3081, allocations: 1.452 MB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004836/0.3129, allocations: 2.686 MB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.333e-05/0.3129, allocations: 0 / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.038e-05/0.313, allocations: 3.938 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.726e-05/0.3131, allocations: 19.84 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004645/0.3177, allocations: 1.624 MB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.3178, allocations: 43.69 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.3178, allocations: 3.984 kB / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.3179, allocations: 15.94 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.755e-05/0.3179, allocations: 15.94 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.3179, allocations: 4 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002695/0.3206, allocations: 1.478 MB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.3206, allocations: 11.94 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.248e-05/0.3207, allocations: 23.91 kB / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001983/0.3227, allocations: 1.101 MB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3227, allocations: 3.938 kB / 1.291 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3227, allocations: 3.938 kB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.3227, allocations: 0 / 1.291 GB, free: 3.816 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.0007102/0.3234, allocations: 476 kB / 1.291 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3234, allocations: 12.03 kB / 1.291 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.013e-05/0.3235, allocations: 106 kB / 1.291 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.425e-05/0.3236, allocations: 80.17 kB / 1.292 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.3237, allocations: 204.3 kB / 1.292 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/0.3238, allocations: 150.9 kB / 1.292 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.504e-05/0.3238, allocations: 150.9 kB / 1.292 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.454e-05/0.3239, allocations: 108.9 kB / 1.292 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.324, allocations: 75.28 kB / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/0.324, allocations: 154.5 kB / 1.292 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.868e-05/0.3241, allocations: 154.6 kB / 1.293 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.192e-05/0.3241, allocations: 150.6 kB / 1.293 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.3245, allocations: 441 kB / 1.293 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.309e-05/0.3245, allocations: 169.1 kB / 1.293 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.959e-05/0.3246, allocations: 80.14 kB / 1.293 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/0.3246, allocations: 91.14 kB / 1.293 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/0.3247, allocations: 105.8 kB / 1.294 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/0.3247, allocations: 0 / 1.294 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.917e-05/0.3248, allocations: 33.66 kB / 1.294 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.3248, allocations: 126.7 kB / 1.294 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.325, allocations: 133.8 kB / 1.294 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.325, allocations: 29.7 kB / 1.294 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.325, allocations: 92.12 kB / 1.294 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.325, allocations: 0 / 1.294 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.3251, allocations: 25.66 kB / 1.294 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3252, allocations: 318.8 kB / 1.294 GB, free: 232 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/0.3252, allocations: 4 kB / 1.294 GB, free: 228 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.205e-05/0.3253, allocations: 7.938 kB / 1.294 GB, free: 220 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.227e-05/0.3253, allocations: 12.86 kB / 1.294 GB, free: 204 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3253, allocations: 0 / 1.294 GB, free: 204 kB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000136/0.3255, allocations: 57.58 kB / 1.294 GB, free: 140 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3255, allocations: 8.062 kB / 1.294 GB, free: 132 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.3255, allocations: 4.062 kB / 1.294 GB, free: 128 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3255, allocations: 4 kB / 1.294 GB, free: 124 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.3255, allocations: 0 / 1.294 GB, free: 124 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3255, allocations: 4 kB / 1.294 GB, free: 120 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.656e-05/0.3255, allocations: 3.953 kB / 1.294 GB, free: 116 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.3255, allocations: 3.984 kB / 1.294 GB, free: 112 kB / 0.9825 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.0001315/0.3257, allocations: 189.1 kB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.3257, allocations: 108.9 kB / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.797e-05/0.3258, allocations: 120.8 kB / 1.295 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.088e-05/0.3259, allocations: 184.2 kB / 1.295 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.463e-05/0.3259, allocations: 180.3 kB / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.278e-05/0.326, allocations: 180.3 kB / 1.295 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.3263, allocations: 392.2 kB / 1.296 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.465e-05/0.3263, allocations: 101 kB / 1.296 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.554e-05/0.3264, allocations: 108.9 kB / 1.296 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.226e-05/0.3264, allocations: 180.3 kB / 1.296 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.216e-05/0.3265, allocations: 176.3 kB / 1.296 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.483e-05/0.3266, allocations: 188.2 kB / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.056e-05/0.3267, allocations: 176.3 kB / 1.297 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.3268, allocations: 315.7 kB / 1.297 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.3269, allocations: 112.9 kB / 1.297 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.518e-05/0.327, allocations: 184.2 kB / 1.297 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.168e-05/0.327, allocations: 101 kB / 1.297 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.382e-05/0.3271, allocations: 184.2 kB / 1.297 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/0.3272, allocations: 109 kB / 1.297 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.172e-05/0.3272, allocations: 101.3 kB / 1.298 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3272, allocations: 0 / 1.298 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008134/0.3281, allocations: 298.9 kB / 1.298 GB, free: 12.3 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.001585/0.3296, allocations: 1.195 MB / 1.299 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.3297, allocations: 33.7 kB / 1.299 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3297, allocations: 0 / 1.299 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/0.3298, allocations: 0 / 1.299 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.3302, allocations: 465.4 kB / 1.3 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.3318, allocations: 1.621 MB / 1.301 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.968e-05/0.3319, allocations: 63.59 kB / 1.301 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.722e-05/0.3319, allocations: 4 kB / 1.301 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.3319, allocations: 19.42 kB / 1.301 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of SimCode: time 7.02e-07/0.3319, allocations: 0 / 1.301 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03868/0.3706, allocations: 7.809 MB / 1.309 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.76, allocations: 11.89 kB / 1.309 GB, free: 1.152 MB / 0.9981 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.09756675362587] Failed to read output from testmodel.py, exit status != 0: 12.35802045231685 11.880877166 11.554902094 Calling exit ...