Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.00169/0.00169, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00217/0.00217, allocations: 190.5 kB / 16.66 MB, free: 6.59 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.694/2.694, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2825, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00259/0.2852, allocations: 1.438 MB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004538/0.2897, allocations: 2.895 MB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.031e-05/0.2898, allocations: 0 / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.2899, allocations: 11.92 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.207e-05/0.29, allocations: 15.86 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004404/0.2944, allocations: 1.604 MB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.2945, allocations: 39.73 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.2946, allocations: 7.938 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.42e-05/0.2946, allocations: 19.92 kB / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.118e-05/0.2946, allocations: 15.88 kB / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.2947, allocations: 0 / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/0.2975, allocations: 1.533 MB / 1.174 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.2975, allocations: 4 kB / 1.174 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/0.2976, allocations: 23.86 kB / 1.174 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00222/0.2998, allocations: 1.118 MB / 1.175 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.2998, allocations: 0 / 1.175 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2998, allocations: 3.938 kB / 1.175 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.2999, allocations: 0 / 1.175 GB, free: 14.53 MB / 0.9356 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.0007639/0.3006, allocations: 0.5247 MB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3007, allocations: 12.03 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.388e-05/0.3008, allocations: 106 kB / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.723e-05/0.3008, allocations: 84.17 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.301, allocations: 251.5 kB / 1.176 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.131e-05/0.3011, allocations: 150.9 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.562e-05/0.3012, allocations: 158.9 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.068e-05/0.3013, allocations: 112.9 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.428e-05/0.3013, allocations: 75.28 kB / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.355e-05/0.3014, allocations: 154.6 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.173e-05/0.3015, allocations: 150.6 kB / 1.176 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.581e-05/0.3015, allocations: 150.6 kB / 1.177 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.3019, allocations: 465.9 kB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.302, allocations: 169.1 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.302, allocations: 80.14 kB / 1.177 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.376e-05/0.3021, allocations: 79.22 kB / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.164e-05/0.3022, allocations: 117.8 kB / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3022, allocations: 0 / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.574e-05/0.3023, allocations: 33.64 kB / 1.178 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/0.3023, allocations: 126.7 kB / 1.178 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.3025, allocations: 135.8 kB / 1.178 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.3025, allocations: 29.7 kB / 1.178 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.3026, allocations: 92.09 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.3026, allocations: 0 / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.3026, allocations: 21.75 kB / 1.178 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3028, allocations: 318.8 kB / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.665e-05/0.3028, allocations: 8 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.8e-05/0.3029, allocations: 7.938 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.391e-05/0.3029, allocations: 20.84 kB / 1.178 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3029, allocations: 64 / 1.178 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001296/0.303, allocations: 49.64 kB / 1.178 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3031, allocations: 8 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.3031, allocations: 0 / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3031, allocations: 7.938 kB / 1.178 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.3031, allocations: 4.062 kB / 1.178 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.3031, allocations: 0 / 1.178 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.803e-05/0.3032, allocations: 7.938 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.3032, allocations: 0 / 1.178 GB, free: 10.64 MB / 0.9356 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.0001251/0.3033, allocations: 185.1 kB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.599e-05/0.3034, allocations: 112.9 kB / 1.179 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.35e-05/0.3035, allocations: 112.8 kB / 1.179 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-05/0.3036, allocations: 184.2 kB / 1.179 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.133e-05/0.3036, allocations: 184.2 kB / 1.179 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.262e-05/0.3037, allocations: 180.2 kB / 1.179 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.304, allocations: 417.2 kB / 1.18 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.948e-05/0.3041, allocations: 104.9 kB / 1.18 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.3042, allocations: 109 kB / 1.18 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.559e-05/0.3042, allocations: 176.3 kB / 1.18 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-05/0.3043, allocations: 188.2 kB / 1.18 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.121e-05/0.3044, allocations: 176.3 kB / 1.18 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.022e-05/0.3045, allocations: 184.2 kB / 1.181 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.3047, allocations: 307.8 kB / 1.181 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.3048, allocations: 194 kB / 1.181 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.266e-05/0.3049, allocations: 180.3 kB / 1.181 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.499e-05/0.305, allocations: 108.9 kB / 1.181 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/0.3051, allocations: 180.3 kB / 1.181 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.756e-05/0.3051, allocations: 105 kB / 1.182 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.425e-05/0.3052, allocations: 105.5 kB / 1.182 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.404e-06/0.3052, allocations: 0 / 1.182 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00087/0.3061, allocations: 290.9 kB / 1.182 GB, free: 6.711 MB / 0.9356 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.001616/0.3077, allocations: 1.19 MB / 1.183 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001189/0.3078, allocations: 37.7 kB / 1.183 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3079, allocations: 0 / 1.183 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.829e-06/0.3079, allocations: 3.938 kB / 1.183 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.3083, allocations: 471.7 kB / 1.184 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.3099, allocations: 1.588 MB / 1.185 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.3103, allocations: 0.6807 MB / 1.186 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.035e-05/0.3103, allocations: 3.938 kB / 1.186 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.3103, allocations: 23.42 kB / 1.186 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of SimCode: time 7.32e-07/0.3103, allocations: 4.031 kB / 1.186 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/0.3408, allocations: 7.082 MB / 1.193 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.289/8.63, allocations: 10.75 kB / 1.193 GB, free: 11.7 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)