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.001754/0.001754, 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.002122/0.002122, allocations: 218.7 kB / 23.04 MB, free: 5.074 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.725/2.725, allocations: 476.7 MB / 0.7715 GB, free: 4.293 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.002044/0.002044, allocations: 62.31 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3017, allocations: 169.9 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.InternalResistancesTwoUTube): time 0.002659/0.3043, allocations: 1.478 MB / 1.286 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00469/0.309, allocations: 3.005 MB / 1.289 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.984e-05/0.3091, allocations: 0 / 1.289 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.3091, allocations: 7.922 kB / 1.289 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.063e-05/0.3092, allocations: 11.86 kB / 1.289 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004321/0.3135, allocations: 1.711 MB / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.3136, allocations: 43.67 kB / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.3136, allocations: 4 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.268e-05/0.3136, allocations: 19.92 kB / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.989e-05/0.3137, allocations: 15.94 kB / 1.29 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.3137, allocations: 0 / 1.29 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002833/0.3165, allocations: 1.767 MB / 1.292 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.3165, allocations: 3.938 kB / 1.292 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.3166, allocations: 19.88 kB / 1.292 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.3185, allocations: 1.15 MB / 1.293 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3185, allocations: 0 / 1.293 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3185, allocations: 3.938 kB / 1.293 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3185, allocations: 0 / 1.293 GB, free: 2.477 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.0006952/0.3192, allocations: 476 kB / 1.294 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3192, allocations: 8.031 kB / 1.294 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.581e-05/0.3193, allocations: 83.41 kB / 1.294 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.527e-05/0.3193, allocations: 106 kB / 1.294 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.066e-05/0.3194, allocations: 80.17 kB / 1.294 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.3196, allocations: 209.6 kB / 1.294 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/0.3196, allocations: 154.9 kB / 1.294 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.185e-05/0.3197, allocations: 154.7 kB / 1.294 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.745e-05/0.3198, allocations: 101 kB / 1.295 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/0.3198, allocations: 75.28 kB / 1.295 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/0.3199, allocations: 150.6 kB / 1.295 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.818e-05/0.3199, allocations: 150.6 kB / 1.295 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.734e-05/0.32, allocations: 166.5 kB / 1.295 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.3203, allocations: 433 kB / 1.295 GB, free: 60 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.3204, allocations: 169.1 kB / 1.296 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.85e-05/0.3205, allocations: 84.08 kB / 1.296 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.3205, allocations: 79.28 kB / 1.296 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.3205, allocations: 105.8 kB / 1.296 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.3205, allocations: 0 / 1.296 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.902e-05/0.3206, allocations: 41.58 kB / 1.296 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.3207, allocations: 126.7 kB / 1.296 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.3208, allocations: 140.7 kB / 1.296 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.3209, allocations: 25.7 kB / 1.296 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.3209, allocations: 88.14 kB / 1.296 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.3209, allocations: 0 / 1.296 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.321, allocations: 29.64 kB / 1.296 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3211, allocations: 314.8 kB / 1.297 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/0.3211, allocations: 4 kB / 1.297 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.664e-05/0.3211, allocations: 4 kB / 1.297 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.085e-05/0.3212, allocations: 16.84 kB / 1.297 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3212, allocations: 0 / 1.297 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001318/0.3213, allocations: 65.62 kB / 1.297 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3213, allocations: 4 kB / 1.297 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.3213, allocations: 4 kB / 1.297 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.3213, allocations: 0 / 1.297 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.056e-06/0.3213, allocations: 4 kB / 1.297 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.3213, allocations: 0 / 1.297 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.3214, allocations: 0 / 1.297 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.3214, allocations: 3.938 kB / 1.297 GB, free: 14.69 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.000114/0.3215, allocations: 197 kB / 1.297 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.117e-05/0.3216, allocations: 112.9 kB / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.852e-05/0.3216, allocations: 112.8 kB / 1.297 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-05/0.3217, allocations: 176.3 kB / 1.297 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-05/0.3218, allocations: 184.2 kB / 1.297 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.678e-05/0.3218, allocations: 184.3 kB / 1.298 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.3221, allocations: 388.2 kB / 1.298 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.261e-05/0.3221, allocations: 105 kB / 1.298 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.126e-05/0.3222, allocations: 101 kB / 1.298 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001032/0.3223, allocations: 188.2 kB / 1.298 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.672e-05/0.3224, allocations: 176.3 kB / 1.299 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.252e-05/0.3225, allocations: 184.2 kB / 1.299 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-05/0.3226, allocations: 180.3 kB / 1.299 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.3227, allocations: 315.6 kB / 1.299 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.3228, allocations: 108.9 kB / 1.299 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-05/0.3229, allocations: 184.2 kB / 1.299 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.926e-05/0.323, allocations: 105 kB / 1.3 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/0.323, allocations: 188.2 kB / 1.3 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.663e-05/0.3231, allocations: 104.9 kB / 1.3 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.654e-05/0.3232, allocations: 99.27 kB / 1.3 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3232, allocations: 0 / 1.3 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008303/0.324, allocations: 295 kB / 1.3 GB, free: 10.88 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.001648/0.3256, allocations: 1.19 MB / 1.301 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.3258, allocations: 37.64 kB / 1.301 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3258, allocations: 12 kB / 1.301 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.867e-06/0.3258, allocations: 3.984 kB / 1.301 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.3262, allocations: 463.7 kB / 1.302 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.3279, allocations: 1.615 MB / 1.303 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.3282, allocations: 0.6885 MB / 1.304 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.699e-05/0.3282, allocations: 0 / 1.304 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.3283, allocations: 19.44 kB / 1.304 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.3283, allocations: 0 / 1.304 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03036/0.3586, allocations: 7.381 MB / 1.311 GB, free: 15.53 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.79, allocations: 9.625 kB / 1.311 GB, free: 15.52 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.331755220948253] Failed to read output from testmodel.py, exit status != 0: 12.40258370700758 11.967425348 11.645471893 Calling exit ...