Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007877/0.007877, allocations: 101.5 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 188.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.495/2.495, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 67.34 kB / 0.9505 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.282, allocations: 140.4 MB / 1.088 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002915/0.285, allocations: 1.429 MB / 1.089 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004673/0.2897, allocations: 2.85 MB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.487e-05/0.2898, allocations: 4 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.46e-05/0.2899, allocations: 3.938 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.634e-05/0.29, allocations: 11.86 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004483/0.2945, allocations: 1.552 MB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.2946, allocations: 39.73 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.2947, allocations: 8 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.269e-05/0.2947, allocations: 15.92 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.973e-05/0.2948, allocations: 15.88 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.2948, allocations: 4 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002711/0.2975, allocations: 1.486 MB / 1.095 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.2976, allocations: 8 kB / 1.095 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.2976, allocations: 15.88 kB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002395/0.3, allocations: 1.069 MB / 1.096 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3, allocations: 0 / 1.096 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.444e-06/0.3, allocations: 4 kB / 1.096 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.3001, allocations: 4 kB / 1.096 GB, free: 9.469 MB / 0.8575 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.0008538/0.3009, allocations: 0.5145 MB / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.301, allocations: 8.031 kB / 1.096 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.76e-05/0.3011, allocations: 110 kB / 1.096 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.388e-05/0.3012, allocations: 84.12 kB / 1.097 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.3013, allocations: 253.5 kB / 1.097 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.05e-05/0.3014, allocations: 154.9 kB / 1.097 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.857e-05/0.3015, allocations: 154.9 kB / 1.097 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.526e-05/0.3016, allocations: 108.9 kB / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.3016, allocations: 79.22 kB / 1.097 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/0.3017, allocations: 150.6 kB / 1.097 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.222e-05/0.3017, allocations: 150.6 kB / 1.098 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.174e-05/0.3018, allocations: 158.5 kB / 1.098 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.3021, allocations: 461.9 kB / 1.098 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.268e-05/0.3022, allocations: 165.1 kB / 1.098 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.3022, allocations: 80.14 kB / 1.098 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.3023, allocations: 83.22 kB / 1.098 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.3023, allocations: 113.8 kB / 1.099 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.3023, allocations: 0 / 1.099 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.82e-05/0.3024, allocations: 33.55 kB / 1.099 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.3025, allocations: 134.7 kB / 1.099 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.3026, allocations: 125.8 kB / 1.099 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.3026, allocations: 25.7 kB / 1.099 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.3027, allocations: 96.05 kB / 1.099 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/0.3027, allocations: 0 / 1.099 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.3027, allocations: 17.72 kB / 1.099 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3029, allocations: 318.8 kB / 1.099 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.702e-05/0.3029, allocations: 4 kB / 1.099 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.014e-05/0.3029, allocations: 8 kB / 1.099 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.744e-05/0.303, allocations: 8.859 kB / 1.099 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.303, allocations: 0 / 1.099 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001373/0.3031, allocations: 57.66 kB / 1.099 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.3031, allocations: 14.03 kB / 1.099 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/0.3032, allocations: 0 / 1.099 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3032, allocations: 0 / 1.099 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.3032, allocations: 0 / 1.099 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3032, allocations: 4 kB / 1.099 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.582e-05/0.3032, allocations: 7.844 kB / 1.099 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.3032, allocations: 0 / 1.099 GB, free: 5.609 MB / 0.8575 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.0001196/0.3034, allocations: 185.2 kB / 1.1 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.3034, allocations: 116.9 kB / 1.1 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.663e-05/0.3035, allocations: 116.8 kB / 1.1 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.617e-05/0.3036, allocations: 176.3 kB / 1.1 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.672e-05/0.3036, allocations: 188.1 kB / 1.1 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-05/0.3037, allocations: 176.3 kB / 1.1 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.3039, allocations: 429 kB / 1.101 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.622e-05/0.304, allocations: 101 kB / 1.101 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.425e-05/0.304, allocations: 105 kB / 1.101 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.357e-05/0.3041, allocations: 184.2 kB / 1.101 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-05/0.3041, allocations: 176.3 kB / 1.101 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.518e-05/0.3042, allocations: 184.2 kB / 1.101 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.223e-05/0.3043, allocations: 184.3 kB / 1.102 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.3044, allocations: 315.6 kB / 1.102 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.416e-05/0.3045, allocations: 182 kB / 1.102 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.091e-05/0.3046, allocations: 184.2 kB / 1.102 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.858e-05/0.3047, allocations: 109 kB / 1.102 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.3048, allocations: 180.3 kB / 1.103 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.3048, allocations: 108.9 kB / 1.103 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.396e-05/0.3049, allocations: 99.27 kB / 1.103 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3049, allocations: 0 / 1.103 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008696/0.3057, allocations: 275.8 kB / 1.103 GB, free: 1.688 MB / 0.8575 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.001683/0.3074, allocations: 1.156 MB / 1.104 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.3076, allocations: 41.64 kB / 1.104 GB, free: 472 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3076, allocations: 0 / 1.104 GB, free: 472 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.085e-06/0.3076, allocations: 0 / 1.104 GB, free: 472 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.308, allocations: 468.9 kB / 1.105 GB, free: 0 / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.3097, allocations: 1.577 MB / 1.106 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.3099, allocations: 0.6807 MB / 1.107 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.06e-05/0.31, allocations: 0 / 1.107 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.31, allocations: 23.45 kB / 1.107 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of SimCode: time 7.72e-07/0.31, allocations: 0 / 1.107 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.3359, allocations: 6.881 MB / 1.114 GB, free: 6.945 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.212/8.548, allocations: 10.03 kB / 1.114 GB, free: 6.938 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)