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.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 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_9_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_9_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.007214/0.007214, allocations: 102.5 kB / 15.73 MB, free: 5.961 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.001789/0.001789, allocations: 190 kB / 16.67 MB, free: 5.883 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.51/2.51, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 59.31 kB / 0.9505 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.272, allocations: 140.4 MB / 1.088 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002619/0.2747, allocations: 1.436 MB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00444/0.2792, allocations: 2.894 MB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.633e-05/0.2793, allocations: 0 / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/0.2793, allocations: 3.938 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.069e-05/0.2794, allocations: 23.78 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004369/0.2838, allocations: 1.568 MB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.2839, allocations: 47.72 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.284, allocations: 0 / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.535e-05/0.284, allocations: 23.92 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.88e-05/0.2841, allocations: 19.81 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.2841, allocations: 4 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.2867, allocations: 1.529 MB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.2868, allocations: 11.92 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.2868, allocations: 15.88 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002115/0.2889, allocations: 1.1 MB / 1.096 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.289, allocations: 0 / 1.096 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.474e-06/0.289, allocations: 0 / 1.096 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.289, allocations: 4 kB / 1.096 GB, free: 9.262 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.0007824/0.2898, allocations: 0.5185 MB / 1.097 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.2898, allocations: 8.031 kB / 1.097 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.076e-05/0.2899, allocations: 106 kB / 1.097 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.737e-05/0.29, allocations: 84.12 kB / 1.097 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.2902, allocations: 253.2 kB / 1.097 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.023e-05/0.2902, allocations: 154.9 kB / 1.097 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6e-05/0.2903, allocations: 154.9 kB / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7e-05/0.2904, allocations: 108.9 kB / 1.097 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.2904, allocations: 79.27 kB / 1.097 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.095e-05/0.2905, allocations: 154.6 kB / 1.098 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-05/0.2905, allocations: 150.6 kB / 1.098 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.164e-05/0.2906, allocations: 154.6 kB / 1.098 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.2909, allocations: 465.8 kB / 1.098 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.393e-05/0.291, allocations: 169.1 kB / 1.098 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.291, allocations: 80.14 kB / 1.099 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.2911, allocations: 83.22 kB / 1.099 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/0.2911, allocations: 113.8 kB / 1.099 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.2911, allocations: 3.938 kB / 1.099 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.748e-05/0.2912, allocations: 29.69 kB / 1.099 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.2913, allocations: 126.7 kB / 1.099 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.2915, allocations: 135.8 kB / 1.099 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.2915, allocations: 33.64 kB / 1.099 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.2915, allocations: 88.14 kB / 1.099 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.2915, allocations: 4 kB / 1.099 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.2916, allocations: 21.7 kB / 1.099 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2917, allocations: 310.9 kB / 1.099 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.036e-05/0.2918, allocations: 12 kB / 1.099 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.871e-05/0.2918, allocations: 7.938 kB / 1.099 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.304e-05/0.2918, allocations: 16.91 kB / 1.1 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2918, allocations: 8 kB / 1.1 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001422/0.292, allocations: 49.67 kB / 1.1 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.292, allocations: 8 kB / 1.1 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.292, allocations: 0 / 1.1 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.2921, allocations: 0 / 1.1 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.511e-06/0.2921, allocations: 7.938 kB / 1.1 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.2921, allocations: 3.984 kB / 1.1 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.594e-05/0.2921, allocations: 3.906 kB / 1.1 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.2921, allocations: 0 / 1.1 GB, free: 5.379 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.0001049/0.2922, allocations: 185.1 kB / 1.1 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/0.2923, allocations: 112.9 kB / 1.1 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.471e-05/0.2924, allocations: 112.9 kB / 1.1 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-05/0.2924, allocations: 184.2 kB / 1.1 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.131e-05/0.2925, allocations: 176.3 kB / 1.1 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.552e-05/0.2925, allocations: 184.2 kB / 1.1 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.2928, allocations: 417.2 kB / 1.101 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.342e-05/0.2928, allocations: 105 kB / 1.101 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.2929, allocations: 108.9 kB / 1.101 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.053e-05/0.2929, allocations: 176.3 kB / 1.101 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.534e-05/0.293, allocations: 180.2 kB / 1.101 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-05/0.2931, allocations: 180.3 kB / 1.102 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.351e-05/0.2931, allocations: 188.2 kB / 1.102 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.2933, allocations: 303.8 kB / 1.102 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.2933, allocations: 193.9 kB / 1.102 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.359e-05/0.2934, allocations: 180.3 kB / 1.102 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.2935, allocations: 112.9 kB / 1.103 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.2936, allocations: 176.3 kB / 1.103 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/0.2936, allocations: 105 kB / 1.103 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.545e-05/0.2937, allocations: 101 kB / 1.103 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2937, allocations: 0 / 1.103 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008258/0.2945, allocations: 283.7 kB / 1.103 GB, free: 1.469 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.001581/0.2961, allocations: 1.183 MB / 1.104 GB, free: 264 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.2963, allocations: 37.7 kB / 1.104 GB, free: 220 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.2963, allocations: 4.062 kB / 1.104 GB, free: 216 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.372e-06/0.2963, allocations: 368 / 1.104 GB, free: 216 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.2967, allocations: 468.3 kB / 1.105 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.2983, allocations: 1.604 MB / 1.106 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.2985, allocations: 0.6846 MB / 1.107 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.613e-05/0.2986, allocations: 0 / 1.107 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.2986, allocations: 27.36 kB / 1.107 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of SimCode: time 8.41e-07/0.2986, allocations: 0 / 1.107 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.3255, allocations: 7.052 MB / 1.114 GB, free: 6.496 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.371, allocations: 15.56 kB / 1.114 GB, free: 6.48 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)